diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-01-02 18:45:58 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-01-02 19:21:37 +0100 |
commit | cbe5ee0bb7513d697efe867a076a3adc81203ff6 (patch) | |
tree | 425680ac07d5568b656c6380465761f7fa1df297 /app-crypt/openpgp-keys-gentoo-release | |
parent | dev-libs/uriparser: 0.9.1 (diff) | |
download | gentoo-cbe5ee0bb7513d697efe867a076a3adc81203ff6.tar.gz gentoo-cbe5ee0bb7513d697efe867a076a3adc81203ff6.tar.bz2 gentoo-cbe5ee0bb7513d697efe867a076a3adc81203ff6.zip |
app-crypt/openpgp-keys-gentoo-release: Bump to 20190102
Bump to a fresh snapshot due to rsync key being prolonged.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-crypt/openpgp-keys-gentoo-release')
-rw-r--r-- | app-crypt/openpgp-keys-gentoo-release/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20190102.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-crypt/openpgp-keys-gentoo-release/Manifest b/app-crypt/openpgp-keys-gentoo-release/Manifest index 734f67be4291..b643a1ca57e6 100644 --- a/app-crypt/openpgp-keys-gentoo-release/Manifest +++ b/app-crypt/openpgp-keys-gentoo-release/Manifest @@ -1,2 +1,3 @@ DIST gentoo-release-test-sigs-20180706.tar.gz 1437 BLAKE2B 00fb0a491c84853068ea578e68e8ab0a57842f6098c14da7ec44faf20abb23deef480aca958a7e352b9c55a024681eabc0c9aaf400e5dcbf8873277a3a940e38 SHA512 2a7cc2c650693c0e1fdf7083d77bf975e05ece3ab1495ed03362d02e8411481c80a62a9f21b23861bdc602d74c656a618e9a39d2bdef7ccd253ea9f3e4c7531a DIST gentoo-release.asc.20180706.gz 44805 BLAKE2B 1ba26b90e564738a1282c5febe426628144ab70e526397b866f97214254c73bbb517cdaa48ba0e83ca75a7d88cd622375fda0f362c43d13b66720ffb682682d2 SHA512 ba48cb6d7e72c6a720df3ff2430a4b4dd261f947c23762cd0c1255a93391d10becfb491db1bb80b295edd1f8192580315d5c7be3670b8689ef702ed228b05894 +DIST gentoo-release.asc.20190102.gz 51067 BLAKE2B ace66e603afb9a171e705992ae550439dbc51e6dd9a788e78a9e85d938b7f9841bd0dd866306b32066cab5c23995ed2278d4d22670b238227de28d08c914c142 SHA512 eea90df98e795edcc0e4cbc26f48313c0cf4593424106ff79e0dc237835e51536777840fcf54619252438515ad10930992bcfbcd32596bb203a75151cee10553 diff --git a/app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20190102.ebuild b/app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20190102.ebuild new file mode 100644 index 000000000000..b9a927fd8e1e --- /dev/null +++ b/app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20190102.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="OpenPGP keys used for Gentoo releases (snapshots, stages)" +HOMEPAGE="https://www.gentoo.org/downloads/signatures/" +SRC_URI="https://dev.gentoo.org/~mgorny/dist/openpgp-keys/gentoo-release.asc.${PV}.gz + test? ( https://dev.gentoo.org/~mgorny/dist/openpgp-keys/gentoo-release-test-sigs-20180706.tar.gz )" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="test" + +DEPEND="test? ( app-crypt/gnupg )" + +S=${WORKDIR} + +src_test() { + local old_umask=$(umask) + umask 077 + + local -x GNUPGHOME=${T}/.gnupg + mkdir "${GNUPGHOME}" || die + einfo "Importing keys ..." + gpg --import "gentoo-release.asc.${PV}" || die "Key import failed" + + local f + for f in gentoo-release-test-sigs*/*.asc; do + einfo "Testing ${f##*/} ..." + gpg -q --trust-model always --verify "${f}" || die "Verification failed on ${f}" + done + + umask "${old_umask}" +} + +src_install() { + insinto /usr/share/openpgp-keys + newins "gentoo-release.asc.${PV}" gentoo-release.asc +} |