summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2024-12-04 12:02:13 -0500
committerSergey A. Osokin <osa@FreeBSD.org>2024-12-04 12:02:13 -0500
commitc23717d1b6de112ef54b6c450081ed2e8d1c6012 (patch)
treeae08c4085cec198b4be5220e82bf6a7cd285eea6
parentsysutils/podman: update from 5.1.1 to 5.2.5 (diff)
sysutils/buildah: update from 1.36.0 to 1.37.5
Approved by: dfr (maintainer) Differential Revision: https://reviews.freebsd.org/D47910
-rw-r--r--sysutils/buildah/Makefile3
-rw-r--r--sysutils/buildah/distinfo6
-rw-r--r--sysutils/buildah/files/patch-run__common.go30
-rw-r--r--sysutils/buildah/pkg-message4
4 files changed, 6 insertions, 37 deletions
diff --git a/sysutils/buildah/Makefile b/sysutils/buildah/Makefile
index 1eca063b3433..6325cc816cdc 100644
--- a/sysutils/buildah/Makefile
+++ b/sysutils/buildah/Makefile
@@ -1,7 +1,6 @@
PORTNAME= buildah
DISTVERSIONPREFIX= v
-DISTVERSION= 1.36.0
-PORTREVISION= 4
+DISTVERSION= 1.37.5
CATEGORIES= sysutils
MAINTAINER= dfr@FreeBSD.org
diff --git a/sysutils/buildah/distinfo b/sysutils/buildah/distinfo
index 83ca8250b153..212d1e6db279 100644
--- a/sysutils/buildah/distinfo
+++ b/sysutils/buildah/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1717583837
-SHA256 (containers-buildah-v1.36.0_GH0.tar.gz) = c2dd61b3d31576c71001eae1b7cabd7e714bdef8dd7b84d8d59496f26810840d
-SIZE (containers-buildah-v1.36.0_GH0.tar.gz) = 19328201
+TIMESTAMP = 1733324771
+SHA256 (containers-buildah-v1.37.5_GH0.tar.gz) = 1cc94713976d5b580fdda6c523674237af17d2d48141dbf7d029de3e66592a08
+SIZE (containers-buildah-v1.37.5_GH0.tar.gz) = 19323742
diff --git a/sysutils/buildah/files/patch-run__common.go b/sysutils/buildah/files/patch-run__common.go
deleted file mode 100644
index e24ddede1c4e..000000000000
--- a/sysutils/buildah/files/patch-run__common.go
+++ /dev/null
@@ -1,30 +0,0 @@
---- run_common.go.orig 2024-05-23 20:31:28 UTC
-+++ run_common.go
-@@ -83,12 +83,17 @@ func (b *Builder) addResolvConfEntries(file string, ne
-
- // addResolvConf copies files from host and sets them up to bind mount into container
- func (b *Builder) addResolvConfEntries(file string, networkNameServer []string,
-- namespaces []specs.LinuxNamespace, keepHostServers, ipv6 bool) error {
-+ spec *specs.Spec, keepHostServers, ipv6 bool) error {
- defaultConfig, err := config.Default()
- if err != nil {
- return fmt.Errorf("failed to get config: %w", err)
- }
-
-+ var namespaces []specs.LinuxNamespace
-+ if spec.Linux != nil {
-+ namespaces = spec.Linux.Namespaces
-+ }
-+
- dnsServers, dnsSearch, dnsOptions := b.CommonBuildOpts.DNSServers, b.CommonBuildOpts.DNSSearch, b.CommonBuildOpts.DNSOptions
- nameservers := make([]string, 0, len(defaultConfig.Containers.DNSServers.Get())+len(dnsServers))
- nameservers = append(nameservers, defaultConfig.Containers.DNSServers.Get()...)
-@@ -1253,7 +1258,7 @@ func (b *Builder) runUsingRuntimeSubproc(isolation def
- }
-
- if resolvFile != "" {
-- err = b.addResolvConfEntries(resolvFile, netResult.dnsServers, spec.Linux.Namespaces, netResult.keepHostResolvers, netResult.ipv6)
-+ err = b.addResolvConfEntries(resolvFile, netResult.dnsServers, spec, netResult.keepHostResolvers, netResult.ipv6)
- if err != nil {
- return err
- }
diff --git a/sysutils/buildah/pkg-message b/sysutils/buildah/pkg-message
index 76efcc670277..929be810755b 100644
--- a/sysutils/buildah/pkg-message
+++ b/sysutils/buildah/pkg-message
@@ -3,6 +3,6 @@ be used for evaluation and testing purposes only.
Basic usage follows:
-$ export c=$(sudo buildah from quay.io/dougrabson/freebsd-minimal:13.1)
-$ sudo buildah run $c freebsd-version -run
+$ export c=$(sudo buildah from quay.io/dougrabson/freebsd14-minimal)
+$ sudo buildah run $c freebsd-version -ru
$ sudo buildah run $c ping -c 3 9.9.9.9