summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2021-01-09 18:00:27 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-17 08:45:10 +0700
commite16eab7dcf6eaad865f3eb3f0404b9ef63e61e35 (patch)
tree02c500cc7e739c2d435b88f787490baa3554d150
parentefec6a0337f539386bdfde6d18a261a56f9df9f5 (diff)
downloadslackbuilds-e16eab7dcf6eaad865f3eb3f0404b9ef63e61e35.tar.gz
system/runc: Updated for version 1.0.0_rc92.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/runc/runc.SlackBuild14
-rw-r--r--system/runc/runc.info6
2 files changed, 8 insertions, 12 deletions
diff --git a/system/runc/runc.SlackBuild b/system/runc/runc.SlackBuild
index 773d9307e2..4352b4126f 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-2020 Audrius Kažukauskas <audrius@neutrino.lt>
+# Copyright 2017-2021 Audrius Kažukauskas <audrius@neutrino.lt>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=runc
-VERSION=${VERSION:-1.0.0_rc10}
-GITHASH=${GITHASH:-dc9208a3303feef5b3839f4323d9beb36df0a9dd}
+VERSION=${VERSION:-1.0.0_rc92}
+GITHASH=${GITHASH:-ff819c7e9184c13b7c2607fe6c30ae19403a7aff}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,16 +59,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir build
-mv vendor build/src
-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-$SRCVER/build
+ BUILDTAGS="seccomp" \
+ COMMIT=$GITHASH
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 74fdcec17b..a43ca11b09 100644
--- a/system/runc/runc.info
+++ b/system/runc/runc.info
@@ -1,10 +1,10 @@
PRGNAM="runc"
-VERSION="1.0.0_rc10"
+VERSION="1.0.0_rc92"
HOMEPAGE="https://github.com/opencontainers/runc"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/opencontainers/runc/archive/v1.0.0-rc10/runc-1.0.0-rc10.tar.gz"
-MD5SUM_x86_64="8aba10b1dd251a039eefd5ac028244f3"
+DOWNLOAD_x86_64="https://github.com/opencontainers/runc/archive/v1.0.0-rc92/runc-1.0.0-rc92.tar.gz"
+MD5SUM_x86_64="7c4dcdf8d481c8d25b88af3f40846a4b"
REQUIRES="google-go-lang libseccomp"
MAINTAINER="Audrius Kažukauskas"
EMAIL="audrius@neutrino.lt"