mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
sec-keys/openpgp-keys-patch: port to sec-keys.eclass for verification support
As promised in commit aea62d8988 the 2025
bump was aboveboard and verified manually with the unreleased eclass.
Now this is proven via code: the old 2022 ebuild is ported too, and
installs fine but fails tests.
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -1,19 +1,18 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
SEC_KEYS_VALIDPGPKEYS=(
|
||||
'155D3FC500C834486D1EEA677FD9FCCB000BEEEE:jim.meyering:manual'
|
||||
'259B3792B3D6D319212CC4DCD5BF9FEB0313653A:agruen:manual'
|
||||
'7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34:eggert:manual'
|
||||
)
|
||||
|
||||
inherit sec-keys
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
@@ -3,17 +3,16 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
SEC_KEYS_VALIDPGPKEYS=(
|
||||
'155D3FC500C834486D1EEA677FD9FCCB000BEEEE:jim.meyering:manual'
|
||||
'259B3792B3D6D319212CC4DCD5BF9FEB0313653A:agruen:manual'
|
||||
'7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34:eggert:manual'
|
||||
)
|
||||
|
||||
inherit sec-keys
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user