aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2017-02-20 00:43:10 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-26 08:51:55 +0700
commitf85077be7b92a6ade91007fe50733e1b61f06cf7 (patch)
treecac1a32ad328eab75b17f79f884dc2a697a4e624 /system
parent02ac6cfbba59907c00c4e120d64f9adec0760452 (diff)
system/openrc-services: Updated for version 20170218.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/openrc-services/doinst.sh6
-rw-r--r--system/openrc-services/openrc-services.SlackBuild13
-rw-r--r--system/openrc-services/openrc-services.info6
3 files changed, 16 insertions, 9 deletions
diff --git a/system/openrc-services/doinst.sh b/system/openrc-services/doinst.sh
index c40ff87f7752..7336b58b54bc 100644
--- a/system/openrc-services/doinst.sh
+++ b/system/openrc-services/doinst.sh
@@ -37,12 +37,14 @@ for file in "${openrc_accessibility[@]}" "${openrc_base[@]}" "${openrc_desktop[@
done
BACKUP_FILE=(logrotate.d/jenkins)
-
for file in "${BACKUP_FILE[@]}"; do
config "etc/${file}.new"
done
-preserve_perms etc/local.d/rcM.start.new
+BACKUP_LOCAL=(rcM.start rcd_net.start)
+for file in "${BACKUP_LOCAL[@]}"; do
+ preserve_perms etc/local.d/${file}.new
+done
# disable udev-postmount
[ -e etc/runlevels/sysinit/udev-postmount ] && rm etc/runlevels/sysinit/udev-postmount
diff --git a/system/openrc-services/openrc-services.SlackBuild b/system/openrc-services/openrc-services.SlackBuild
index fc9a94075af2..bcf5ba94315d 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:-20170217}
+VERSION=${VERSION:-20170218}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
_GITNAM=aadityabagga-${PRGNAM}-ng
-_GITVER=a41f2e816476
+_GITVER=6f20975d6500
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -77,8 +77,9 @@ find -L . \
# Install
sh install.sh "$PKG"
-# Install rcM.start
-install -Dm 644 misc/local.d/rcM.start "$PKG/etc/local.d/rcM.start.new"
+# Install slackware compatibility services
+install -Dm 644 misc/local.d/rcM.start "$PKG/etc/local.d/rcM.start"
+install -Dm 755 misc/local.d/rcd_net.start "$PKG/etc/local.d/rcd_net.start"
# Enable some basic services
install -d "$PKG/etc/runlevels/sysinit"
@@ -95,6 +96,10 @@ for file in $PKG/etc/logrotate.d/*; do
mv "$file" "${file}.new"
done
+for file in $PKG/etc/local.d/*; do
+ mv "$file" "${file}.new"
+done
+
mkdir -p $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 0621d7013b0f..544436744bfd 100644
--- a/system/openrc-services/openrc-services.info
+++ b/system/openrc-services/openrc-services.info
@@ -1,8 +1,8 @@
PRGNAM="openrc-services"
-VERSION="20170217"
+VERSION="20170218"
HOMEPAGE="https://bitbucket.org/aadityabagga/openrc-services-ng"
-DOWNLOAD="https://bitbucket.org/aadityabagga/openrc-services-ng/get/20170217.tar.gz"
-MD5SUM="144a52c0f3d8bb2f1b184efa9bd03ab4"
+DOWNLOAD="https://bitbucket.org/aadityabagga/openrc-services-ng/get/20170218.tar.gz"
+MD5SUM="37ac70576d43374b58bc1e5ceda4ef63"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="openrc"