summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-16 04:27:36 +0000
committerSam James <sam@gentoo.org>2021-04-16 04:35:56 +0000
commitc06ff9d244673add8a4ddf4b5a0d1976b1720dad (patch)
treeffbfe158d16561da34c65d875aca09de8ab1c71a /app-crypt
parentnet-misc/chrony: drop 4.0 (diff)
downloadgentoo-c06ff9d244673add8a4ddf4b5a0d1976b1720dad.tar.gz
gentoo-c06ff9d244673add8a4ddf4b5a0d1976b1720dad.tar.bz2
gentoo-c06ff9d244673add8a4ddf4b5a0d1976b1720dad.zip
app-crypt/openpgp-keys-nmap: initial import
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/openpgp-keys-nmap/Manifest1
-rw-r--r--app-crypt/openpgp-keys-nmap/metadata.xml9
-rw-r--r--app-crypt/openpgp-keys-nmap/openpgp-keys-nmap-20210416.ebuild20
3 files changed, 30 insertions, 0 deletions
diff --git a/app-crypt/openpgp-keys-nmap/Manifest b/app-crypt/openpgp-keys-nmap/Manifest
new file mode 100644
index 000000000000..caa0838ae3d2
--- /dev/null
+++ b/app-crypt/openpgp-keys-nmap/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-nmap-20210416.asc 4977 BLAKE2B 7c9c7d40fe7d70ba58c91acaaf7f265847447001f2208c8bab310312a67bb35c8fdc9f089e477e55c247ae928b6e76b45735b8ad94859b20b0d95f298a80602f SHA512 ab9dddbedb7c74697ae1ec68e456e3d607c057b4ca9a3bf0269a9fde0289e81031ec15718da2686aa7a68b5428e95042072c53f93925439ba6b60abf43e61317
diff --git a/app-crypt/openpgp-keys-nmap/metadata.xml b/app-crypt/openpgp-keys-nmap/metadata.xml
new file mode 100644
index 000000000000..a1af484833bd
--- /dev/null
+++ b/app-crypt/openpgp-keys-nmap/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <stabilize-allarches/>
+</pkgmetadata>
diff --git a/app-crypt/openpgp-keys-nmap/openpgp-keys-nmap-20210416.ebuild b/app-crypt/openpgp-keys-nmap/openpgp-keys-nmap-20210416.ebuild
new file mode 100644
index 000000000000..032da040b185
--- /dev/null
+++ b/app-crypt/openpgp-keys-nmap/openpgp-keys-nmap-20210416.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP keys used to sign Nmap releases"
+HOMEPAGE="https://svn.nmap.org/nmap/docs/nmap_gpgkeys.txt"
+SRC_URI="https://svn.nmap.org/nmap/docs/nmap_gpgkeys.txt -> ${P}.asc"
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+
+src_install() {
+ local files=( ${A} )
+
+ insinto /usr/share/openpgp-keys
+ newins - nmap.asc < <(cat "${files[@]/#/${DISTDIR}/}")
+}