2006-02-23 16:26:10 +01:00
|
|
|
# Description: The Linux System V Init
|
2021-09-25 09:02:31 +02:00
|
|
|
# URL: https://savannah.nongnu.org/projects/sysvinit/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=sysvinit
|
2023-08-18 10:08:38 +02:00
|
|
|
version=3.08
|
2018-03-29 13:46:40 +02:00
|
|
|
release=1
|
2022-08-22 10:37:40 +02:00
|
|
|
source=(https://github.com/slicer69/sysvinit/releases/download/$version/$name-$version.tar.xz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2021-09-25 09:02:31 +02:00
|
|
|
cd $name-$version
|
2012-08-08 10:13:43 +02:00
|
|
|
|
2022-08-22 10:37:40 +02:00
|
|
|
find man -type d -name '??' -exec rm -r {} +
|
|
|
|
|
2021-09-25 09:02:31 +02:00
|
|
|
make
|
|
|
|
make ROOT=$PKG install
|
2012-08-08 10:13:43 +02:00
|
|
|
|
2021-09-25 09:02:31 +02:00
|
|
|
# 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
|
2014-02-15 17:21:34 +01:00
|
|
|
|
2021-09-25 09:02:31 +02:00
|
|
|
# Provided by procps
|
|
|
|
rm $PKG/bin/pidof
|
|
|
|
rm $PKG/usr/share/man/man8/pidof.8
|
2012-08-08 10:13:43 +02:00
|
|
|
|
2021-09-25 09:02:31 +02:00
|
|
|
# Provided by e2fsprogs
|
|
|
|
rm $PKG/sbin/logsave
|
|
|
|
rm $PKG/usr/share/man/man8/logsave.8
|
2019-02-27 11:34:53 +01:00
|
|
|
|
2021-09-25 09:02:31 +02:00
|
|
|
install -d $PKG/var/log
|
|
|
|
touch $PKG/var/log/wtmp
|
|
|
|
touch $PKG/var/log/btmp
|
|
|
|
chmod 0600 $PKG/var/log/btmp
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|