aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2021-09-26 22:07:19 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-30 13:52:04 +0700
commit63ba647c7eaeba6eb0130ce578c088a108b01bcf (patch)
tree6c50b73a0968fb530ac3d2ee988bd38851a2eb66 /system
parent07c3fcfbecb8dacd42fe69982b8cc4811a495931 (diff)
system/openrc-services: Updated for version 20210926.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/openrc-services/doinst.sh7
-rw-r--r--system/openrc-services/openrc-services.SlackBuild9
-rw-r--r--system/openrc-services/openrc-services.info8
3 files changed, 13 insertions, 11 deletions
diff --git a/system/openrc-services/doinst.sh b/system/openrc-services/doinst.sh
index 0d935bab1f137..58c12240fda65 100644
--- a/system/openrc-services/doinst.sh
+++ b/system/openrc-services/doinst.sh
@@ -31,8 +31,15 @@ for file in etc/openrc/local.d/*.new; do
preserve_perms "${file}"
done
+# Enable some basic services
+[ ! -e "etc/openrc/runlevels/sysinit/udev" ] && ln -s /etc/openrc/init.d/udev "etc/openrc/runlevels/sysinit/udev"
+[ ! -e "etc/openrc/runlevels/sysinit/udev-trigger" ] && ln -s /etc/openrc/init.d/udev-trigger "etc/openrc/runlevels/sysinit/udev-trigger"
+
# disable udev-postmount
[ -e "etc/openrc/runlevels/sysinit/udev-postmount" ] && rm -v "etc/openrc/runlevels/sysinit/udev-postmount"
# disable kmod-static-nodes (openrc-0.26.1, 2017-05-14)
[ -e "etc/openrc/runlevels/sysinit/kmod-static-nodes" ] && rm -v "etc/openrc/runlevels/sysinit/kmod-static-nodes"
+
+# maintain compatibilty with previous xdm script
+ln -sf /usr/bin/startDM "etc/X11/startDM.sh"
diff --git a/system/openrc-services/openrc-services.SlackBuild b/system/openrc-services/openrc-services.SlackBuild
index 1f781354eccb2..e42068eb5c48b 100644
--- a/system/openrc-services/openrc-services.SlackBuild
+++ b/system/openrc-services/openrc-services.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openrc-services
-VERSION=${VERSION:-20190917}
+VERSION=${VERSION:-20210926}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -87,11 +87,6 @@ SYSCONFDIR="$SYSCONFDIR" sh install.sh "$PKG"
# Install slackware compatibility services
install -Dm 644 misc/local.d/rcM.start "$PKG/etc/openrc/local.d/rcM.start"
-# Enable some basic services
-install -d "$PKG/etc/openrc/runlevels/sysinit"
-ln -sf /etc/openrc/init.d/udev "$PKG/etc/openrc/runlevels/sysinit/udev"
-ln -sf /etc/openrc/init.d/udev-trigger "$PKG/etc/openrc/runlevels/sysinit/udev-trigger"
-
# Backup config files
for file in $PKG/etc/openrc/conf.d/*; do
mv "$file" "${file}.new"
@@ -103,7 +98,7 @@ done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- README.md COPYING \
+ README.md COPYING NEWS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/openrc-services/openrc-services.info b/system/openrc-services/openrc-services.info
index c52dd5ae896dc..e7271c19dcaab 100644
--- a/system/openrc-services/openrc-services.info
+++ b/system/openrc-services/openrc-services.info
@@ -1,8 +1,8 @@
PRGNAM="openrc-services"
-VERSION="20190917"
-HOMEPAGE="https://gitlab.com/aadityabagga/openrc-services"
-DOWNLOAD="https://gitlab.com/aadityabagga/openrc-services/-/archive/20190917/openrc-services-20190917.tar.gz"
-MD5SUM="96aa3c1c9380b67ae61565baf3f123a9"
+VERSION="20210926"
+HOMEPAGE="https://gitlab.com/abchk1234/openrc-services"
+DOWNLOAD="https://gitlab.com/abchk1234/openrc-services/-/archive/20210926/openrc-services-20210926.tar.gz"
+MD5SUM="1cfc9b0e1e993060fcd0609f19cd506c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="openrc"