summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sec-keys/openpgp-keys-sudo')
-rw-r--r--sec-keys/openpgp-keys-sudo/Manifest1
-rw-r--r--sec-keys/openpgp-keys-sudo/metadata.xml8
-rw-r--r--sec-keys/openpgp-keys-sudo/openpgp-keys-sudo-20220321.ebuild21
3 files changed, 30 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-sudo/Manifest b/sec-keys/openpgp-keys-sudo/Manifest
new file mode 100644
index 000000000000..179bc21221bf
--- /dev/null
+++ b/sec-keys/openpgp-keys-sudo/Manifest
@@ -0,0 +1 @@
+DIST sudo-pgpkeys.asc 5898 BLAKE2B 0550cbce1d56cf6b931aea96866b48856895680ac38ec6ba5f62afcb4afee832fb6129ed79bb3fb97523448c751ce61331dedf44455fb72dc7646220a30dbb3d SHA512 030b6b11a1ed1bd51c4b05746402f462ebabb7835ef73ee62f07c93df67820f3cd11f7caaa861fa094b1705e4ee6e7f3da43cfe1f9b9eb321a2f70dc1db8cac0
diff --git a/sec-keys/openpgp-keys-sudo/metadata.xml b/sec-keys/openpgp-keys-sudo/metadata.xml
new file mode 100644
index 000000000000..8cb7f9b298b9
--- /dev/null
+++ b/sec-keys/openpgp-keys-sudo/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>
+ </maintainer>
+ <stabilize-allarches/>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-sudo/openpgp-keys-sudo-20220321.ebuild b/sec-keys/openpgp-keys-sudo/openpgp-keys-sudo-20220321.ebuild
new file mode 100644
index 000000000000..9cebe9ae529d
--- /dev/null
+++ b/sec-keys/openpgp-keys-sudo/openpgp-keys-sudo-20220321.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="OpenPGP keys used by the sudo project"
+HOMEPAGE="https://www.sudo.ws/"
+SRC_URI="
+ https://www.sudo.ws/dist/PGPKEYS -> sudo-pgpkeys.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 - sudo.ws.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}