diff options
Diffstat (limited to 'sysvinit')
-rw-r--r-- | sysvinit/.footprint.i686 | 14 | ||||
-rw-r--r-- | sysvinit/.footprint.x86_64 | 11 | ||||
-rwxr-xr-x | sysvinit/Pkgfile | 17 |
3 files changed, 12 insertions, 30 deletions
diff --git a/sysvinit/.footprint.i686 b/sysvinit/.footprint.i686 index 2e687a55b..29ea9f7b7 100644 --- a/sysvinit/.footprint.i686 +++ b/sysvinit/.footprint.i686 @@ -3,21 +3,15 @@ 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/halt --rwxr-xr-x root/root sbin/init -rwxr-xr-x root/root sbin/killall5 -lrwxrwxrwx root/root sbin/poweroff -> halt -lrwxrwxrwx root/root sbin/reboot -> halt --rwxr-xr-x root/root sbin/runlevel --rwxr-xr-x root/root sbin/shutdown -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/utmpdump +-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/share/ @@ -34,13 +28,7 @@ drwxr-xr-x root/root usr/share/man/man5/ drwxr-xr-x root/root usr/share/man/man8/ -rw-r--r-- root/root usr/share/man/man8/bootlogd.8.gz -rw-r--r-- root/root usr/share/man/man8/fstab-decode.8.gz --rw-r--r-- root/root usr/share/man/man8/halt.8.gz -rw-r--r-- root/root usr/share/man/man8/init.8.gz -rw-r--r-- root/root usr/share/man/man8/killall5.8.gz -rw-r--r-- root/root usr/share/man/man8/pidof.8.gz --rw-r--r-- root/root usr/share/man/man8/poweroff.8.gz --rw-r--r-- root/root usr/share/man/man8/reboot.8.gz --rw-r--r-- root/root usr/share/man/man8/runlevel.8.gz --rw-r--r-- root/root usr/share/man/man8/shutdown.8.gz -rw-r--r-- root/root usr/share/man/man8/sulogin.8.gz --rw-r--r-- root/root usr/share/man/man8/telinit.8.gz diff --git a/sysvinit/.footprint.x86_64 b/sysvinit/.footprint.x86_64 index 2e687a55b..6afffc4e0 100644 --- a/sysvinit/.footprint.x86_64 +++ b/sysvinit/.footprint.x86_64 @@ -3,13 +3,9 @@ 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/halt --rwxr-xr-x root/root sbin/init -rwxr-xr-x root/root sbin/killall5 lrwxrwxrwx root/root sbin/poweroff -> halt lrwxrwxrwx root/root sbin/reboot -> halt --rwxr-xr-x root/root sbin/runlevel --rwxr-xr-x root/root sbin/shutdown -rwxr-xr-x root/root sbin/sulogin lrwxrwxrwx root/root sbin/telinit -> init drwxr-xr-x root/root usr/ @@ -18,6 +14,7 @@ drwxr-xr-x root/root usr/bin/ lrwxrwxrwx root/root usr/bin/lastb -> last -rwxr-xr-x root/root usr/bin/mesg -rwxr-xr-x root/root usr/bin/utmpdump +-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/share/ @@ -34,13 +31,7 @@ drwxr-xr-x root/root usr/share/man/man5/ drwxr-xr-x root/root usr/share/man/man8/ -rw-r--r-- root/root usr/share/man/man8/bootlogd.8.gz -rw-r--r-- root/root usr/share/man/man8/fstab-decode.8.gz --rw-r--r-- root/root usr/share/man/man8/halt.8.gz -rw-r--r-- root/root usr/share/man/man8/init.8.gz -rw-r--r-- root/root usr/share/man/man8/killall5.8.gz -rw-r--r-- root/root usr/share/man/man8/pidof.8.gz --rw-r--r-- root/root usr/share/man/man8/poweroff.8.gz --rw-r--r-- root/root usr/share/man/man8/reboot.8.gz --rw-r--r-- root/root usr/share/man/man8/runlevel.8.gz --rw-r--r-- root/root usr/share/man/man8/shutdown.8.gz -rw-r--r-- root/root usr/share/man/man8/sulogin.8.gz --rw-r--r-- root/root usr/share/man/man8/telinit.8.gz diff --git a/sysvinit/Pkgfile b/sysvinit/Pkgfile index 6c9070a2a..732e97dd6 100755 --- a/sysvinit/Pkgfile +++ b/sysvinit/Pkgfile @@ -6,18 +6,21 @@ name=sysvinit version=2.88dsf -release=2 +release=3 source=(http://ftp.twaren.net/Unix/NonGNU/sysvinit/sysvinit-$version.tar.bz2) build() { -cd $name-$version - + cd $name-$version sed -i 's@Sending processes@& configured via /etc/inittab@g' src/init.c - sed -i -e 's/utmpdump wall/utmpdump/' src/Makefile + + sed "s|init halt shutdown runlevel killall5 fstab-decode|killall5 fstab-decode|" -i src/Makefile + sed "s|halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8|init.8 killall5.8 pidof.8|" -i src/Makefile + sed "s|shutdown.8 telinit.8 fstab-decode.8|fstab-decode.8|" -i src/Makefile + sed "s|mountpoint||" -i src/Makefile + sed "s|mountpoint.1||" -i src/Makefile + make make ROOT=$PKG install - # mountpoint fournis par util-linux - rm $PKG/bin/mountpoint - rm $PKG/usr/share/man/man1/mountpoint.1 + rm $PKG/sbin/{poweroff,reboot,telinit} } |