drwxr-xr-x root/root bin/
-lrwxrwxrwx root/root bin/pidof -> /sbin/killall5
drwxr-xr-x root/root sbin/
-rwxr-xr-x root/root sbin/bootlogd
-rwxr-xr-x root/root sbin/fstab-decode
-rwxr-xr-x root/root sbin/sulogin
lrwxrwxrwx root/root sbin/telinit -> init
drwxr-xr-x root/root usr/
-drwxr-xr-x root/root usr/bin/
--rwxr-xr-x root/root usr/bin/last
-lrwxrwxrwx root/root usr/bin/lastb -> last
--rwxr-xr-x root/root usr/bin/mesg
--rwxr-xr-x root/root usr/bin/wall
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/initreq.h
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/last.1.gz
--rw-r--r-- root/root usr/man/man1/lastb.1.gz
--rw-r--r-- root/root usr/man/man1/mesg.1.gz
--rw-r--r-- root/root usr/man/man1/wall.1.gz
drwxr-xr-x root/root usr/man/man5/
-rw-r--r-- root/root usr/man/man5/initscript.5.gz
-rw-r--r-- root/root usr/man/man5/inittab.5.gz
-rw-r--r-- root/root usr/man/man8/halt.8.gz
-rw-r--r-- root/root usr/man/man8/init.8.gz
-rw-r--r-- root/root usr/man/man8/killall5.8.gz
--rw-r--r-- root/root usr/man/man8/pidof.8.gz
-rw-r--r-- root/root usr/man/man8/poweroff.8.gz
-rw-r--r-- root/root usr/man/man8/reboot.8.gz
-rw-r--r-- root/root usr/man/man8/runlevel.8.gz
name=sysvinit
version=2.88
-release=1
+release=3
source=(http://download.savannah.gnu.org/releases/$name/$name-${version}dsf.tar.bz2)
build() {
cd $name-${version}dsf
make -C src CC="$CC"
make -C src ROOT=$PKG MANDIR=/usr/man install
- # Provided by util-linux
+
+ # Provided by util-linux
rm $PKG/{bin/mountpoint,usr/bin/utmpdump}
rm $PKG/usr/man/man1/{mountpoint,utmpdump}.1
+ rm $PKG/usr/bin/{last,lastb,mesg,wall}
+ rm $PKG/usr/man/man1/{last,lastb,mesg,wall}.1
+ rmdir $PKG/usr/bin
+
+ # Provided by procps
+ rm $PKG/bin/pidof
+ rm $PKG/usr/man/man8/pidof.8
install -d $PKG/var/log
touch $PKG/var/log/wtmp