Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -Naur podman.orig/doinst.sh podman/doinst.sh
- --- podman.orig/doinst.sh 2021-03-07 22:43:12.189199000 +0100
- +++ podman/doinst.sh 2021-03-08 11:49:01.332199000 +0100
- @@ -11,7 +11,7 @@
- # Otherwise, we leave the .new copy for the admin to consider...
- }
- -config etc/containers/libpod.conf.new
- +config etc/containers/containers.conf.new
- config etc/containers/registries.conf.new
- config etc/containers/mounts.conf.new
- config etc/containers/seccomp.json.new
- diff -Naur podman.orig/podman.SlackBuild podman/podman.SlackBuild
- --- podman.orig/podman.SlackBuild 2021-03-07 22:43:12.189199000 +0100
- +++ podman/podman.SlackBuild 2021-03-08 11:50:47.503199000 +0100
- @@ -24,9 +24,8 @@
- # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- PRGNAM=podman
- -REPONAME=libpod
- -VERSION=${VERSION:-1.6.2}
- -GIT_COMMIT="f3ffda1e08f19e9a6a88484136b5eed76533f21a"
- +VERSION=${VERSION:-3.0.1}
- +GIT_COMMIT="c640670e85c4aaaff92741691d6a854a90229d8d"
- BUILD=${BUILD:-1}
- TAG=${TAG:-_SBo}
- @@ -63,12 +62,12 @@
- rm -rf $PKG
- mkdir -p $TMP $PKG $OUTPUT
- cd $TMP
- -rm -rf $REPONAME-$VERSION
- -mkdir -p $REPONAME-$VERSION/src/$DOMAIN/$ORG
- -cd $REPONAME-$VERSION/src/$DOMAIN/$ORG
- -tar xvf $CWD/$REPONAME-$VERSION.tar.gz
- -mv $PRGNAM-$VERSION $REPONAME
- -cd $REPONAME
- +rm -rf $PRGNAM-$VERSION
- +mkdir -p $PRGNAM-$VERSION/src/$DOMAIN/$ORG
- +cd $PRGNAM-$VERSION/src/$DOMAIN/$ORG
- +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
- +mv $PRGNAM-$VERSION $PRGNAM
- +cd $PRGNAM
- chown -R root:root .
- find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- @@ -77,7 +76,7 @@
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
- # Point go to the location of the source tree
- -export GOPATH="$TMP/$REPONAME-$VERSION"
- +export GOPATH="$TMP/$PRGNAM-$VERSION"
- make GIT_COMMIT="$GIT_COMMIT"
- make install DESTDIR="$PKG" PREFIX="/usr/" MANDIR="/usr/man/" GIT_COMMIT="$GIT_COMMIT"
- @@ -101,9 +100,12 @@
- mkdir -p $PKG/etc/containers/secrets
- # use upstream's default seccomp policy
- -cp seccomp.json $PKG/etc/containers/seccomp.json.new
- +cp vendor/github.com/containers/common/pkg/seccomp/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
- +cat vendor/github.com/containers/common/pkg/config/containers.conf | \
- + sed 's/^# cgroup_manager = "systemd"/cgroup_manager = "cgroupfs"/' \
- + > $PKG/etc/containers/containers.conf.new
- cp $CWD/registries.conf $PKG/etc/containers/registries.conf.new
- cp $CWD/mounts.conf $PKG/etc/containers/mounts.conf.new
- diff -Naur podman.orig/podman.info podman/podman.info
- --- podman.orig/podman.info 2021-03-07 22:43:12.189199000 +0100
- +++ podman/podman.info 2021-03-08 11:32:00.723199000 +0100
- @@ -1,8 +1,8 @@
- PRGNAM="podman"
- -VERSION="1.6.2"
- +VERSION="3.0.1"
- HOMEPAGE="https://github.com/containers/libpod"
- -DOWNLOAD="https://github.com/containers/libpod/archive/v1.6.2/libpod-1.6.2.tar.gz"
- -MD5SUM="bf43121bc45b19404d8bcfaf87e5046d"
- +DOWNLOAD="https://github.com/containers/podman/archive/v3.0.1/podman-3.0.1.tar.gz"
- +MD5SUM="e8d65b0b9ea92f6144c15105b5367a16"
- DOWNLOAD_x86_64=""
- MD5SUM_x86_64=""
- REQUIRES="cni-plugins conmon runc go-md2man slirp4netns"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement