summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2017-05-17 22:44:51 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-20 06:54:11 +0700
commit9a5269548acb85ed370ef29c68131053e49cfcf3 (patch)
tree795d41c73ff7c73e8ff5112f3398be584f2b7a27
parentcaec6497dc2c0e8a2b04453f5aa1268c1fc925b1 (diff)
downloadslackbuilds-9a5269548acb85ed370ef29c68131053e49cfcf3.tar.gz
system/openrc-services: Updated for version 20170517.
-rw-r--r--system/openrc-services/doinst.sh5
-rw-r--r--system/openrc-services/openrc-services.SlackBuild8
-rw-r--r--system/openrc-services/openrc-services.info6
3 files changed, 10 insertions, 9 deletions
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"