Advertisement
ponce

podman 3.0.1

Mar 8th, 2021
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. diff -Naur podman.orig/doinst.sh podman/doinst.sh
  2. --- podman.orig/doinst.sh 2021-03-07 22:43:12.189199000 +0100
  3. +++ podman/doinst.sh 2021-03-08 11:49:01.332199000 +0100
  4. @@ -11,7 +11,7 @@
  5. # Otherwise, we leave the .new copy for the admin to consider...
  6. }
  7.  
  8. -config etc/containers/libpod.conf.new
  9. +config etc/containers/containers.conf.new
  10. config etc/containers/registries.conf.new
  11. config etc/containers/mounts.conf.new
  12. config etc/containers/seccomp.json.new
  13. diff -Naur podman.orig/podman.SlackBuild podman/podman.SlackBuild
  14. --- podman.orig/podman.SlackBuild 2021-03-07 22:43:12.189199000 +0100
  15. +++ podman/podman.SlackBuild 2021-03-08 11:50:47.503199000 +0100
  16. @@ -24,9 +24,8 @@
  17. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  18.  
  19. PRGNAM=podman
  20. -REPONAME=libpod
  21. -VERSION=${VERSION:-1.6.2}
  22. -GIT_COMMIT="f3ffda1e08f19e9a6a88484136b5eed76533f21a"
  23. +VERSION=${VERSION:-3.0.1}
  24. +GIT_COMMIT="c640670e85c4aaaff92741691d6a854a90229d8d"
  25. BUILD=${BUILD:-1}
  26. TAG=${TAG:-_SBo}
  27.  
  28. @@ -63,12 +62,12 @@
  29. rm -rf $PKG
  30. mkdir -p $TMP $PKG $OUTPUT
  31. cd $TMP
  32. -rm -rf $REPONAME-$VERSION
  33. -mkdir -p $REPONAME-$VERSION/src/$DOMAIN/$ORG
  34. -cd $REPONAME-$VERSION/src/$DOMAIN/$ORG
  35. -tar xvf $CWD/$REPONAME-$VERSION.tar.gz
  36. -mv $PRGNAM-$VERSION $REPONAME
  37. -cd $REPONAME
  38. +rm -rf $PRGNAM-$VERSION
  39. +mkdir -p $PRGNAM-$VERSION/src/$DOMAIN/$ORG
  40. +cd $PRGNAM-$VERSION/src/$DOMAIN/$ORG
  41. +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
  42. +mv $PRGNAM-$VERSION $PRGNAM
  43. +cd $PRGNAM
  44. chown -R root:root .
  45. find -L . \
  46. \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
  47. @@ -77,7 +76,7 @@
  48. -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
  49.  
  50. # Point go to the location of the source tree
  51. -export GOPATH="$TMP/$REPONAME-$VERSION"
  52. +export GOPATH="$TMP/$PRGNAM-$VERSION"
  53.  
  54. make GIT_COMMIT="$GIT_COMMIT"
  55. make install DESTDIR="$PKG" PREFIX="/usr/" MANDIR="/usr/man/" GIT_COMMIT="$GIT_COMMIT"
  56. @@ -101,9 +100,12 @@
  57. mkdir -p $PKG/etc/containers/secrets
  58.  
  59. # use upstream's default seccomp policy
  60. -cp seccomp.json $PKG/etc/containers/seccomp.json.new
  61. +cp vendor/github.com/containers/common/pkg/seccomp/seccomp.json \
  62. + $PKG/etc/containers/seccomp.json.new
  63. # use upstream config, but default to cgroupfs
  64. -cat libpod.conf | sed 's/^cgroup_manager = "systemd"/cgroup_manager = "cgroupfs"/g' > $PKG/etc/containers/libpod.conf.new
  65. +cat vendor/github.com/containers/common/pkg/config/containers.conf | \
  66. + sed 's/^# cgroup_manager = "systemd"/cgroup_manager = "cgroupfs"/' \
  67. + > $PKG/etc/containers/containers.conf.new
  68.  
  69. cp $CWD/registries.conf $PKG/etc/containers/registries.conf.new
  70. cp $CWD/mounts.conf $PKG/etc/containers/mounts.conf.new
  71. diff -Naur podman.orig/podman.info podman/podman.info
  72. --- podman.orig/podman.info 2021-03-07 22:43:12.189199000 +0100
  73. +++ podman/podman.info 2021-03-08 11:32:00.723199000 +0100
  74. @@ -1,8 +1,8 @@
  75. PRGNAM="podman"
  76. -VERSION="1.6.2"
  77. +VERSION="3.0.1"
  78. HOMEPAGE="https://github.com/containers/libpod"
  79. -DOWNLOAD="https://github.com/containers/libpod/archive/v1.6.2/libpod-1.6.2.tar.gz"
  80. -MD5SUM="bf43121bc45b19404d8bcfaf87e5046d"
  81. +DOWNLOAD="https://github.com/containers/podman/archive/v3.0.1/podman-3.0.1.tar.gz"
  82. +MD5SUM="e8d65b0b9ea92f6144c15105b5367a16"
  83. DOWNLOAD_x86_64=""
  84. MD5SUM_x86_64=""
  85. REQUIRES="cni-plugins conmon runc go-md2man slirp4netns"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement