system/runc: Updated for version 1.0.0_rc3_810190c.

Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
This commit is contained in:
Audrius Kažukauskas 2017-09-10 18:54:42 +03:00 committed by Willy Sudiarto Raharjo
parent fd17b17a04
commit 51149962e6
2 changed files with 15 additions and 9 deletions

View File

@ -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

View File

@ -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"