bin/mountpoint
bin/pidof
+#etc/inittab.d
#sbin/bootlogd
#sbin/fstab-decode
sbin/halt
usr/bin/last
usr/bin/lastb
usr/bin/mesg
+#usr/bin/readbootlog
usr/bin/utmpdump
usr/bin/wall
#usr/include/initreq.h
#usr/share/man/man1/lastb.1
#usr/share/man/man1/mesg.1
#usr/share/man/man1/mountpoint.1
+#usr/share/man/man1/readbootlog.1
#usr/share/man/man1/utmpdump.1
#usr/share/man/man1/wall.1
+#usr/share/man/man5/initctl.5
#usr/share/man/man5/initscript.5
#usr/share/man/man5/inittab.5
#usr/share/man/man8/bootlogd.8
include Config
-VER = 2.88dsf
+VER = 2.98
THISAPP = sysvinit-$(VER)
-DL_FILE = $(THISAPP).tar.bz2
+DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 6eda8a97b86e0a6f59dabbf25202aa6f
+$(DL_FILE)_MD5 = e3254f7622ea5cf2322b1b386a98ba59
install : $(TARGET)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
# Newer C libraries omit this include from sys/types.h.
# https://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00018.html
+ cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/sysvinit-2.98_build_mountpoint.patch
cd $(DIR_APP) && sed -i src/mountpoint.c src/bootlogd.c \
-e "/include.*sys\/stat.h/a#include <sys/sysmacros.h>\n"
cd $(DIR_APP) && sed -e "s/libcrypt.a/libcrypt.so/g" -i src/Makefile
--- /dev/null
+diff -aup sysvinit-2.98/src/Makefile.orig sysvinit-2.98/src/Makefile
+--- sysvinit-2.98/src/Makefile.orig 2021-02-12 14:31:56.325112868 +0100
++++ sysvinit-2.98/src/Makefile 2021-02-12 14:31:56.257086870 +0100
+@@ -19,7 +19,7 @@ MANDB := s@^\('\\\\\"\)[^\*-]*-\*- codin
+ # Leave empty if the mountpoint(1) command from util-linux 2.20
+ # and above should be used, otherwise set it to yes.
+ #
+-MNTPOINT=
++MNTPOINT=yes
+
+ # For some known distributions we do not build all programs, otherwise we do.
+ BIN =