mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-22 17:52:12 +01:00
sec-keys/openpgp-keys-gentoo-release: Sync with Gentoo
It's from Gentoo commit 956a9778524bf9a9892de3ed9423ade722f91503. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
fd8f583bcf
commit
64c4661df2
@ -20,7 +20,12 @@ IUSE="test"
|
|||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
test? ( app-crypt/gnupg )
|
test? (
|
||||||
|
|| (
|
||||||
|
app-crypt/gnupg[alternatives(-)]
|
||||||
|
>=app-crypt/freepg-2.5.12_p1-r1
|
||||||
|
)
|
||||||
|
)
|
||||||
"
|
"
|
||||||
|
|
||||||
# Keys included:
|
# Keys included:
|
||||||
@ -36,12 +41,12 @@ src_test() {
|
|||||||
local -x GNUPGHOME=${T}/.gnupg
|
local -x GNUPGHOME=${T}/.gnupg
|
||||||
mkdir "${GNUPGHOME}" || die
|
mkdir "${GNUPGHOME}" || die
|
||||||
einfo "Importing keys ..."
|
einfo "Importing keys ..."
|
||||||
gpg --import "gentoo-release.asc.${PV}" || die "Key import failed"
|
gpg-reference --import "gentoo-release.asc.${PV}" || die "Key import failed"
|
||||||
|
|
||||||
local f
|
local f
|
||||||
for f in gentoo-release-test-sigs*/*.asc; do
|
for f in gentoo-release-test-sigs*/*.asc; do
|
||||||
einfo "Testing ${f##*/} ..."
|
einfo "Testing ${f##*/} ..."
|
||||||
gpg -q --trust-model always --verify "${f}" || die "Verification failed on ${f}"
|
gpg-reference -q --trust-model always --verify "${f}" || die "Verification failed on ${f}"
|
||||||
done
|
done
|
||||||
|
|
||||||
umask "${old_umask}"
|
umask "${old_umask}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user