aboutsummaryrefslogtreecommitdiff
path: root/system/s6/s6.SlackBuild
diff options
context:
space:
mode:
authorMuhammad Mahendra Subrata <mumahendras3@gmail.com>2022-02-12 18:12:52 +0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 22:24:35 +0700
commit2a88d0b1fed1f7ad61d31e5b780c0de1968cd119 (patch)
tree6f6770d01a208fb5b22232438ac0d81e21dc2ac9 /system/s6/s6.SlackBuild
parentb45e080d1821714c8cc020cbd1edc35e3012ae66 (diff)
system/s6: Updated for version 2.11.0.1, move root-only binaries to /sbin
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/s6/s6.SlackBuild')
-rw-r--r--system/s6/s6.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/system/s6/s6.SlackBuild b/system/s6/s6.SlackBuild
index dcb7c62560050..f41824641e57c 100644
--- a/system/s6/s6.SlackBuild
+++ b/system/s6/s6.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=s6
-VERSION=${VERSION:-2.10.0.3}
+VERSION=${VERSION:-2.11.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -120,10 +120,14 @@ make
make strip
make install DESTDIR=$PKG
-# Promote s6-svscanboot to /bin for users that want to use s6
-# alongside the system's default init system
-install examples/s6-svscanboot $PKG/bin
-sed -i 's|command|bin|g' $PKG/bin/s6-svscanboot
+# Move root-only programs to /sbin
+mkdir $PKG/sbin
+mv $PKG/bin/s6-{set,apply}uidgid $PKG/sbin
+
+# Promote s6-svscanboot to /sbin for users that want to use s6
+# alongside Slackware's default init system
+install examples/s6-svscanboot $PKG/sbin
+sed -i 's|command|bin|g' $PKG/sbin/s6-svscanboot
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL NEWS README doc examples $PKG/usr/doc/$PRGNAM-$VERSION