core/sysvinit/Pkgfile
Juergen Daubert 041ccd7f4d sysvinit: update to 2.89
the only intrusive change in this new sysvinit release is the move
of the control FIFO from /dev/initctl (version 2.88) to /run/initctl
(version 2.89). After update it's not possible to talk to the running
init daemon.
Adding a sysmlink between the two locations doesn't work, because the
symlink would overwrite the real FIFO at /run/initctl upon another
install of 2.89.

The best way to solve this issue is to restart the system after update
by running

  /etc/rc.shutdown
2018-03-29 13:46:40 +02:00

30 lines
726 B
Plaintext

# Description: The Linux System V Init
# URL: https://savannah.nongnu.org/projects/sysvinit/
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=sysvinit
version=2.89
release=1
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.bz2)
build() {
cd $name-$version
make
make ROOT=$PKG install
# Provided by util-linux
rm $PKG/usr/bin/{last,lastb,mesg,utmpdump,wall}
rm $PKG/usr/share/man/man1/{last,lastb,mesg,utmpdump,wall}.1
rmdir $PKG/usr/bin
# Provided by procps
rm $PKG/bin/pidof
rm $PKG/usr/share/man/man8/pidof.8
install -d $PKG/var/log
touch $PKG/var/log/wtmp
touch $PKG/var/log/btmp
chmod 0600 $PKG/var/log/btmp
}