git: 14403871facf - main - sysutils/podman: update to 4.4.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Mar 2023 11:43:53 UTC
The branch main has been updated by dfr: URL: https://cgit.FreeBSD.org/ports/commit/?id=14403871facfa01847a2d4d7efac23c1ed736d9e commit 14403871facfa01847a2d4d7efac23c1ed736d9e Author: Doug Rabson <dfr@FreeBSD.org> AuthorDate: 2023-03-06 08:04:47 +0000 Commit: Doug Rabson <dfr@FreeBSD.org> CommitDate: 2023-03-14 11:30:53 +0000 sysutils/podman: update to 4.4.2 Changes: https://github.com/containers/podman/releases/tag/v4.4.2 Approved by: dch --- sysutils/podman/Makefile | 5 ++--- sysutils/podman/distinfo | 6 +++--- sysutils/podman/files/patch-libpod_container__api.go | 19 +++++++++++++++++++ sysutils/podman/pkg-message | 4 ++-- 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/sysutils/podman/Makefile b/sysutils/podman/Makefile index cc4098f7f499..82877ad1e1c2 100644 --- a/sysutils/podman/Makefile +++ b/sysutils/podman/Makefile @@ -1,6 +1,6 @@ PORTNAME= podman -PORTVERSION= 4.4.0.dev -PORTREVISION= 6 +DISTVERSIONPREFIX= v +DISTVERSION= 4.4.2 CATEGORIES= sysutils MAINTAINER= dfr@FreeBSD.org @@ -29,7 +29,6 @@ MAKE_JOBS_UNSAFE= yes USE_GITHUB= yes GH_ACCOUNT= containers GH_PROJECT= podman -GH_TAGNAME= b294b7c3 INSTALL_TARGET= install install.completions diff --git a/sysutils/podman/distinfo b/sysutils/podman/distinfo index e4e0d4997ff5..3fb40bc89c3d 100644 --- a/sysutils/podman/distinfo +++ b/sysutils/podman/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669815845 -SHA256 (containers-podman-4.4.0.dev-b294b7c3_GH0.tar.gz) = 359c711ae275f432e4648d63944effa1779ff333828a4f7f46066081911e6232 -SIZE (containers-podman-4.4.0.dev-b294b7c3_GH0.tar.gz) = 13077012 +TIMESTAMP = 1678027489 +SHA256 (containers-podman-v4.4.2_GH0.tar.gz) = 59cec158438efa8a3e651b19e150d9afd90f7e3f07c30605a997e18b8c54b67c +SIZE (containers-podman-v4.4.2_GH0.tar.gz) = 14401422 diff --git a/sysutils/podman/files/patch-libpod_container__api.go b/sysutils/podman/files/patch-libpod_container__api.go new file mode 100644 index 000000000000..b6573d8a5467 --- /dev/null +++ b/sysutils/podman/files/patch-libpod_container__api.go @@ -0,0 +1,19 @@ +--- libpod/container_api.go.orig 2023-02-23 15:59:21 UTC ++++ libpod/container_api.go +@@ -788,10 +788,12 @@ func (c *Container) Cleanup(ctx context.Context) error + + // make sure all the container processes are terminated if we are running without a pid namespace. + hasPidNs := false +- for _, i := range c.config.Spec.Linux.Namespaces { +- if i.Type == spec.PIDNamespace { +- hasPidNs = true +- break ++ if c.config.Spec.Linux != nil { ++ for _, i := range c.config.Spec.Linux.Namespaces { ++ if i.Type == spec.PIDNamespace { ++ hasPidNs = true ++ break ++ } + } + } + if !hasPidNs { diff --git a/sysutils/podman/pkg-message b/sysutils/podman/pkg-message index 6b311a50f0a1..30efe34d4a9c 100644 --- a/sysutils/podman/pkg-message +++ b/sysutils/podman/pkg-message @@ -1,4 +1,4 @@ -This port of the podman container engine is based on unreleased -sources and should be used for evaluation and testing purposes only. +The FreeBSD port of the podman container engine is experimental and should be +used for evaluation and testing purposes only. $ sudo podman run --rm docker.io/dougrabson/hello