summaryrefslogtreecommitdiff
path: root/system/containerd/containerd.SlackBuild
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2017-09-10 18:58:42 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-16 07:15:24 +0700
commit4f95d09db88d2032c9387c627eba5a701eb25c91 (patch)
tree66bba76db3bac82683fe8fa511a6b7fb22549ed4 /system/containerd/containerd.SlackBuild
parent51149962e66777964108ed63a334510d5f680842 (diff)
downloadslackbuilds-4f95d09db88d2032c9387c627eba5a701eb25c91.tar.gz
system/containerd: Updated for version 0.2.9_6e23458.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'system/containerd/containerd.SlackBuild')
-rw-r--r--system/containerd/containerd.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/system/containerd/containerd.SlackBuild b/system/containerd/containerd.SlackBuild
index c0b405f2fe..5e719ca147 100644
--- a/system/containerd/containerd.SlackBuild
+++ b/system/containerd/containerd.SlackBuild
@@ -24,8 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=containerd
-VERSION=${VERSION:-0.2.6}
-GITHASH=${GITHASH:-4ab9917febca54791c5f071a9d1f404867857fcc}
+VERSION=${VERSION:-0.2.9_6e23458}
+GITHASH=${GITHASH:-6e23458c129b551d5c9871e5174f6b1b7f6d1170}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,9 +47,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$GITHASH
+tar xvf $CWD/$PRGNAM-$GITHASH.tar.gz
+cd $PRGNAM-$GITHASH
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -57,12 +57,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 {} \;
-ln -sfn $TMP/$PRGNAM-$VERSION vendor/src/github.com/docker/containerd
+ln -sfn $TMP/$PRGNAM-$GITHASH vendor/src/github.com/containerd/containerd
make \
BUILDTAGS="seccomp" \
- GIT_COMMIT="$GITHASH" \
- GOPATH=$TMP/$PRGNAM-$VERSION:$TMP/$PRGNAM-$VERSION/vendor
+ GIT_COMMIT=$GITHASH \
+ GOPATH=$TMP/$PRGNAM-$GITHASH:$TMP/$PRGNAM-$GITHASH/vendor
# Install executables.
install -D -m 0755 bin/containerd $PKG/usr/bin/containerd