2006-02-23 16:26:10 +01:00
|
|
|
# Description: The Linux System V Init
|
2010-09-14 20:58:06 +02:00
|
|
|
# URL: https://savannah.nongnu.org/projects/sysvinit/
|
2007-01-23 18:25:18 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=sysvinit
|
2019-09-15 12:38:45 +02:00
|
|
|
version=2.96
|
2018-03-29 13:46:40 +02:00
|
|
|
release=1
|
2018-06-19 23:22:04 +02:00
|
|
|
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2018-03-29 13:46:40 +02:00
|
|
|
cd $name-$version
|
2012-08-08 10:13:43 +02:00
|
|
|
|
2010-09-14 20:58:06 +02:00
|
|
|
make
|
2015-07-25 21:04:19 +02:00
|
|
|
make ROOT=$PKG install
|
2012-08-08 10:13:43 +02:00
|
|
|
|
2018-12-03 23:15:28 +01:00
|
|
|
# Provided by util-linux
|
2018-03-29 13:46:40 +02:00
|
|
|
rm $PKG/usr/bin/{last,lastb,mesg,utmpdump,wall}
|
|
|
|
rm $PKG/usr/share/man/man1/{last,lastb,mesg,utmpdump,wall}.1
|
2014-02-15 17:21:34 +01:00
|
|
|
|
|
|
|
# Provided by procps
|
|
|
|
rm $PKG/bin/pidof
|
2015-07-25 21:04:19 +02:00
|
|
|
rm $PKG/usr/share/man/man8/pidof.8
|
2012-08-08 10:13:43 +02:00
|
|
|
|
2019-02-27 11:34:53 +01:00
|
|
|
# Provided by e2fsprogs
|
|
|
|
rm $PKG/sbin/logsave
|
|
|
|
rm $PKG/usr/share/man/man8/logsave.8
|
|
|
|
|
2010-09-14 20:58:06 +02:00
|
|
|
install -d $PKG/var/log
|
2006-02-23 16:26:10 +01:00
|
|
|
touch $PKG/var/log/wtmp
|
|
|
|
touch $PKG/var/log/btmp
|
|
|
|
chmod 0600 $PKG/var/log/btmp
|
|
|
|
}
|