diff options
-rw-r--r-- | system/openrc-services/doinst.sh | 6 | ||||
-rw-r--r-- | system/openrc-services/openrc-services.SlackBuild | 13 | ||||
-rw-r--r-- | system/openrc-services/openrc-services.info | 6 |
3 files changed, 16 insertions, 9 deletions
diff --git a/system/openrc-services/doinst.sh b/system/openrc-services/doinst.sh index c40ff87f77..7336b58b54 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 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 diff --git a/system/openrc-services/openrc-services.info b/system/openrc-services/openrc-services.info index 0621d7013b..544436744b 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" |