shadow: also remove logoutd.8.
This commit is contained in:
parent
938640af59
commit
16a6bcc283
1 changed files with 5 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'shadow'
|
# Template file for 'shadow'
|
||||||
pkgname=shadow
|
pkgname=shadow
|
||||||
version=4.1.5.1
|
version=4.1.5.1
|
||||||
revision=10
|
revision=11
|
||||||
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
|
||||||
|
@ -66,14 +66,14 @@ post_install() {
|
||||||
install -Dm744 ${FILESDIR}/shadow.cron-daily \
|
install -Dm744 ${FILESDIR}/shadow.cron-daily \
|
||||||
${DESTDIR}/etc/cron.daily/shadow
|
${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
|
rm -f ${DESTDIR}/usr/share/man/man1/groups.1
|
||||||
|
|
||||||
# Remove utilities provided by util-linux
|
# Remove utilities provided by util-linux and logoutd.
|
||||||
rm \
|
rm \
|
||||||
$DESTDIR/usr/bin/{chsh,chfn,sg} \
|
$DESTDIR/usr/bin/{chsh,chfn,sg} \
|
||||||
$DESTDIR/usr/bin/{newgrp,login,su} \
|
$DESTDIR/usr/bin/{newgrp,login,su} \
|
||||||
$DESTDIR/usr/sbin/{vipw,vigr}
|
$DESTDIR/usr/sbin/{logoutd,vipw,vigr}
|
||||||
|
|
||||||
# ...and their many man pages
|
# ...and their many man pages
|
||||||
find $DESTDIR/usr/share/man \
|
find $DESTDIR/usr/share/man \
|
||||||
|
@ -83,11 +83,9 @@ post_install() {
|
||||||
-name 'login.1' -o \
|
-name 'login.1' -o \
|
||||||
-name 'vipw.8' -o \
|
-name 'vipw.8' -o \
|
||||||
-name 'vigr.8' -o \
|
-name 'vigr.8' -o \
|
||||||
|
-name 'logoutd.8' -o \
|
||||||
-name 'newgrp.1' ')' \
|
-name 'newgrp.1' ')' \
|
||||||
-delete
|
-delete
|
||||||
|
|
||||||
# Remove logoutd, useless.
|
|
||||||
rm -f ${DESTDIR}/usr/sbin/logoutd
|
|
||||||
|
|
||||||
vinstall $FILESDIR/LICENSE 644 usr/share/licenses/shadow
|
vinstall $FILESDIR/LICENSE 644 usr/share/licenses/shadow
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue