diff --git a/sysutils/podman/Makefile b/sysutils/podman/Makefile index 9e9b487140ea..22cafa36c4e1 100644 --- a/sysutils/podman/Makefile +++ b/sysutils/podman/Makefile @@ -1,44 +1,43 @@ PORTNAME= podman DISTVERSIONPREFIX= v -DISTVERSION= 4.7.2 -PORTREVISION= 1 +DISTVERSION= 4.8.3 CATEGORIES= sysutils MAINTAINER= dfr@FreeBSD.org COMMENT= Manage Pods, Containers and Container Images WWW= https://podman.io/ LICENSE= GPLv2 BUILD_DEPENDS= bash:shells/bash \ go-md2man:textproc/go-md2man \ gsed:textproc/gsed LIB_DEPENDS= libgpgme.so:security/gpgme RUN_DEPENDS= conmon:sysutils/conmon \ containernetworking-plugins>=0:net/containernetworking-plugins \ containers-common>=0:sysutils/containers-common \ ocijail:sysutils/ocijail USES= gmake go:no_targets pkgconfig python:build shebangfix USE_RC_SUBR= podman podman_service SHEBANG_FILES= ${WRKSRC}/hack/markdown-preprocess MAKE_ARGS= SHELL=${LOCALBASE}/bin/bash # Parallel builds are flaky due to some kind of file race in the # markdown-preprocess phase of the docs build. MAKE_JOBS_UNSAFE= yes USE_GITHUB= yes GH_ACCOUNT= containers GH_PROJECT= podman INSTALL_TARGET= install install.completions # Temporary until https://github.com/containers/podman/pull/16422 lands do-install: ${GMAKE} -C ${WRKSRC} ${MAKE_ARGS} DESTDIR=${STAGEDIR} GO=${GO_CMD} install ${GMAKE} -C ${WRKSRC} ${MAKE_ARGS} DESTDIR=${STAGEDIR} GO=${GO_CMD} install.completions ${RM} ${STAGEDIR}${PREFIX}/lib/tmpfiles.d/podman.conf .include diff --git a/sysutils/podman/distinfo b/sysutils/podman/distinfo index 1c9f0a2685a4..49326a2db7fa 100644 --- a/sysutils/podman/distinfo +++ b/sysutils/podman/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1699000346 -SHA256 (containers-podman-v4.7.2_GH0.tar.gz) = 10346c5603546427bd809b4d855d1e39b660183232309128ad17a64969a0193d -SIZE (containers-podman-v4.7.2_GH0.tar.gz) = 20554551 +TIMESTAMP = 1704471600 +SHA256 (containers-podman-v4.8.3_GH0.tar.gz) = 3a99b6c82644fa52929cf4143943c63d6784c84094892bc0e14197fa38a1c7fa +SIZE (containers-podman-v4.8.3_GH0.tar.gz) = 21565162 diff --git a/sysutils/podman/files/patch-libpod_container__inspect.go b/sysutils/podman/files/patch-libpod_container__inspect.go new file mode 100644 index 000000000000..1777fa6ef104 --- /dev/null +++ b/sysutils/podman/files/patch-libpod_container__inspect.go @@ -0,0 +1,11 @@ +--- libpod/container_inspect.go.orig 2024-01-07 16:19:52 UTC ++++ libpod/container_inspect.go +@@ -316,7 +316,7 @@ func (c *Container) GetSecurityOptions() []string { + if apparmor, ok := ctrSpec.Annotations[define.InspectAnnotationApparmor]; ok { + SecurityOpt = append(SecurityOpt, fmt.Sprintf("apparmor=%s", apparmor)) + } +- if c.config.Spec.Linux.MaskedPaths == nil { ++ if c.config.Spec.Linux != nil && c.config.Spec.Linux.MaskedPaths == nil { + SecurityOpt = append(SecurityOpt, "unmask=all") + } + diff --git a/sysutils/podman/pkg-descr b/sysutils/podman/pkg-descr index 9a5014234e7c..565b0a317ddf 100644 --- a/sysutils/podman/pkg-descr +++ b/sysutils/podman/pkg-descr @@ -1,9 +1,9 @@ -podman (Pod Manager) is a fully featured container engine that is a -simple daemonless tool. podman provides a Docker-CLI comparable +Podman (Pod Manager) is a fully featured container engine that is a +simple daemonless tool. Podman provides a Docker-CLI comparable command line that eases the transition from other container engines and allows the management of pods, containers and images. Simply put: alias docker=podman. -podman uses Buildah(1) internally to create container images. Both +Podman uses Buildah(1) internally to create container images. Both tools share image (not container) storage, hence each can use or manipulate images (but not containers) created by the other. diff --git a/sysutils/podman/pkg-message b/sysutils/podman/pkg-message index 283d379aeb6b..87f7a9b03d8c 100644 --- a/sysutils/podman/pkg-message +++ b/sysutils/podman/pkg-message @@ -1,35 +1,35 @@ [ { type: install message: <