summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sec-keys/openpgp-keys-danielstenberg/Manifest1
-rw-r--r--sec-keys/openpgp-keys-danielstenberg/metadata.xml8
-rw-r--r--sec-keys/openpgp-keys-danielstenberg/openpgp-keys-danielstenberg-20220330.ebuild23
3 files changed, 32 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-danielstenberg/Manifest b/sec-keys/openpgp-keys-danielstenberg/Manifest
new file mode 100644
index 000000000000..11152b716db1
--- /dev/null
+++ b/sec-keys/openpgp-keys-danielstenberg/Manifest
@@ -0,0 +1 @@
+DIST danielstenberg-27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2.asc 4741 BLAKE2B bdba040ab0d6b213bac63f0777c8c6feaab20afef8750db34d9cf4859af1cf4a6ed08eac6f6430bad303b9a6ec54635ab54edddfd929af13d32dd923748be651 SHA512 435cf46e65a051c8f2b5ef5bede857a4c76ddf72854cef52b14569eaaf08ad7c17279eb6e736f8c668a4ef16a0b1caebf10534543d09d31e4bda5bd4e3ab4b81
diff --git a/sec-keys/openpgp-keys-danielstenberg/metadata.xml b/sec-keys/openpgp-keys-danielstenberg/metadata.xml
new file mode 100644
index 000000000000..1d130d2aa585
--- /dev/null
+++ b/sec-keys/openpgp-keys-danielstenberg/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="person">
+ <email>blueness@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-danielstenberg/openpgp-keys-danielstenberg-20220330.ebuild b/sec-keys/openpgp-keys-danielstenberg/openpgp-keys-danielstenberg-20220330.ebuild
new file mode 100644
index 000000000000..94619313a791
--- /dev/null
+++ b/sec-keys/openpgp-keys-danielstenberg/openpgp-keys-danielstenberg-20220330.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP keys used by Daniel Stenberg"
+HOMEPAGE="https://daniel.haxx.se/"
+# see https://daniel.haxx.se/address.html
+SRC_URI="
+ https://daniel.haxx.se/mykey.asc
+ -> danielstenberg-27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2.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 - danielstenberg.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}