summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"