summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-27 02:32:02 +0100
committerSam James <sam@gentoo.org>2022-04-27 02:32:02 +0100
commit80c321e432d92a9cca123b86528e6a49ecbf53aa (patch)
treeaf3295459edfa30dc6d3bd17ba2d95d4d3466bfa /sec-keys
parentdev-libs/elfutils: add 0.187 (diff)
downloadgentoo-80c321e432d92a9cca123b86528e6a49ecbf53aa.tar.gz
gentoo-80c321e432d92a9cca123b86528e6a49ecbf53aa.tar.bz2
gentoo-80c321e432d92a9cca123b86528e6a49ecbf53aa.zip
sec-keys/openpgp-keys-elfutils: new package, add 20220427
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sec-keys')
-rw-r--r--sec-keys/openpgp-keys-elfutils/Manifest1
-rw-r--r--sec-keys/openpgp-keys-elfutils/metadata.xml8
-rw-r--r--sec-keys/openpgp-keys-elfutils/openpgp-keys-elfutils-20220427.ebuild21
3 files changed, 30 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-elfutils/Manifest b/sec-keys/openpgp-keys-elfutils/Manifest
new file mode 100644
index 000000000000..894c2ff41e49
--- /dev/null
+++ b/sec-keys/openpgp-keys-elfutils/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-elfutils-20220427-gpgkey-1AA44BE649DE760A.gpg 11658 BLAKE2B b8b1b7a0e16e811cae9d4c89c80b997aa4b0620b12212988068810d240959db93ddebc4637e69d28ede763bc4c8a5b1fe0714b6cc5df7cb4350376e50abe0360 SHA512 a4b33e225633f883aa829e6a984c184467e2dd22d928c1564ac32b2b49afda86260afc2b0ab026b36ee27d984e5c12ca16b6ee223e1afc7aa3cebdc1e9066cab
diff --git a/sec-keys/openpgp-keys-elfutils/metadata.xml b/sec-keys/openpgp-keys-elfutils/metadata.xml
new file mode 100644
index 000000000000..e9de1423720b
--- /dev/null
+++ b/sec-keys/openpgp-keys-elfutils/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">
+ <email>toolchain@gentoo.org</email>
+ <name>Gentoo Toolchain Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-elfutils/openpgp-keys-elfutils-20220427.ebuild b/sec-keys/openpgp-keys-elfutils/openpgp-keys-elfutils-20220427.ebuild
new file mode 100644
index 000000000000..458ccd36ea63
--- /dev/null
+++ b/sec-keys/openpgp-keys-elfutils/openpgp-keys-elfutils-20220427.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP key used to sign elfutils releases"
+HOMEPAGE="https://sourceware.org/elfutils/"
+# This is the same key as sec-keys/openpgp-keys-debugedit but it's not guaranteed
+# to always be the same, so let's not assume.
+SRC_URI="https://sourceware.org/elfutils/ftp/gpgkey-1AA44BE649DE760A.gpg -> ${P}-gpgkey-1AA44BE649DE760A.gpg"
+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 - elfutils.gpg < <(cat "${files[@]/#/${DISTDIR}/}")
+}