From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B86B715808A for ; Mon, 28 Jul 2025 15:33:01 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A4D10341FBB for ; Mon, 28 Jul 2025 15:33:01 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id CAE7211056C; Mon, 28 Jul 2025 15:31:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 154381102A2 for ; Mon, 28 Jul 2025 15:31:55 +0000 (UTC) Received: from mop.sam.mop (unknown [82.8.138.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange secp256r1 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sam) by smtp.gentoo.org (Postfix) with ESMTPSA id 5673E341F93; Mon, 28 Jul 2025 15:31:54 +0000 (UTC) From: Sam James To: Eli Schwartz Cc: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH v3 2/3] sec-keys/openpgp-keys-gnutls: update to use sec-keys.eclass In-Reply-To: <20250725041530.745342-3-eschwartz@gentoo.org> Organization: Gentoo References: <20241127203042.1503004-1-eschwartz@gentoo.org> <20250725041530.745342-1-eschwartz@gentoo.org> <20250725041530.745342-3-eschwartz@gentoo.org> User-Agent: mu4e 1.12.11; emacs 31.0.50 Date: Mon, 28 Jul 2025 16:31:52 +0100 Message-ID: <87tt2wib6f.fsf@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain X-Archives-Salt: dc89729e-2e02-4890-a7e8-874157844426 X-Archives-Hash: 8da9bb7ba6ac5b1f151be1607b6aaedf Eli Schwartz writes: > Bump EAPI 7 -> 8 as required by eclass. ;) > > This is a nice demonstration of using the eclass. It showcases some > advanced usage, in particular, how to augment a single key within a > keyring published on upstream's website with an extended expiration date > from the openpgp.org keyserver. > > The ebuild was previously updated in commit > 1061fd37f9491f2601a8b5b6c92ffc3a2f42d7c9 with some explanatory text > about why we needed to do that. It wasn't a very good commit (sorry, > past self!) because it was kind of inscrutable whether the key "should" > have been included. That commit would have instead modified "manual" to > "openpgp" for daiki, had the eclass existed exactly a year ago. > > Bug: https://gitlab.com/gnutls/web-pages/-/issues/6 > Fixes: 1061fd37f9491f2601a8b5b6c92ffc3a2f42d7c9 > Signed-off-by: Eli Schwartz OK. > --- > sec-keys/openpgp-keys-gnutls/Manifest | 1 + > .../openpgp-keys-gnutls-20240415-r1.ebuild | 22 +++++++++++++++++++ > 2 files changed, 23 insertions(+) > create mode 100644 sec-keys/openpgp-keys-gnutls/openpgp-keys-gnutls-20240415-r1.ebuild > > diff --git a/sec-keys/openpgp-keys-gnutls/Manifest b/sec-keys/openpgp-keys-gnutls/Manifest > index eb2132f1bf3e..a2a4a26cbb10 100644 > --- a/sec-keys/openpgp-keys-gnutls/Manifest > +++ b/sec-keys/openpgp-keys-gnutls/Manifest > @@ -1,3 +1,4 @@ > +DIST openpgp-keys-daiki-openpgp-20240415.asc 7345 BLAKE2B > 0a6a0079483320bbd191f3c04a21ac52b159f755518ae7d6e27869b7cda06548bd7772ce5b9def07dece791537cbfb750bd227023f7665cbd860b5ce200fc4d0 > SHA512 > 55af264087eceb244c59bec2aa4c62df3fc0b25ceb13728e7c3fc9042ae2fb990282367e6b46eda7ceb7f267add6dcd8948a887d825c7759cc61c642d6e0a3a7 > DIST openpgp-keys-gnutls-20220320-release-keyring.gpg 20850 BLAKE2B > 06865e4ac4e69237f7c52f551ce902281f6699bd144cb16c97e81aa1323c99187637c3b62730e700bc1c7f9de4608da55d3a80c8ffc240ee533e42b4707e4fbe > SHA512 > ebf592298142c7f05d8298a9e42aa4e5579eda54bf3c16f5a97cd22c22f3904a635a20cb1af6587d03b1a58545b925bddb769b098c664a336abce8ec9f10b9d5 > DIST openpgp-keys-gnutls-20221017-release-keyring.gpg 26256 BLAKE2B > c42024bade07f5e0d189c653a052aaa89803c71c8c3a5653417fb1ae3961c392257b5ef719b9236d291d449490d5dba90ae238b76391933f864458c0805e02e0 > SHA512 > 5c14d83f4f37bd319c652db0d76fc5bb04752fb461bbe853e25b20ffe41d6d14faae6c0bdd0193ac6242975bf1205ce606a9d0082261cc4581fd680abfcdbd4d > DIST openpgp-keys-gnutls-20231129-daiki-updated.gpg 7345 BLAKE2B > 0a6a0079483320bbd191f3c04a21ac52b159f755518ae7d6e27869b7cda06548bd7772ce5b9def07dece791537cbfb750bd227023f7665cbd860b5ce200fc4d0 > SHA512 > 55af264087eceb244c59bec2aa4c62df3fc0b25ceb13728e7c3fc9042ae2fb990282367e6b46eda7ceb7f267add6dcd8948a887d825c7759cc61c642d6e0a3a7 > diff --git a/sec-keys/openpgp-keys-gnutls/openpgp-keys-gnutls-20240415-r1.ebuild b/sec-keys/openpgp-keys-gnutls/openpgp-keys-gnutls-20240415-r1.ebuild > new file mode 100644 > index 000000000000..ae3f91b7b075 > --- /dev/null > +++ b/sec-keys/openpgp-keys-gnutls/openpgp-keys-gnutls-20240415-r1.ebuild > @@ -0,0 +1,22 @@ > +# Copyright 1999-2025 Gentoo Authors > +# Distributed under the terms of the GNU General Public License v2 > + > +EAPI=8 > + > +SEC_KEYS_VALIDPGPKEYS=( > + 'E987AB7F7E89667776D05B3BB0E9DD20B29F1432:alexander.sosedken:manual' > + # GnuTLS website has expired key for daiki > + '462225C3B46F34879FC8496CD605848ED7E69871:daiki:openpgp' > + '1CB27DBC98614B2D5841646D08302DB6A2670428:tim.ruehsen:manual' > + '5D46CB0F763405A7053556F47A75A648B3F9220C:zfridrich:manual' > +) > + > +inherit sec-keys > + > +DESCRIPTION="OpenPGP keys used by GnuTLS" > +HOMEPAGE="https://www.gnutls.org/download.html" > +SRC_URI+=" > + https://gnutls.org/gnutls-release-keyring.gpg -> ${P}-release-keyring.gpg > +" > + > +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"