shadow: move to usr/bin.

This commit is contained in:
Juan RP 2015-06-02 10:42:02 +02:00
parent 593c99525a
commit f80afdb5fc

View file

@ -1,10 +1,10 @@
# Template file for 'shadow' # Template file for 'shadow'
pkgname=shadow pkgname=shadow
version=4.2.1 version=4.2.1
revision=9 revision=10
build_pie=yes build_pie=yes
build_style=gnu-configure build_style=gnu-configure
configure_args="--bindir=/usr/bin --sbindir=/usr/sbin configure_args="--bindir=/usr/bin --sbindir=/usr/bin
--libdir=/usr/lib --enable-shared --disable-static --libdir=/usr/lib --enable-shared --disable-static
--with-libpam --without-selinux --with-acl --with-attr --with-libpam --without-selinux --with-acl --with-attr
--disable-nls --enable-subordinate-ids ac_cv_id32bit=yes" --disable-nls --enable-subordinate-ids ac_cv_id32bit=yes"
@ -50,6 +50,8 @@ do_build() {
make ${makejobs} make ${makejobs}
} }
post_install() { post_install() {
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
# 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; do for f in chage passwd; do
@ -80,7 +82,7 @@ post_install() {
rm \ rm \
$DESTDIR/usr/bin/{login,su,chsh,chfn} \ $DESTDIR/usr/bin/{login,su,chsh,chfn} \
$DESTDIR/usr/sbin/{nologin,logoutd,vipw,vigr} $DESTDIR/usr/bin/{nologin,logoutd,vipw,vigr}
# ...and their many man pages # ...and their many man pages
find $DESTDIR/usr/share/man \ find $DESTDIR/usr/share/man \