sec-keys/openpgp-keys-sudo: Added package.

Signed-off-by: Jonathan Davies <jpds@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Jonathan Davies 2022-03-22 00:10:33 +00:00 committed by Sam James
parent fe7a0b1012
commit ab9e4b6961
No known key found for this signature in database
GPG Key ID: F4922810EEA0483B
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST sudo-pgpkeys.asc 5898 BLAKE2B 0550cbce1d56cf6b931aea96866b48856895680ac38ec6ba5f62afcb4afee832fb6129ed79bb3fb97523448c751ce61331dedf44455fb72dc7646220a30dbb3d SHA512 030b6b11a1ed1bd51c4b05746402f462ebabb7835ef73ee62f07c93df67820f3cd11f7caaa861fa094b1705e4ee6e7f3da43cfe1f9b9eb321a2f70dc1db8cac0

View File

@ -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>

View File

@ -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)
}