shadow: update to 4.6.

Closes #13965.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-04-29 19:30:00 -03:00 committed by Enno Boland
parent 74953400a4
commit 8ea04046b5
1 changed files with 7 additions and 5 deletions

View File

@ -1,22 +1,22 @@
# Template file for 'shadow'
pkgname=shadow
version=4.5
version=4.6
revision=1
build_style=gnu-configure
configure_args="--bindir=/usr/bin --sbindir=/usr/bin
--libdir=/usr/lib --enable-shared --disable-static
--with-libpam --without-selinux --with-acl --with-attr
--disable-nls --enable-subordinate-ids"
hostmakedepends="automake libtool gettext-devel"
hostmakedepends="automake gettext-devel libtool"
makedepends="acl-devel pam-devel"
depends="pam"
conf_files="/etc/pam.d/* /etc/default/* /etc/login.defs"
short_desc="Shadow password file utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
license="BSD-3-Clause"
homepage="https://github.com/shadow-maint/shadow"
distfiles="${homepage}/releases/download/${version}/shadow-${version}.tar.xz"
checksum=fc8c858381ad577a5c25ff5beb6ee60a34f8719c73e4e7c61e74188b4e54b741
checksum=0998c8d84242a231ab0acb7f8613927ff5bcff095f8aa6b79478893a03f05583
conf_files="/etc/pam.d/* /etc/default/* /etc/login.defs"
pre_configure() {
autoreconf -fi
@ -26,6 +26,7 @@ pre_configure() {
*-musl) sed '/RUSEROK/d' -i configure;;
esac
}
do_build() {
# Don't install groups(1), we use the one from coreutils.
sed -i 's/groups$(EXEEXT) //' src/Makefile
@ -34,6 +35,7 @@ do_build() {
done
make ${makejobs}
}
post_install() {
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin