shadow: also remove logoutd.8.

This commit is contained in:
Juan RP 2012-11-17 21:38:57 +01:00
parent 938640af59
commit 16a6bcc283

View File

@ -1,7 +1,7 @@
# Template file for 'shadow'
pkgname=shadow
version=4.1.5.1
revision=10
revision=11
build_style=gnu-configure
configure_args="--bindir=/usr/bin --sbindir=/usr/sbin
--libdir=/usr/lib --enable-shared --disable-static
@ -66,14 +66,14 @@ post_install() {
install -Dm744 ${FILESDIR}/shadow.cron-daily \
${DESTDIR}/etc/cron.daily/shadow
# Remove groups.1 manpages that comes with coreutils.
# Remove groups.1 manpage provided by coreutils.
rm -f ${DESTDIR}/usr/share/man/man1/groups.1
# Remove utilities provided by util-linux
# Remove utilities provided by util-linux and logoutd.
rm \
$DESTDIR/usr/bin/{chsh,chfn,sg} \
$DESTDIR/usr/bin/{newgrp,login,su} \
$DESTDIR/usr/sbin/{vipw,vigr}
$DESTDIR/usr/sbin/{logoutd,vipw,vigr}
# ...and their many man pages
find $DESTDIR/usr/share/man \
@ -83,11 +83,9 @@ post_install() {
-name 'login.1' -o \
-name 'vipw.8' -o \
-name 'vigr.8' -o \
-name 'logoutd.8' -o \
-name 'newgrp.1' ')' \
-delete
# Remove logoutd, useless.
rm -f ${DESTDIR}/usr/sbin/logoutd
vinstall $FILESDIR/LICENSE 644 usr/share/licenses/shadow
}