diff --git a/sysutils/buildah/Makefile b/sysutils/buildah/Makefile index 0eb5d589d29e..1eca063b3433 100644 --- a/sysutils/buildah/Makefile +++ b/sysutils/buildah/Makefile @@ -1,29 +1,29 @@ PORTNAME= buildah DISTVERSIONPREFIX= v DISTVERSION= 1.36.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils MAINTAINER= dfr@FreeBSD.org COMMENT= Manage Pods, Containers and Container Images WWW= https://buildah.io/ LICENSE= GPLv2 BUILD_DEPENDS= bash:shells/bash \ go-md2man:textproc/go-md2man \ gsed:textproc/gsed \ as:devel/binutils LIB_DEPENDS= libgpgme.so:security/gpgme RUN_DEPENDS= containernetworking-plugins>=0:net/containernetworking-plugins \ containers-common>=0:sysutils/containers-common \ ocijail:sysutils/ocijail USES= gmake go:no_targets pkgconfig USE_GITHUB= yes GH_ACCOUNT= containers GH_PROJECT= buildah INSTALL_TARGET= install install.completions .include diff --git a/sysutils/buildah/files/patch-run__freebsd.go b/sysutils/buildah/files/patch-run__freebsd.go new file mode 100644 index 000000000000..d920a21327eb --- /dev/null +++ b/sysutils/buildah/files/patch-run__freebsd.go @@ -0,0 +1,11 @@ +--- run_freebsd.go.orig 2024-08-18 10:59:26 UTC ++++ run_freebsd.go +@@ -244,7 +244,7 @@ func (b *Builder) Run(command []string, options RunOpt + // Only add entries here if we do not have to do setup network, + // if we do we have to do it much later after the network setup. + if !configureNetwork { +- err = b.addResolvConfEntries(resolvFile, nil, nil, false, true) ++ err = b.addResolvConfEntries(resolvFile, nil, spec, false, true) + if err != nil { + return err + }