From 63ba647c7eaeba6eb0130ce578c088a108b01bcf Mon Sep 17 00:00:00 2001 From: Aaditya Bagga Date: Sun, 26 Sep 2021 22:07:19 +0530 Subject: system/openrc-services: Updated for version 20210926. Signed-off-by: Willy Sudiarto Raharjo --- system/openrc-services/doinst.sh | 7 +++++++ system/openrc-services/openrc-services.SlackBuild | 9 ++------- system/openrc-services/openrc-services.info | 8 ++++---- 3 files changed, 13 insertions(+), 11 deletions(-) (limited to 'system/openrc-services') diff --git a/system/openrc-services/doinst.sh b/system/openrc-services/doinst.sh index 0d935bab1f..58c12240fd 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 1f781354ec..e42068eb5c 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 c52dd5ae89..e7271c19dc 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" -- cgit v1.2.3