summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sec-keys/openpgp-keys-nettle/Manifest1
-rw-r--r--sec-keys/openpgp-keys-nettle/metadata.xml8
-rw-r--r--sec-keys/openpgp-keys-nettle/openpgp-keys-nettle-20220603.ebuild21
3 files changed, 30 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-nettle/Manifest b/sec-keys/openpgp-keys-nettle/Manifest
new file mode 100644
index 000000000000..dae6f7501f08
--- /dev/null
+++ b/sec-keys/openpgp-keys-nettle/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-nettle-20220603-F3599FF828C67298.asc 2115 BLAKE2B 51f9a15b1f75f0450288c41f6a6634c1c5732699047217ca952bdf378cb211dca753c5e412615af5c2ee61aac75c7488ff6a444a993cf1c6fc4fab111c5214d7 SHA512 6b884406794d60b5ceb717b8bd39466caf3fab87bae065f0d73ff8c3b1d19522028015af213d377fdebe246a0f72c71b5f9934f2c33a42463cb083cdd1f02dea
diff --git a/sec-keys/openpgp-keys-nettle/metadata.xml b/sec-keys/openpgp-keys-nettle/metadata.xml
new file mode 100644
index 000000000000..9d1e1420e381
--- /dev/null
+++ b/sec-keys/openpgp-keys-nettle/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <name>Gentoo Base System</name>
+ <email>base-system@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-nettle/openpgp-keys-nettle-20220603.ebuild b/sec-keys/openpgp-keys-nettle/openpgp-keys-nettle-20220603.ebuild
new file mode 100644
index 000000000000..fcfcdf51626e
--- /dev/null
+++ b/sec-keys/openpgp-keys-nettle/openpgp-keys-nettle-20220603.ebuild
@@ -0,0 +1,21 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP keys used by Niels Möller (to sign nettle releases)"
+HOMEPAGE="https://www.lysator.liu.se/~nisse/"
+# Had to grab from keyserver.ubuntu.com
+SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-F3599FF828C67298.asc"
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+src_install() {
+ local files=( ${A} )
+
+ insinto /usr/share/openpgp-keys
+ newins - nettle.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}