commit:     aea62d8988f0c4da2d9d522046ccad12e51edd32
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  6 23:19:03 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Feb  6 23:27:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aea62d89

sec-keys/openpgp-keys-patch: add 20250206

Andreas' key is expired, as discovered when trying to package the next
alpha.

```
 * Verifying patch-2.7.6_p20250206.tar.xz ...
ERROR    OpenPGP verification failed for <_io.BufferedReader 
name='/var/tmp/portage/sys-devel/patch-2.7.6_p20250206/distdir/patch-2.7.6_p20250206.tar.xz'>
 (sig in
         
/var/tmp/portage/sys-devel/patch-2.7.6_p20250206/distdir/patch-2.7.6_p20250206.tar.xz.sig):
         OpenPGP signature rejected because of expired key:
         gpg: Signature made Thu 06 Feb 2025 08:40:43 PM UTC
         gpg:                using RSA key 
259B3792B3D6D319212CC4DCD5BF9FEB0313653A
         gpg: Good signature from "Andreas Gruenbacher <agruen <AT> gnu.org>" 
[expired]
         gpg:                 aka "Andreas Gruenbacher <agruen <AT> 
kernel.org>" [expired]
         gpg:                 aka "Andreas Gruenbacher <agruenba <AT> 
redhat.com>" [expired]
         gpg:                 aka "Andreas Gruenbacher <andreas.gruenbacher 
<AT> gmail.com>" [expired]
         gpg: Note: This key has expired!
         Primary key fingerprint: 259B 3792 B3D6 D319 212C  C4DC D5BF 9FEB 0313 
653A
```

After bumping PV to get a fresh savannah.gnu.org download I also
temporarily ported both ebuilds to my work-in-progress "sec-keys.eclass"
and verified that both packages contained the same set of keys. That
change isn't included here since the eclass hasn't been merged yet,
sorry!

Acked-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sec-keys/openpgp-keys-patch/Manifest                  |  1 +
 .../openpgp-keys-patch-20250206.ebuild                | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/sec-keys/openpgp-keys-patch/Manifest 
b/sec-keys/openpgp-keys-patch/Manifest
index 99a69e75475b..1612c1d28713 100644
--- a/sec-keys/openpgp-keys-patch/Manifest
+++ b/sec-keys/openpgp-keys-patch/Manifest
@@ -1 +1,2 @@
 DIST openpgp-keys-patch-20220407.asc 59668 BLAKE2B 
431cd6af280e5af9f129afa786fd696b21862171781af89321dd851f4433477a6cd748dc80459c54b459499f7dd5e8617aff5ef1239d83c6fb530994fd81f5a6
 SHA512 
61dc081c8353692d63e19b4195c4cfd326c4e3aee42429c58eb8dc3bdf73f44d1273756f74446d39289fc95aa0103ef8a9a9c37f50582a784a416d90b4836a32
+DIST openpgp-keys-patch-20250206.asc 252928 BLAKE2B 
4f32a11f50e4a41a9acfc0aed49960d2cd9bf5f79768836f0f2b0a6d75de695e3af64d8a592d9bd15c859b67b985d514e52d413e42b787db0a82408187480ec4
 SHA512 
0688cc589428cf85047ecf6d79b11e89f077247c2dd15acbaf9f5cc00214738da6f103a9cb05a27a01ec41169eca0e000e00069b8333b0987926bc1ed93a11d4

diff --git a/sec-keys/openpgp-keys-patch/openpgp-keys-patch-20250206.ebuild 
b/sec-keys/openpgp-keys-patch/openpgp-keys-patch-20250206.ebuild
new file mode 100644
index 000000000000..655b7bf7f03c
--- /dev/null
+++ b/sec-keys/openpgp-keys-patch/openpgp-keys-patch-20250206.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="OpenPGP keys used by GNU patch"
+HOMEPAGE="https://savannah.gnu.org/projects/patch/";
+SRC_URI="https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=patch&download=1
 -> ${P}.asc"
+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 - patch.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}

Reply via email to