summaryrefslogtreecommitdiffstats
path: root/system/openrc-services/openrc-services.SlackBuild
diff options
context:
space:
mode:
author Aaditya Bagga2017-02-19 20:13:10 +0100
committer Willy Sudiarto Raharjo2017-02-26 02:51:55 +0100
commitf85077be7b92a6ade91007fe50733e1b61f06cf7 (patch)
treecac1a32ad328eab75b17f79f884dc2a697a4e624 /system/openrc-services/openrc-services.SlackBuild
parent02ac6cfbba59907c00c4e120d64f9adec0760452 (diff)
downloadslackbuilds-f85077be7b92a6ade91007fe50733e1b61f06cf7.tar.gz
system/openrc-services: Updated for version 20170218.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/openrc-services/openrc-services.SlackBuild')
-rw-r--r--system/openrc-services/openrc-services.SlackBuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/system/openrc-services/openrc-services.SlackBuild b/system/openrc-services/openrc-services.SlackBuild
index fc9a94075a..bcf5ba9431 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