summaryrefslogtreecommitdiff
path: root/source/a/sysvinit
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/sysvinit')
-rwxr-xr-xsource/a/sysvinit/sysvinit.SlackBuild5
-rw-r--r--source/a/sysvinit/sysvinit.version.2.93.diff17
2 files changed, 21 insertions, 1 deletions
diff --git a/source/a/sysvinit/sysvinit.SlackBuild b/source/a/sysvinit/sysvinit.SlackBuild
index 6cfe01e9..457307e1 100755
--- a/source/a/sysvinit/sysvinit.SlackBuild
+++ b/source/a/sysvinit/sysvinit.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=sysvinit
VERSION=${VERSION:-2.93}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -65,6 +65,9 @@ find . \
# Fix paths for /etc/forcefsck and /etc/fastboot:
zcat $CWD/sysvinit.paths.diff.gz | patch -p1 -E --verbose --backup --suffix=.orig || exit 1
+# Fix failure to show program version:
+zcat $CWD/sysvinit.version.2.93.diff.gz | patch -p1 --verbose || exit 1
+
# Use /dev/initctl instead of /run/initctl ; this is a named pipe and probably
# should be in /dev anyway, but more importantly, having the upgraded package
# expect it in /run breaks shutdown/reboot without manual intervention:
diff --git a/source/a/sysvinit/sysvinit.version.2.93.diff b/source/a/sysvinit/sysvinit.version.2.93.diff
new file mode 100644
index 00000000..07b9b121
--- /dev/null
+++ b/source/a/sysvinit/sysvinit.version.2.93.diff
@@ -0,0 +1,17 @@
+--- ./src/init.c.orig 2018-11-24 10:38:12.000000000 -0600
++++ ./src/init.c 2019-01-08 23:56:31.143232075 -0600
+@@ -9,12 +9,8 @@
+ * Version: init.c 2.90 18-Jun-2018 jsmith@resonatingmedia.com
+ */
+
+-/*
+-Version information is not placed in the top-level Makefile by default
+-*/
+-#ifndef VERSION
+-#define VERSION "2.91"
+-#endif
++#define VERSION "2.93"
++
+ /*
+ * This file is part of the sysvinit suite,
+ * Copyright (C) 1991-2004 Miquel van Smoorenburg.