sec-keys/openpgp-keys-pam: new package, add 20230330

sys-libs/pam was using openpgp-keys-strace but this broke with
814cbec30f.

Cannot use sec-keys.eclass yet as sec-keys.eclass breaks the keyring
(bug #967745).

Bug: https://bugs.gentoo.org/967745
Closes: https://bugs.gentoo.org/967913
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-12-20 07:15:43 +00:00
parent fa03e846b8
commit 728d0fcde9
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST openpgp-keys-pam-20230330-pam.gpg 8678 BLAKE2B 9ea0614de2fa3f3f5f067bf2e3e40e290d02a0409a3e1c0d042f957a9f5d99da0fbcd2f909fb3f1caa7adfe7adee77442a148307a9b048131bdab2c570e78740 SHA512 a79e385e8b5cf375eb5d88e438e3aa277aeb36780f52e3551e71d3f8677e91c110c703b119a958ffd6d97da2806f69b57c42e0294efe59c0fbc280f7b90db55b

View File

@@ -0,0 +1,11 @@
<?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>
<upstream>
<remote-id type="github">linux-pam/linux-pam</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,23 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# Cannot use sec-keys.eclass (bug #967745)
DESCRIPTION="OpenPGP keys used by the linux-pam project"
HOMEPAGE="https://github.com/linux-pam/linux-pam"
# https://github.com/linux-pam/linux-pam/commit/b7ba550110f2f93fabb50976ea920fcb656c9a8e
# pgp.keys.asc in linux-pam.git
SRC_URI="https://raw.githubusercontent.com/linux-pam/linux-pam/b7ba550110f2f93fabb50976ea920fcb656c9a8e/pgp.keys.asc -> ${P}-pam.gpg"
S="${WORKDIR}"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
src_install() {
local files=( ${A} )
insinto /usr/share/openpgp-keys
newins - pam.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
}