From 6377ec6372586e794535e78850432ae5627b97b1 Mon Sep 17 00:00:00 2001 From: Aaditya Bagga Date: Sun, 25 Mar 2018 11:40:27 +0530 Subject: [PATCH] system/openrc: Updated for version 0.35.5. --- system/openrc/doinst.sh | 3 +++ system/openrc/openrc.SlackBuild | 5 +++-- system/openrc/openrc.info | 6 +++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/system/openrc/doinst.sh b/system/openrc/doinst.sh index 48ccc32729..3b0d696a32 100644 --- a/system/openrc/doinst.sh +++ b/system/openrc/doinst.sh @@ -22,3 +22,6 @@ done for file in "${BACKUP_CONF[@]}"; do config "etc/conf.d/${file}.new" done + +# enable cgroups service as required by openrc 0.35+ +[ ! -e etc/runlevels/sysinit/cgroups ] && /sbin/rc-update add cgroups sysinit diff --git a/system/openrc/openrc.SlackBuild b/system/openrc/openrc.SlackBuild index 4760d5f4b7..bd5c8533e6 100644 --- a/system/openrc/openrc.SlackBuild +++ b/system/openrc/openrc.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for openrc # Based upon https://aur.archlinux.org/packages/openrc/ -# Copyright 2015-2017 Aaditya Bagga +# Copyright 2015-2018 Aaditya Bagga # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openrc -VERSION=${VERSION:-0.32.1} +VERSION=${VERSION:-0.35.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -79,6 +79,7 @@ MAKEARGS+=(SBINDIR=/sbin) MAKEARGS+=(MANDIR=/usr/man) MAKEARGS+=(DOCDIR=/usr/doc/$PRGNAM-$VERSION) MAKEARGS+=(MKTERMCAP=ncurses) +MAKEARGS+=(MKBASHCOMP=yes) #MAKEARGS+=(BRANDING='Slackware Linux') make "${MAKEARGS[@]}" diff --git a/system/openrc/openrc.info b/system/openrc/openrc.info index 71fe77a4e2..e9ce266c48 100644 --- a/system/openrc/openrc.info +++ b/system/openrc/openrc.info @@ -1,8 +1,8 @@ PRGNAM="openrc" -VERSION="0.32.1" +VERSION="0.35.5" HOMEPAGE="https://github.com/OpenRC/openrc" -DOWNLOAD="https://github.com/OpenRC/openrc/archive/0.32.1.tar.gz" -MD5SUM="92672698845c006e0d466e6b1de9cc40" +DOWNLOAD="https://github.com/OpenRC/openrc/archive/0.35.5.tar.gz" +MD5SUM="56c717a04011c5997f361cba040ab923" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="%README%"