Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Apr 2026 11:03:19 +0000
From:      Dave Cottlehuber <dch@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ec26aa92daf2 - main - sysutils/podman: Fix panic when using network=host
Message-ID:  <69d635f7.20d25.1e849440@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by dch:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ec26aa92daf256db0c22c78f513f35fbce9adb08

commit ec26aa92daf256db0c22c78f513f35fbce9adb08
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2026-04-08 11:01:22 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2026-04-08 11:02:25 +0000

    sysutils/podman: Fix panic when using network=host
    
    If using host-based networking, instead of default VNET, some podman commands
    including inspect could fail:
    
    podman run -d --network=host ghcr.io/freebsd/freebsd-notoolchain:15.0 /bin/sh
    podman inspect --latest
    
    See https://github.com/containers/podman/issues/28289 for details.
    
    While here, appease portclippy & portfmt
    
    Reviewed by:    dfr
    Obtained from:  dfr
    Sponsored by:   SkunkWerks, GmbH
---
 sysutils/podman/Makefile | 11 ++++++-----
 sysutils/podman/distinfo |  4 +++-
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/sysutils/podman/Makefile b/sysutils/podman/Makefile
index 249490668206..b179d9b2598a 100644
--- a/sysutils/podman/Makefile
+++ b/sysutils/podman/Makefile
@@ -1,8 +1,11 @@
 PORTNAME=	podman
 DISTVERSIONPREFIX=	v
 DISTVERSION=	5.8.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
+PATCH_SITES=	https://github.com/containers/podman/commit/
+PATCHFILES+=	9a10cefd18a3f19e49aa6ae5683d1bcea37bdc97.patch:-p1 # https://github.com/containers/podman/pull/28317
 MAINTAINER=	dfr@FreeBSD.org
 COMMENT=	Manage Pods, Containers and Container Images
 WWW=		https://podman.io/
@@ -20,16 +23,14 @@ RUN_DEPENDS=	conmon:sysutils/conmon \
 		containers-common>=0:sysutils/containers-common \
 		ocijail:sysutils/ocijail
 
-USES=		gmake go:1.24+,no_targets pkgconfig python:build shebangfix
+USES=		gmake go:no_targets pkgconfig python:build shebangfix
+USE_GITHUB=	yes
+GH_ACCOUNT=	containers
 USE_RC_SUBR=	podman podman_service
 
 SHEBANG_FILES=	${WRKSRC}/hack/markdown-preprocess
 MAKE_ARGS=	SHELL=${LOCALBASE}/bin/bash
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	containers
-GH_PROJECT=	podman
-
 INSTALL_TARGET=	install install.completions
 
 .include <bsd.port.mk>
diff --git a/sysutils/podman/distinfo b/sysutils/podman/distinfo
index 193a58d87201..633bff466669 100644
--- a/sysutils/podman/distinfo
+++ b/sysutils/podman/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1773330358
+TIMESTAMP = 1775589044
 SHA256 (containers-podman-v5.8.1_GH0.tar.gz) = b9540ecb19cfcbcfc40e1b81d39930f688c537d8fd6f11ae56be41f2bf9e97a4
 SIZE (containers-podman-v5.8.1_GH0.tar.gz) = 21297794
+SHA256 (9a10cefd18a3f19e49aa6ae5683d1bcea37bdc97.patch) = f0ac5d68704c4ef09885d5a15ac08260bc4aad380df3720640c0bb89d7ab402c
+SIZE (9a10cefd18a3f19e49aa6ae5683d1bcea37bdc97.patch) = 1633


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d635f7.20d25.1e849440>