diff options
author | Mike Gilbert <floppym@gentoo.org> | 2023-10-31 11:46:34 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2023-10-31 11:47:43 -0400 |
commit | b4759d375eb36ec1a0be3883e696f7c3323049fa (patch) | |
tree | 55caba7e6081601959d08c1bd882ebea39cea3f9 /sys-apps/shadow | |
parent | sys-apps/shadow: add 4.14.2 (diff) | |
download | gentoo-b4759d375eb36ec1a0be3883e696f7c3323049fa.tar.gz gentoo-b4759d375eb36ec1a0be3883e696f7c3323049fa.tar.bz2 gentoo-b4759d375eb36ec1a0be3883e696f7c3323049fa.zip |
sys-apps/shadow: wire up PGP key for Alejandro Colomar
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r-- | sys-apps/shadow/shadow-4.14.2.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys-apps/shadow/shadow-4.14.2.ebuild b/sys-apps/shadow/shadow-4.14.2.ebuild index 429b72eedc9e..8995414032f7 100644 --- a/sys-apps/shadow/shadow-4.14.2.ebuild +++ b/sys-apps/shadow/shadow-4.14.2.ebuild @@ -7,7 +7,6 @@ EAPI=8 # official. Don't keyword the pre-releases! # Check https://github.com/shadow-maint/shadow/releases. -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/sergehallyn.asc inherit libtool pam verify-sig DESCRIPTION="Utilities to deal with user accounts" @@ -62,9 +61,16 @@ RDEPEND=" BDEPEND=" app-arch/xz-utils sys-devel/gettext - verify-sig? ( sec-keys/openpgp-keys-sergehallyn ) " +if [[ ${PV} == *.0 ]]; then + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-sergehallyn )" + VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/sergehallyn.asc +else + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-alejandro-colomar )" + VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/alejandro-colomar.asc +fi + src_prepare() { default elibtoolize |