gentoo-ebuilds/sec-keys/openpgp-keys-gnutls/openpgp-keys-gnutls-20240415-r1.ebuild
Eli Schwartz cfb46f4ff4
sec-keys/openpgp-keys-gnutls: update to use sec-keys.eclass
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
1061fd37f9 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: 1061fd37f9
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2025-07-30 01:06:31 -04:00

22 lines
732 B
Bash

# 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"