aboutsummaryrefslogtreecommitdiff
path: root/system/runc/runc.SlackBuild
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 /system/runc/runc.SlackBuild
parentefec6a0337f539386bdfde6d18a261a56f9df9f5 (diff)
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>
Diffstat (limited to 'system/runc/runc.SlackBuild')
-rw-r--r--system/runc/runc.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/system/runc/runc.SlackBuild b/system/runc/runc.SlackBuild
index 773d9307e24ab..4352b4126f58c 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