summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Mahendra Subrata <mumahendras3@gmail.com>2020-10-15 20:14:14 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-17 09:36:17 +0700
commitfdde31befbfb3a662e589acd68d3c0ff580e4b76 (patch)
tree67961b88b3784e1cd2a2bf8c41d3b62e7f07dbf1
parent71bf7674d1821205931660998333c2bd56184ad1 (diff)
downloadslackbuilds-fdde31befbfb3a662e589acd68d3c0ff580e4b76.tar.gz
system/s6-rc: Updated for version 0.5.2.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/s6-rc/README4
-rw-r--r--system/s6-rc/s6-rc.SlackBuild17
-rw-r--r--system/s6-rc/s6-rc.info6
3 files changed, 9 insertions, 18 deletions
diff --git a/system/s6-rc/README b/system/s6-rc/README
index 1f11efda40..8249bb33f6 100644
--- a/system/s6-rc/README
+++ b/system/s6-rc/README
@@ -14,8 +14,8 @@ variable to the SlackBuild script like below:
LIVE_DIR=/path/to/directory ./s6-rc.SlackBuild
Make sure /path/to/directory is readable and writable by s6-rc or it
-will not work correctly. Using a RAM filesystem as the live directory is
-preferred.
+will not work correctly. A good recommendation is to put the live
+directory inside a RAM filesystem (e.g. tmpfs).
Upstream recommends building skarnet.org softwares with static libraries
as most of skarnet.org softwares are small enough that using shared
diff --git a/system/s6-rc/s6-rc.SlackBuild b/system/s6-rc/s6-rc.SlackBuild
index 645479738c..073faed9f6 100644
--- a/system/s6-rc/s6-rc.SlackBuild
+++ b/system/s6-rc/s6-rc.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=s6-rc
-VERSION=${VERSION:-0.5.1.2}
+VERSION=${VERSION:-0.5.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,24 +58,15 @@ fi
# BUILD_SHARED=yes to this script
BUILD_STATIC=${BUILD_STATIC:-yes}
BUILD_SHARED=${BUILD_SHARED:-no}
-
-if [ "$BUILD_STATIC" = "no" ]; then
- LIBS_CONF="--disable-static"
-fi
-
-if [ "$BUILD_SHARED" = "yes" ]; then
- LIBS_CONF="--enable-shared $LIBS_CONF"
-fi
+[ "$BUILD_STATIC" = "no" ] && LIBS_CONF="--disable-static"
+[ "$BUILD_SHARED" = "yes" ] && LIBS_CONF="--enable-shared $LIBS_CONF"
# By default, all binaries are linked against the static versions of the skarnet.org libraries
# Pass LINK_SHARED=yes to link the binaries against the shared versions of the skarnet.org libraries
# Also, if you only built the shared versions of the skarnet.org libraries, the binaries will be
# linked against shared libraries automatically, as though LINK_SHARED=yes is passed to this script
LINK_SHARED=${LINK_SHARED:-no}
-
-if [ "$LINK_SHARED" = "yes" ]; then
- LIBS_CONF="--disable-allstatic $LIBS_CONF"
-fi
+[ "$LINK_SHARED" = "yes" ] && LIBS_CONF="--disable-allstatic $LIBS_CONF"
# /run/s6-rc is the default live directory, pass LIVE_DIR=/path/to/directory to this script to change it
# make sure /path/to/directory is readable and writable by s6-rc or it will not work correctly
diff --git a/system/s6-rc/s6-rc.info b/system/s6-rc/s6-rc.info
index 4ab522e3fd..291501e8cd 100644
--- a/system/s6-rc/s6-rc.info
+++ b/system/s6-rc/s6-rc.info
@@ -1,8 +1,8 @@
PRGNAM="s6-rc"
-VERSION="0.5.1.2"
+VERSION="0.5.2.0"
HOMEPAGE="https://skarnet.org/software/s6-rc/"
-DOWNLOAD="https://skarnet.org/software/s6-rc/s6-rc-0.5.1.2.tar.gz"
-MD5SUM="4317044ae5fd8e8494989da987430183"
+DOWNLOAD="https://skarnet.org/software/s6-rc/s6-rc-0.5.2.0.tar.gz"
+MD5SUM="62287a1adad875848c0d85861dc8139e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="s6"