[arch-commits] Commit in sysvinit-tools/trunk (PKGBUILD)
Dave Reisner
dreisner at nymeria.archlinux.org
Mon Oct 21 14:46:21 UTC 2013
Date: Monday, October 21, 2013 @ 16:46:21
Author: dreisner
Revision: 197041
upgpkg: sysvinit-tools 2.88-12
- remove last and lastb (provided by util-linux-2.24)
Modified:
sysvinit-tools/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-21 14:45:58 UTC (rev 197040)
+++ PKGBUILD 2013-10-21 14:46:21 UTC (rev 197041)
@@ -4,7 +4,7 @@
pkgname=sysvinit-tools
pkgver=2.88
-pkgrel=11
+pkgrel=12
arch=('i686' 'x86_64')
url="http://savannah.nongnu.org/projects/sysvinit"
license=('GPL')
@@ -34,12 +34,11 @@
cd "${pkgdir}"
### drop the stuff provided by systemd-sysvcompat and util-linux
- rm -r usr/share/man/man5
+ rm -r usr/share/man/man[15]
rm -r usr/include
rm bin/mountpoint
rm sbin/{halt,init,poweroff,reboot,runlevel,shutdown,telinit,sulogin}
- rm usr/bin/{mesg,utmpdump,wall}
- rm usr/share/man/man1/{mountpoint,mesg,utmpdump,wall}.1
+ rm usr/bin/{mesg,utmpdump,wall,last{,b}}
rm usr/share/man/man8/{halt,init,poweroff,reboot,runlevel,shutdown,telinit,sulogin}.8
### usrmerge
mv sbin/* usr/bin/
@@ -46,4 +45,8 @@
rm -r sbin
mv bin/* usr/bin/
rm -r bin
+
+ # recreate pidof symlink so it points to the "right" place
+ rm "$pkgdir/usr/bin/pidof"
+ ln -s killall5 "$pkgdir/usr/bin/pidof"
}
More information about the arch-commits
mailing list