shadow: /etc/pam.d/other is now provided by pam-base; remove it.
This commit is contained in:
parent
d6f7a83716
commit
67f38f87b3
@ -1,8 +0,0 @@
|
|||||||
auth required pam_deny.so
|
|
||||||
auth required pam_warn.so
|
|
||||||
account required pam_deny.so
|
|
||||||
account required pam_warn.so
|
|
||||||
password required pam_deny.so
|
|
||||||
password required pam_warn.so
|
|
||||||
session required pam_deny.so
|
|
||||||
session required pam_warn.so
|
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'shadow'
|
# Template file for 'shadow'
|
||||||
pkgname=shadow
|
pkgname=shadow
|
||||||
version=4.2.1
|
version=4.2.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--bindir=/usr/bin --sbindir=/usr/sbin
|
configure_args="--bindir=/usr/bin --sbindir=/usr/sbin
|
||||||
--libdir=/usr/lib --enable-shared --disable-static
|
--libdir=/usr/lib --enable-shared --disable-static
|
||||||
@ -23,7 +23,6 @@ conf_files="
|
|||||||
/etc/pam.d/chpasswd
|
/etc/pam.d/chpasswd
|
||||||
/etc/pam.d/chgpasswd
|
/etc/pam.d/chgpasswd
|
||||||
/etc/pam.d/chage
|
/etc/pam.d/chage
|
||||||
/etc/pam.d/other
|
|
||||||
/etc/defaults/useradd
|
/etc/defaults/useradd
|
||||||
/etc/login.defs"
|
/etc/login.defs"
|
||||||
short_desc="Shadow password file utilities"
|
short_desc="Shadow password file utilities"
|
||||||
@ -41,7 +40,6 @@ pre_configure() {
|
|||||||
*-musl) sed '/RUSEROK/d' -i configure;;
|
*-musl) sed '/RUSEROK/d' -i configure;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
# Don't install groups(1), we use the one from coreutils.
|
# Don't install groups(1), we use the one from coreutils.
|
||||||
sed -i 's/groups$(EXEEXT) //' src/Makefile
|
sed -i 's/groups$(EXEEXT) //' src/Makefile
|
||||||
@ -51,11 +49,10 @@ do_build() {
|
|||||||
# Build PIE binaries by default.
|
# Build PIE binaries by default.
|
||||||
make CFLAGS+=" -fPIE" LDFLAGS+=" -pie" ${makejobs}
|
make CFLAGS+=" -fPIE" LDFLAGS+=" -pie" ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Install our pam files not the ones supplied with shadow.
|
# Install our pam files not the ones supplied with shadow.
|
||||||
rm -f ${DESTDIR}/etc/pam.d/*
|
rm -f ${DESTDIR}/etc/pam.d/*
|
||||||
for f in chage passwd other; do
|
for f in chage passwd; do
|
||||||
install -m644 ${FILESDIR}/${f}.pam ${DESTDIR}/etc/pam.d/${f}
|
install -m644 ${FILESDIR}/${f}.pam ${DESTDIR}/etc/pam.d/${f}
|
||||||
done
|
done
|
||||||
for f in chpasswd chgpasswd groupadd groupdel groupmems \
|
for f in chpasswd chgpasswd groupadd groupdel groupmems \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user