diff options
author | Vincent Batts <vbatts@hashbangbash.com> | 2019-10-20 09:19:54 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-10-27 00:36:11 +0700 |
commit | 901b4b2f8d539b1a828fa9238c88d3a589065a94 (patch) | |
tree | b66e4b5cc99bb947b12b6deca9c3cbe0164ecb2b /system/podman/podman.SlackBuild | |
parent | 8277b758053faf40489fac757d96b596ebbd69ca (diff) |
system/podman: update to 1.6.2
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
Diffstat (limited to 'system/podman/podman.SlackBuild')
-rw-r--r-- | system/podman/podman.SlackBuild | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/system/podman/podman.SlackBuild b/system/podman/podman.SlackBuild index cd009b749ea19..0513860b8c10d 100644 --- a/system/podman/podman.SlackBuild +++ b/system/podman/podman.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for podman +# Copyright 2019 Gabriel Diaz, Madrid, Spain # Copyright 2019 Vincent Batts, Raleigh, NC, USA # All rights reserved. # @@ -24,8 +25,8 @@ PRGNAM=podman REPONAME=libpod -VERSION=${VERSION:-1.0.1} -GIT_COMMIT="2c74edd0ac6509d6e533cb4e012e3e3f9e03434d" +VERSION=${VERSION:-1.6.2} +GIT_COMMIT="f3ffda1e08f19e9a6a88484136b5eed76533f21a" BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -79,7 +80,7 @@ find -L . \ export GOPATH="$TMP/$REPONAME-$VERSION" make GIT_COMMIT="$GIT_COMMIT" -make install DESTDIR="$PKG" PREFIX="$PKG/usr" MANDIR="$PKG/usr/man" GIT_COMMIT="$GIT_COMMIT" +make install DESTDIR="$PKG" PREFIX="/usr/" MANDIR="/usr/man/" GIT_COMMIT="$GIT_COMMIT" find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -95,6 +96,18 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +mkdir -p $PKG/etc/containers/secrets + +# use upstream's default seccomp policy +cp seccomp.json $PKG/etc/containers/seccomp.json.new +# use upstream config, but default to cgroupfs +cat libpod.conf | sed 's/^cgroup_manager = "systemd"/cgroup_manager = "cgroupfs"/g' > $PKG/etc/containers/libpod.conf.new + +cp $CWD/registries.conf $PKG/etc/containers/registries.conf.new +cp $CWD/mounts.conf $PKG/etc/containers/mounts.conf.new +cp $CWD/policy.json $PKG/etc/containers/policy.json.new cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |