From 9a5269548acb85ed370ef29c68131053e49cfcf3 Mon Sep 17 00:00:00 2001
From: Aaditya Bagga <aaditya_gnulinux@zoho.com>
Date: Wed, 17 May 2017 22:44:51 +0530
Subject: system/openrc-services: Updated for version 20170517.

---
 system/openrc-services/doinst.sh                  | 5 ++++-
 system/openrc-services/openrc-services.SlackBuild | 8 +++-----
 system/openrc-services/openrc-services.info       | 6 +++---
 3 files changed, 10 insertions(+), 9 deletions(-)

(limited to 'system/openrc-services')

diff --git a/system/openrc-services/doinst.sh b/system/openrc-services/doinst.sh
index 50c0a63db6..985dd3a514 100644
--- a/system/openrc-services/doinst.sh
+++ b/system/openrc-services/doinst.sh
@@ -47,4 +47,7 @@ for file in "${BACKUP_LOCAL[@]}"; do
 done
 
 # disable udev-postmount
-[ -e etc/runlevels/sysinit/udev-postmount ] && rm etc/runlevels/sysinit/udev-postmount
+[ -e etc/runlevels/sysinit/udev-postmount ] && rm -v etc/runlevels/sysinit/udev-postmount
+
+# disable kmod-static-nodes (openrc-0.26.1, 2017-05-14)
+[ -e etc/runlevels/sysinit/kmod-static-nodes ] && rm -v etc/runlevels/sysinit/kmod-static-nodes
diff --git a/system/openrc-services/openrc-services.SlackBuild b/system/openrc-services/openrc-services.SlackBuild
index 74b9fdf4b0..c67437465a 100644
--- a/system/openrc-services/openrc-services.SlackBuild
+++ b/system/openrc-services/openrc-services.SlackBuild
@@ -24,12 +24,12 @@
 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 PRGNAM=openrc-services
-VERSION=${VERSION:-20170312}
+VERSION=${VERSION:-20170517}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
 _GITNAM=aadityabagga-${PRGNAM}-ng
-_GITVER=69fadb570699
+_GITVER=769173b8ec73
 
 if [ -z "$ARCH" ]; then
   case "$( uname -m )" in
@@ -64,8 +64,7 @@ rm -rf $PKG
 mkdir -p $TMP $PKG $OUTPUT
 cd $TMP
 rm -rf $_GITNAM-$_GITVER
-[ -e $CWD/$VERSION.tar.gz ] && tar xvf $CWD/$VERSION.tar.gz
-[ -e $CWD/$_GITNAM-$_GITVER.tar.gz ] && tar xvf $CWD/$_GITNAM-$_GITVER.tar.gz
+tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$_GITNAM-$_GITVER.tar.gz
 cd $_GITNAM-$_GITVER
 chown -R root:root .
 find -L . \
@@ -85,7 +84,6 @@ install -Dm 755 misc/local.d/rcd_net.start "$PKG/etc/local.d/rcd_net.start"
 install -d "$PKG/etc/runlevels/sysinit"
 ln -sf /etc/init.d/udev "$PKG/etc/runlevels/sysinit/udev"
 ln -sf /etc/init.d/udev-trigger "$PKG/etc/runlevels/sysinit/udev-trigger"
-ln -sf /etc/init.d/kmod-static-nodes "$PKG/etc/runlevels/sysinit/kmod-static-nodes"
 
 # Backup config files
 for file in $PKG/etc/conf.d/*; do
diff --git a/system/openrc-services/openrc-services.info b/system/openrc-services/openrc-services.info
index 46663e6f41..0d4831612d 100644
--- a/system/openrc-services/openrc-services.info
+++ b/system/openrc-services/openrc-services.info
@@ -1,8 +1,8 @@
 PRGNAM="openrc-services"
-VERSION="20170312"
+VERSION="20170517"
 HOMEPAGE="https://bitbucket.org/aadityabagga/openrc-services-ng"
-DOWNLOAD="https://bitbucket.org/aadityabagga/openrc-services-ng/get/20170312.tar.gz"
-MD5SUM="20d0436d32709fadf7151b7bb1fa9063"
+DOWNLOAD="https://bitbucket.org/aadityabagga/openrc-services-ng/get/20170517.tar.gz"
+MD5SUM="683bc6c2f592e53a61524b345049b575"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES="openrc"
-- 
cgit v1.2.3