summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sec-keys/openpgp-keys-bzip2/Manifest1
-rw-r--r--sec-keys/openpgp-keys-bzip2/metadata.xml8
-rw-r--r--sec-keys/openpgp-keys-bzip2/openpgp-keys-bzip2-20220406.ebuild21
3 files changed, 30 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-bzip2/Manifest b/sec-keys/openpgp-keys-bzip2/Manifest
new file mode 100644
index 000000000000..49b5ca6b4808
--- /dev/null
+++ b/sec-keys/openpgp-keys-bzip2/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-bzip2-20220406-gpgkey-5C1D1AA44BE649DE760A.gpg 5236 BLAKE2B 7ee5acba54608f450d7081cfc9411ad6e0d965e607143750cb491306eef8943c10b5e52ead9cba1e55a212f94c7e2d13ea4e18d7aff212fc4e455493a8dde091 SHA512 dc44ed3e38f54c3e57a4d83fa8b48ce2a8694802dd6bbf057cf432958f88ace9b585ee36a59ba98444e76c9aef0e998b9108a3807f97ebd6ba62303b41ab4690
diff --git a/sec-keys/openpgp-keys-bzip2/metadata.xml b/sec-keys/openpgp-keys-bzip2/metadata.xml
new file mode 100644
index 000000000000..b0d83aa2e489
--- /dev/null
+++ b/sec-keys/openpgp-keys-bzip2/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>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-bzip2/openpgp-keys-bzip2-20220406.ebuild b/sec-keys/openpgp-keys-bzip2/openpgp-keys-bzip2-20220406.ebuild
new file mode 100644
index 000000000000..ceda6b432d07
--- /dev/null
+++ b/sec-keys/openpgp-keys-bzip2/openpgp-keys-bzip2-20220406.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 bzip2 releases"
+HOMEPAGE="https://www.sourceware.org/bzip2/downloads.html"
+# 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://www.sourceware.org/pub/bzip2/gpgkey-5C1D1AA44BE649DE760A.gpg -> ${P}-gpgkey-5C1D1AA44BE649DE760A.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 - bzip2.gpg < <(cat "${files[@]/#/${DISTDIR}/}")
+}