summaryrefslogtreecommitdiff
path: root/sys-libs/pam
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-05 04:23:37 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-05 04:23:37 +0100
commitdff5148a375dbe1b3ec2c5e5e4fa482bd1224c98 (patch)
tree2048a04cc30ad174303363a25cd3cea4620b8ad7 /sys-libs/pam
parentcb259c03daeefbbc0a46d61314d25be7edeb14e8 (diff)
gentoo auto-resync : 05:09:2022 - 04:23:36
Diffstat (limited to 'sys-libs/pam')
-rw-r--r--sys-libs/pam/Manifest2
-rw-r--r--sys-libs/pam/pam-1.5.2-r2.ebuild15
2 files changed, 15 insertions, 2 deletions
diff --git a/sys-libs/pam/Manifest b/sys-libs/pam/Manifest
index 317756756437..dc82eb701363 100644
--- a/sys-libs/pam/Manifest
+++ b/sys-libs/pam/Manifest
@@ -4,5 +4,5 @@ DIST Linux-PAM-1.5.2.tar.xz 988784 BLAKE2B a835034cd239bc9377419c13dda45276e8e64
DIST pam-1.5.1_p20210622.tar.gz 783068 BLAKE2B c8f13c2ccef73ad367d4fac9a7d1d0d3f3d0e4f1c8eea877d2ab467411cf17cc32c6c9c89e98d94090481d7d7746723175031ba8713a8fb0c3e1976e2854e58b SHA512 5b7a84b9de2d0b0c39cb33e9b8d24aeedca670b998536d74dc497eb7af31cb1f3157f196a01712c4ae273634b51ddad2062f207534b35b1d1a1e790816c8dc1b
DIST pam-doc-1.5.1_p20210610.tar.xz 62308 BLAKE2B b3311e704ddc840b7fd28ea7764e8a0d3fdf508e2e37405acbfa26462a188c480859b3b21bd4a4b4acea70928e68650c216e8fb2d2b6f11ba33f54c6692cf3a2 SHA512 89b88f8ebf0c46f6b25dc0c5f39383ecbef0b12d6ffab388d92026066ee986f9068819cdbf38baaa1e341cd6cc84b1e8d3ad02db121aaf0ddad27e4e6efe26e7
EBUILD pam-1.5.1_p20210622-r1.ebuild 3659 BLAKE2B 00ad76cec99ccc356d6e594125921b58dea4112bc8dd06b86a57d19c4b688511517c8a3c4205dc7cd3a1b20fa92b39e5ade0114594a8c765146fe11ccae56bb4 SHA512 12335aac62d987c2cfb8d1f630b0c0c3030c945382b5b6cf42aedd4eb75570a3f6cc98f12b9a43e4b81607c31a159f14ca3721534d089c151d4a6841d1b5b479
-EBUILD pam-1.5.2-r2.ebuild 3654 BLAKE2B c82ac38a6936c69ff06fd0768dd697e40561a01f143b8e27eecadd84459fe398b42c94e8c41885266172e0226094b1918d147c563b75bfa6e8e204466233cb5a SHA512 aa73c97f7609204c1650b6eaf3cb2b338c0bde66e3d17038de80fa3dc458d4d2e2acbde02768642b39e784d0942a554a451e302d3a65a10f35b7136bcc98f537
+EBUILD pam-1.5.2-r2.ebuild 4199 BLAKE2B b0f2f6a01cbb35f0b59a1cb99c66082f7e7c70988805e82da426fb07e809d57c2bd4c199501b4a0683fd817a57e46cc88af66668b80fbf79eb9374f4cdcc1557 SHA512 d1e82ecc18003e4c76d1d7be8ee2931be809fa35a6851cc84319b452ae26f8bf2106aa4e2929e29f9cc25d9888738f38c6464508588877b8999dfa1ae072b982
MISC metadata.xml 754 BLAKE2B 366be10dfcad98d08ea3e307312b9a84804efa6f097f1505907e03fcb5fd0f4a6067d1d85d8dc5fec82c54c2e1fdf76d716d09a45571b0994d96130a2506e1f5 SHA512 b453a62fc3cdc6c0e7cd9c15d1bf72f8641a8eefc3971304ae5f0db3c93b69ca5f9c059e70b94ce799b15b640831c8832707fc1740f1361aca3a28c30ae8f366
diff --git a/sys-libs/pam/pam-1.5.2-r2.ebuild b/sys-libs/pam/pam-1.5.2-r2.ebuild
index 428087494c40..5a8c46443f0d 100644
--- a/sys-libs/pam/pam-1.5.2-r2.ebuild
+++ b/sys-libs/pam/pam-1.5.2-r2.ebuild
@@ -9,7 +9,7 @@ MY_P="Linux-${PN^^}-${PV}"
# Can reconsider w/ EAPI 8 and IDEPEND, bug #810979
TMPFILES_OPTIONAL=1
-inherit autotools db-use fcaps toolchain-funcs usr-ldscript multilib-minimal
+inherit autotools db-use fcaps flag-o-matic toolchain-funcs usr-ldscript multilib-minimal
DESCRIPTION="Linux-PAM (Pluggable Authentication Modules)"
HOMEPAGE="https://github.com/linux-pam/linux-pam"
@@ -59,6 +59,19 @@ multilib_src_configure() {
# Do not let user's BROWSER setting mess us up. #549684
unset BROWSER
+ # This whole weird has_version libxcrypt block can go once
+ # musl systems have libxcrypt[system] if we ever make
+ # that mandatory. See bug #867991.
+ if use elibc_musl && ! has_version sys-libs/libxcrypt[system] ; then
+ # Avoid picking up symbol-versioned compat symbol on musl systems
+ export ac_cv_search_crypt_gensalt_rn=no
+
+ # Need to avoid picking up the libxcrypt headers which define
+ # CRYPT_GENSALT_IMPLEMENTS_AUTO_ENTROPY.
+ cp "${ESYSROOT}"/usr/include/crypt.h "${T}"/crypt.h || die
+ append-cppflags -I"${T}"
+ fi
+
local myconf=(
CC_FOR_BUILD="$(tc-getBUILD_CC)"
--with-db-uniquename=-$(db_findver sys-libs/db)