shadow: rebuild for libxcrypt

This commit is contained in:
oreo639 2023-08-08 16:26:21 -07:00 committed by classabbyamp
parent 25321d4028
commit 2f215db482

View file

@ -1,7 +1,7 @@
# Template file for 'shadow'
pkgname=shadow
version=4.8.1
revision=2
revision=3
build_style=gnu-configure
configure_args="--bindir=/usr/bin --sbindir=/usr/bin
--enable-shared --disable-static
@ -19,6 +19,10 @@ distfiles="${homepage}/releases/download/${version}/shadow-${version}.tar.xz"
checksum=a3ad4630bdc41372f02a647278a8c3514844295d36eefe68ece6c3a641c1ae62
conf_files="/etc/pam.d/* /etc/default/* /etc/login.defs"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
# Completely disable unportable ruserok().