summaryrefslogtreecommitdiff
path: root/system/runc
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2020-04-14 19:27:37 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:34 +0700
commit9831887286990cfdbfb44ebd59d70fe4b268f2c8 (patch)
treea6962a52c73665e801b0a02721998a5d11fbc904 /system/runc
parent59a0c54a1294ad62c296f46651b07daeed2881e4 (diff)
downloadslackbuilds-9831887286990cfdbfb44ebd59d70fe4b268f2c8.tar.gz
system/runc: Updated for version 1.0.0_rc10.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/runc')
-rw-r--r--system/runc/runc.SlackBuild18
-rw-r--r--system/runc/runc.info6
2 files changed, 13 insertions, 11 deletions
diff --git a/system/runc/runc.SlackBuild b/system/runc/runc.SlackBuild
index 68a75686f5..773d9307e2 100644
--- a/system/runc/runc.SlackBuild
+++ b/system/runc/runc.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for runc
# Copyright 2016 Asaf Ohayon <asaf@sysbind.co.il>
-# Copyright 2017-2019 Audrius Kažukauskas <audrius@neutrino.lt>
+# Copyright 2017-2020 Audrius Kažukauskas <audrius@neutrino.lt>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,11 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=runc
-VERSION=${VERSION:-1.0.0_rc6_8084f76}
-GITHASH=${GITHASH:-8084f7611e4677174c8dbeb17152f3390fa41952}
+VERSION=${VERSION:-1.0.0_rc10}
+GITHASH=${GITHASH:-dc9208a3303feef5b3839f4323d9beb36df0a9dd}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=$(echo $VERSION | tr _ -)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -47,9 +49,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$GITHASH
-tar xvf $CWD/$PRGNAM-$GITHASH.tar.gz
-cd $PRGNAM-$GITHASH
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -59,14 +61,14 @@ find -L . \
mkdir build
mv vendor build/src
-ln -sf $TMP/$PRGNAM-$GITHASH build/src/github.com/opencontainers/runc
+ln -sf $TMP/$PRGNAM-$SRCVER build/src/github.com/opencontainers/runc
# Do not try to get git commit hash, we're not inside git repository.
sed -i '/^COMMIT/d' Makefile
make \
COMMIT=$GITHASH \
- GOPATH=$TMP/$PRGNAM-$GITHASH/build
+ GOPATH=$TMP/$PRGNAM-$SRCVER/build
make install BINDIR=$PKG/usr/bin
make install-bash PREFIX=$PKG/usr
diff --git a/system/runc/runc.info b/system/runc/runc.info
index b3839d46b4..74fdcec17b 100644
--- a/system/runc/runc.info
+++ b/system/runc/runc.info
@@ -1,10 +1,10 @@
PRGNAM="runc"
-VERSION="1.0.0_rc6_8084f76"
+VERSION="1.0.0_rc10"
HOMEPAGE="https://github.com/opencontainers/runc"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/opencontainers/runc/archive/8084f76/runc-8084f7611e4677174c8dbeb17152f3390fa41952.tar.gz"
-MD5SUM_x86_64="4b48d73ad5764ecbd6f002681d0b5e42"
+DOWNLOAD_x86_64="https://github.com/opencontainers/runc/archive/v1.0.0-rc10/runc-1.0.0-rc10.tar.gz"
+MD5SUM_x86_64="8aba10b1dd251a039eefd5ac028244f3"
REQUIRES="google-go-lang libseccomp"
MAINTAINER="Audrius Kažukauskas"
EMAIL="audrius@neutrino.lt"