head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.10 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.8 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.6 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.4 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.2 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q1:1.3.0.10 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.8 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.6 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.4 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.2 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.1.0.12 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.10 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.8 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.6 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.4 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.2 pkgsrc-2021Q3-base:1.1; locks; strict; comment @# @; 1.5 date 2025.01.07.04.17.20; author riastradh; state Exp; branches; next 1.4; commitid cbonVlwwtlmWuvEF; 1.4 date 2024.06.07.01.35.32; author maya; state dead; branches; next 1.3; commitid uLwxKjvzEwYNtZcF; 1.3 date 2023.02.20.09.58.02; author tnn; state Exp; branches; next 1.2; commitid GPAWKZwM03WEsfeE; 1.2 date 2023.02.14.00.33.13; author tnn; state Exp; branches; next 1.1; commitid tq6jl4vTTY4XwqdE; 1.1 date 2021.09.04.20.28.42; author maya; state Exp; branches; next ; commitid iFHfm81vZkAp7G7D; desc @@ 1.5 log @sysutils/podman: Patch away `env -u' in Makefile. No functional change intended to the build product; this only fixes the build on hosts where it wouldn't build before. PR pkg/58967: sysutils/podman fails to build on netbsd-9 @ text @$NetBSD$ Avoid `env -u', which isn't available on all platforms. --- Makefile.orig 2024-05-10 15:37:14.000000000 +0000 +++ Makefile @@@@ -182,10 +182,10 @@@@ err_if_empty = $(if $(strip $($(1))),$(s # Windows and Mac (both podman-remote client only) require CGO_ENABLED=0. CGO_ENABLED ?= 1 # Default to the native OS type and architecture unless otherwise specified -NATIVE_GOOS := $(shell env -u GOOS $(GO) env GOOS) +NATIVE_GOOS := $(shell unset GOOS; $(GO) env GOOS) GOOS ?= $(call err_if_empty,NATIVE_GOOS) # Default to the native architecture type -NATIVE_GOARCH := $(shell env -u GOARCH $(GO) env GOARCH) +NATIVE_GOARCH := $(shell unset GOARCH; $(GO) env GOARCH) GOARCH ?= $(NATIVE_GOARCH) ifeq ($(call err_if_empty,GOOS),windows) BINSFX := .exe @ 1.4 log @podman: remove old patch files, forgotten in update to 5.y.x @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.3 2023/02/20 09:58:02 tnn Exp $ d3 1 a3 1 Add netbsd support d5 1 a5 1 --- Makefile.orig 2023-02-08 19:03:18.000000000 +0000 d7 1 a7 1 @@@@ -162,10 +162,10 @@@@ err_if_empty = $(if $(strip $($(1))),$(s d12 1 a12 1 +NATIVE_GOOS := $(shell env GOOS= $(GO) env GOOS) d16 1 a16 1 +NATIVE_GOARCH := $(shell env GOARCH= $(GO) env GOARCH) a19 11 @@@@ -175,6 +175,10 @@@@ else ifeq ($(GOOS),darwin) BINSFX := SRCBINDIR := bin/darwin CGO_ENABLED := 0 +else ifeq ($(GOOS),netbsd) +BINSFX := +SRCBINDIR := bin/netbsd +CGO_ENABLED := 0 else BINSFX := -remote SRCBINDIR := bin @ 1.3 log @podman: try to fix build on netbsd-9 "env -u" flag was added in NetBSD 10. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.2 2023/02/14 00:33:13 tnn Exp $ @ 1.2 log @podman: update to 4.4.1 Changelog too long and pertains mostly to Linux. Importantly this update makes 9pfs volume mounts work on macOS and we can start to work on getting the QEMU side to support this on NetBSD. Note: because 9pfs volume mounts are not yet supported on NetBSD, I have patched this podman version to have a "none" volume driver and to initialize the machine with "--volume-driver none" by default instead of virtfs. To get volumes on macOS with this package you therefore must pass "--volume-driver virtfs" explicitly. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2021/09/04 20:28:42 maya Exp $ d7 13 @ 1.1 log @Add podman 3.3.1 Podman (the POD MANager) is a tool for managing containers and images, volumes mounted into those containers, and pods made from groups of containers. Podman is based on libpod, a library for container lifecycle management that is also contained in this repository. The libpod library provides APIs for managing containers, pods, container images, and volumes. On operating systems other than Linux, it can spawn and talk to a Linux virtual machine. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- Makefile.orig 2021-08-30 19:15:26.000000000 +0000 d7 1 a7 2 @@@@ -160,6 +160,9 @@@@ SRCBINDIR := bin/windows else ifeq ($(GOOS),darwin) d10 1 d14 1 a17 14 @@@@ -351,6 +354,13 @@@@ podman-remote-windows: ## Build podman-r GOOS=windows \ bin/windows/podman.exe +.PHONY: podman-remote-netbsd +podman-remote-netbsd: ## Build podman-remote for NetBSD + $(MAKE) \ + CGO_ENABLED=0 \ + GOOS=netbsd \ + bin/netbsd/podman + .PHONY: podman-remote-darwin podman-remote-darwin: ## Build podman-remote for macOS $(MAKE) \ @