summaryrefslogtreecommitdiff
path: root/system/runc
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2017-09-10 18:54:42 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-16 07:15:24 +0700
commit51149962e66777964108ed63a334510d5f680842 (patch)
treea102ff1866e03ce5754f1d0513eadc6a379925e3 /system/runc
parentfd17b17a04b7232e27a8347d2ab5890a696485c5 (diff)
downloadslackbuilds-51149962e66777964108ed63a334510d5f680842.tar.gz
system/runc: Updated for version 1.0.0_rc3_810190c.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'system/runc')
-rw-r--r--system/runc/runc.SlackBuild16
-rw-r--r--system/runc/runc.info8
2 files changed, 15 insertions, 9 deletions
diff --git a/system/runc/runc.SlackBuild b/system/runc/runc.SlackBuild
index 83b1e75466..b78c7ceea0 100644
--- a/system/runc/runc.SlackBuild
+++ b/system/runc/runc.SlackBuild
@@ -24,8 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=runc
-VERSION=${VERSION:-1.0.0_rc2_54296cf}
-GITHASH=${GITHASH:-54296cf40ad8143b62dbcaa1d90e520a2136ddfe}
+VERSION=${VERSION:-1.0.0_rc3_810190c}
+GITHASH=${GITHASH:-810190ceaa507aa2727d7ae6f4790c76ec150bd2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,10 +57,16 @@ 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 {} \;
-# Do not try to get git commit hash, there is no git repo available.
-sed -i 's/^COMMIT/# COMMIT/' Makefile
+mkdir build
+mv vendor build/src
+ln -sf $TMP/$PRGNAM-$GITHASH build/src/github.com/opencontainers/runc
-make COMMIT="$GITHASH"
+# 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
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 9129759e05..664fc938ed 100644
--- a/system/runc/runc.info
+++ b/system/runc/runc.info
@@ -1,10 +1,10 @@
PRGNAM="runc"
-VERSION="1.0.0_rc2_54296cf"
-HOMEPAGE="https://runc.io/"
+VERSION="1.0.0_rc3_810190c"
+HOMEPAGE="https://github.com/opencontainers/runc"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/opencontainers/runc/archive/54296cf/runc-54296cf40ad8143b62dbcaa1d90e520a2136ddfe.tar.gz"
-MD5SUM_x86_64="c4eff71ea7da80d25f7cece171683a03"
+DOWNLOAD_x86_64="https://github.com/opencontainers/runc/archive/810190c/runc-810190ceaa507aa2727d7ae6f4790c76ec150bd2.tar.gz"
+MD5SUM_x86_64="d2d5d628662bfbe11fd0d1bb7eb1c63c"
REQUIRES="google-go-lang libseccomp"
MAINTAINER="Audrius Kažukauskas"
EMAIL="audrius@neutrino.lt"