summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r--sys-apps/shadow/shadow-4.14.2.ebuild10
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