commit:     a42b6320136a42592a7e872ed8179c93769a2533
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Mon Jul  7 16:28:46 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Jul  8 04:00:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a42b6320

app-containers/podman: update to 5.5.2

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
Closes: https://github.com/gentoo/gentoo/pull/42919
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-containers/podman/Manifest                                |  1 +
 .../podman/files/podman-5.5.2-togglable-seccomp.patch         | 11 +++++++++++
 .../podman/{podman-9999.ebuild => podman-5.5.2.ebuild}        |  9 ++++++---
 app-containers/podman/podman-9999.ebuild                      |  9 ++++-----
 4 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/app-containers/podman/Manifest b/app-containers/podman/Manifest
index 333e5f0b9b6a..eb1836b3992a 100644
--- a/app-containers/podman/Manifest
+++ b/app-containers/podman/Manifest
@@ -1,2 +1,3 @@
 DIST podman-5.3.2.tar.gz 24207488 BLAKE2B 
68f618b74be41bf489de97b009d335f3033634c5c065b1089cc9a6132e38e3a7f707b959d29d955ab0bd805721c14cda90c77fa60f6ba09327f38d4a8bc19112
 SHA512 
b7007278dd3f493bd0d0185ed4328570d5af527d4864c4435e7b330543d60ba87f04f36c94407d4e11e622a4af8b6467f66474e9b66cbeacb8eecb3088b4439e
 DIST podman-5.4.2.tar.gz 25465417 BLAKE2B 
f4f586bc99af625a5fa9a6915f101738d8c2abb505de96db6a41fde026baf5832047498b8bf1af6d80a84525a113a21680032886eee49458f92bd7321107bf47
 SHA512 
482fde529766ca1b509a08bab4beb59a5935ebc6b27bc886c33597183258631e8c8db03ebb521baefd7989305aa76fad14c1359e211a0fe75c855c14bbaca960
+DIST podman-5.5.2.tar.gz 21334872 BLAKE2B 
a3b458afe1dc17699b7a75517727bba0b989e4b605c51a867f5d076fc5bb2bbfe8a914d78c659670bb73ebf3905926259320f6159ad850a7b335fa920ebfe6d4
 SHA512 
c647e74c22053b95d09f81d9c594203492283bdb881245941fa2d7253946cbb4953d705313a0e57a0d6737cc07697381e8ba5ed388a74d440b74b5fe045821ec

diff --git a/app-containers/podman/files/podman-5.5.2-togglable-seccomp.patch 
b/app-containers/podman/files/podman-5.5.2-togglable-seccomp.patch
new file mode 100644
index 000000000000..43abe10797e4
--- /dev/null
+++ b/app-containers/podman/files/podman-5.5.2-togglable-seccomp.patch
@@ -0,0 +1,11 @@
+don't add seccomp buildtag for all, instead only add it in ebuild if +seccomp
+--- a/Makefile
++++ b/Makefile
+@@ -64,7 +64,6 @@
+       $(shell hack/btrfs_tag.sh) \
+       $(shell hack/systemd_tag.sh) \
+       $(shell hack/libsubid_tag.sh) \
+-      $(if $(filter linux,$(GOOS)), seccomp,)
+ # allow downstreams to easily add build tags while keeping our defaults
+ BUILDTAGS += ${EXTRA_BUILDTAGS}
+ # N/B: This value is managed by Renovate, manual changes are

diff --git a/app-containers/podman/podman-9999.ebuild 
b/app-containers/podman/podman-5.5.2.ebuild
similarity index 94%
copy from app-containers/podman/podman-9999.ebuild
copy to app-containers/podman/podman-5.5.2.ebuild
index 63b7045fe612..15d342e831df 100644
--- a/app-containers/podman/podman-9999.ebuild
+++ b/app-containers/podman/podman-5.5.2.ebuild
@@ -51,7 +51,7 @@ BDEPEND="
 "
 
 PATCHES=(
-       "${FILESDIR}"/${PN}-5.2.5-togglable-seccomp.patch
+       "${FILESDIR}"/${PN}-5.5.2-togglable-seccomp.patch
 )
 
 CONFIG_CHECK="
@@ -81,10 +81,13 @@ src_prepare() {
                EOF
        done
 
-       echo -e "#!/usr/bin/env bash\n echo" > hack/btrfs_installed_tag.sh || 
die
        cat <<-EOF > hack/btrfs_tag.sh || die
        #!/usr/bin/env bash
-       $(usex btrfs echo 'echo exclude_graphdriver_btrfs btrfs_noversion')
+       $(usex btrfs echo 'echo btrfs_noversion')
+       EOF
+       cat <<-EOF > hack/btrfs_installed_tag.sh || die
+       #!/usr/bin/env bash
+       $(usex btrfs echo 'echo exclude_graphdriver_btrfs')
        EOF
 }
 

diff --git a/app-containers/podman/podman-9999.ebuild 
b/app-containers/podman/podman-9999.ebuild
index 63b7045fe612..5cf064395ccc 100644
--- a/app-containers/podman/podman-9999.ebuild
+++ b/app-containers/podman/podman-9999.ebuild
@@ -51,7 +51,7 @@ BDEPEND="
 "
 
 PATCHES=(
-       "${FILESDIR}"/${PN}-5.2.5-togglable-seccomp.patch
+       "${FILESDIR}"/${PN}-5.5.2-togglable-seccomp.patch
 )
 
 CONFIG_CHECK="
@@ -69,7 +69,7 @@ src_prepare() {
 
        # assure necessary files are present
        local file
-       for file in apparmor_tag btrfs_installed_tag btrfs_tag systemd_tag; do
+       for file in apparmor_tag btrfs_installed_tag systemd_tag; do
                [[ -f hack/"${file}".sh ]] || die
        done
 
@@ -81,10 +81,9 @@ src_prepare() {
                EOF
        done
 
-       echo -e "#!/usr/bin/env bash\n echo" > hack/btrfs_installed_tag.sh || 
die
-       cat <<-EOF > hack/btrfs_tag.sh || die
+       cat <<-EOF > hack/btrfs_installed_tag.sh || die
        #!/usr/bin/env bash
-       $(usex btrfs echo 'echo exclude_graphdriver_btrfs btrfs_noversion')
+       $(usex btrfs echo 'echo exclude_graphdriver_btrfs')
        EOF
 }
 

Reply via email to