pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils Add podman 3.3.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e7f1e082651
branches:  trunk
changeset: 457899:8e7f1e082651
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Sep 04 20:28:42 2021 +0000

description:
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.

diffstat:

 sysutils/Makefile                                                                                   |   3 +-
 sysutils/podman/DESCR                                                                               |   9 ++
 sysutils/podman/MESSAGE.NetBSD                                                                      |   6 +
 sysutils/podman/Makefile                                                                            |  40 ++++++++++
 sysutils/podman/PLIST                                                                               |   2 +
 sysutils/podman/distinfo                                                                            |  39 +++++++++
 sysutils/podman/patches/patch-Makefile                                                              |  30 +++++++
 sysutils/podman/patches/patch-cmd_podman_machine_init.go                                            |  12 +++
 sysutils/podman/patches/patch-cmd_podman_machine_list.go                                            |  12 +++
 sysutils/podman/patches/patch-cmd_podman_machine_machine.go                                         |  12 +++
 sysutils/podman/patches/patch-cmd_podman_machine_rm.go                                              |  12 +++
 sysutils/podman/patches/patch-cmd_podman_machine_ssh.go                                             |  12 +++
 sysutils/podman/patches/patch-cmd_podman_machine_start.go                                           |  12 +++
 sysutils/podman/patches/patch-cmd_podman_machine_stop.go                                            |  12 +++
 sysutils/podman/patches/patch-cmd_podman_registry_config.go                                         |  15 +++
 sysutils/podman/patches/patch-pkg_machine_config.go                                                 |  12 +++
 sysutils/podman/patches/patch-pkg_machine_connection.go                                             |  12 +++
 sysutils/podman/patches/patch-pkg_machine_fcos.go                                                   |  12 +++
 sysutils/podman/patches/patch-pkg_machine_ignition.go                                               |  12 +++
 sysutils/podman/patches/patch-pkg_machine_ignition__schema.go                                       |  12 +++
 sysutils/podman/patches/patch-pkg_machine_keys.go                                                   |  12 +++
 sysutils/podman/patches/patch-pkg_machine_pull.go                                                   |  12 +++
 sysutils/podman/patches/patch-pkg_machine_qemu_config.go                                            |  12 +++
 sysutils/podman/patches/patch-pkg_machine_qemu_machine.go                                           |  21 +++++
 sysutils/podman/patches/patch-pkg_machine_qemu_options__netbsd.go                                   |  20 +++++
 sysutils/podman/patches/patch-pkg_machine_qemu_options__netbsd__amd64.go                            |  27 ++++++
 sysutils/podman/patches/patch-pkg_util_utils__netbsd.go                                             |  16 ++++
 sysutils/podman/patches/patch-pkg_util_utils__supported.go                                          |  12 +++
 sysutils/podman/patches/patch-vendor_github.com_containers_buildah_util_util__uint64.go             |  12 +++
 sysutils/podman/patches/patch-vendor_github.com_containers_buildah_util_util__unix.go               |  12 +++
 sysutils/podman/patches/patch-vendor_github.com_containers_common_pkg_config_config__netbsd.go      |  24 ++++++
 sysutils/podman/patches/patch-vendor_github.com_containers_common_pkg_config_util__supported.go     |  12 +++
 sysutils/podman/patches/patch-vendor_github.com_containers_storage_drivers_chroot__unix.go          |  12 +++
 sysutils/podman/patches/patch-vendor_github.com_containers_storage_pkg_directory_directory__unix.go |  12 +++
 sysutils/podman/patches/patch-vendor_github.com_containers_storage_pkg_homedir_homedir__others.go   |  12 +++
 sysutils/podman/patches/patch-vendor_github.com_containers_storage_pkg_lockfile_lockfile__unix.go   |  12 +++
 sysutils/podman/patches/patch-vendor_github.com_containers_storage_pkg_system_stat__netbsd.go       |  20 +++++
 sysutils/podman/patches/patch-vendor_github.com_godbus_dbus_v5_transport__unixcred__netbsd.go       |  22 +++++
 sysutils/podman/patches/patch-vendor_github.com_moby_sys_mount_flags__bsd.go                        |  12 +++
 39 files changed, 581 insertions(+), 1 deletions(-)

diffs (truncated from 748 to 300 lines):

diff -r eadfb28f39af -r 8e7f1e082651 sysutils/Makefile
--- a/sysutils/Makefile Sat Sep 04 20:20:08 2021 +0000
+++ b/sysutils/Makefile Sat Sep 04 20:28:42 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.965 2021/08/30 23:46:34 jmcneill Exp $
+# $NetBSD: Makefile,v 1.966 2021/09/04 20:28:42 maya Exp $
 #
 
 COMMENT=       System utilities
@@ -518,6 +518,7 @@
 SUBDIR+=       pftop
 SUBDIR+=       pidof
 SUBDIR+=       pluged
+SUBDIR+=       podman
 SUBDIR+=       polysh
 SUBDIR+=       pscpug
 SUBDIR+=       psftools
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/DESCR     Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,9 @@
+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.
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/MESSAGE.NetBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/MESSAGE.NetBSD    Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,6 @@
+===========================================================================
+$NetBSD: MESSAGE.NetBSD,v 1.1 2021/09/04 20:28:42 maya Exp $
+
+You will need to build a kernel with options HZ=1000, or edit the created
+VM to append "noapic" to the Grub command line.
+===========================================================================
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/Makefile  Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2021/09/04 20:28:42 maya Exp $
+
+GITHUB_PROJECT=        podman
+GITHUB_TAG=    refs/tags/v3.3.1
+DISTNAME=      v3.3.1
+PKGNAME=       ${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=containers/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/containers/podman/
+COMMENT=       Tool for managing OCI containers and pods
+LICENSE=       apache-2.0
+
+WRKSRC=                ${WRKDIR}/podman-3.3.1
+USE_TOOLS+=    gmake gsed
+
+.include "../../mk/bsd.prefs.mk"
+.include "../../lang/go/version.mk"
+
+BUILD_DEPENDS+=        ${GO_PACKAGE_DEP}
+DEPENDS+=      qemu-[0-9]*:../../emulators/qemu
+DEPENDS+=      gvproxy-[0-9]*:../../net/gvproxy
+
+SUBST_CLASSES+=                gvproxy
+SUBST_FILES.gvproxy=   pkg/machine/qemu/machine.go
+SUBST_STAGE.gvproxy=   pre-configure
+SUBST_MESSAGE.gvproxy= fix PREFIX inside patch
+SUBST_VARS.gvproxy=    PREFIX
+
+.if ${OPSYS} != "Linux"
+BUILD_TARGET=  podman-remote-${OPSYS:tl}
+
+INSTALLATION_DIRS+=    bin
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/${OPSYS:tl}/podman ${DESTDIR}${PREFIX}/bin/podman
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/PLIST     Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2021/09/04 20:28:42 maya Exp $
+bin/podman
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/distinfo  Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,39 @@
+$NetBSD: distinfo,v 1.1 2021/09/04 20:28:42 maya Exp $
+
+SHA1 (podman/v3.3.1.tar.gz) = 658cf4a69ffe329a6c342dc209f4951738acc3b7
+RMD160 (podman/v3.3.1.tar.gz) = 1e12b82c57db1c9b1af9bee15cd2eb61a8ffe700
+SHA512 (podman/v3.3.1.tar.gz) = 19003f63c17c1c5788f34d0d6426a366035fc76aa2312e6355464d204d6536e5f78652abaf01643d4be7c2ee5224c25717b41760a4be4f6de8031cca9b06efaa
+Size (podman/v3.3.1.tar.gz) = 10917305 bytes
+SHA1 (patch-Makefile) = 5671f5452430d4b94af924defbb473eb91732281
+SHA1 (patch-cmd_podman_machine_init.go) = 391b486723fc63120235e108b078e475c328dd15
+SHA1 (patch-cmd_podman_machine_list.go) = 96007836194c66ed2e3e2bc271af7acf8e72fd9b
+SHA1 (patch-cmd_podman_machine_machine.go) = 749fdc292f9a425d0ca0fc1cec5aac90cb7f2a66
+SHA1 (patch-cmd_podman_machine_rm.go) = 0cbb65a1f2330185be6210936b7f1d0e82f26e2b
+SHA1 (patch-cmd_podman_machine_ssh.go) = 1c6d996b1e996c9a0fbb973e785b88bc19651519
+SHA1 (patch-cmd_podman_machine_start.go) = 9c4ae7fc106faab0d6e6ade73d0b07c2c024527e
+SHA1 (patch-cmd_podman_machine_stop.go) = a5a17b271e78617caecd15e19ddb2094c17f95c0
+SHA1 (patch-cmd_podman_registry_config.go) = 6d32a7526cad5728a385de0029b2bbe5474e7f1b
+SHA1 (patch-pkg_machine_config.go) = 9432c84ac70623c209723705b472912fde55ba84
+SHA1 (patch-pkg_machine_connection.go) = fac7ad8ec1110a0242f080201d5f3fbd683d0aa3
+SHA1 (patch-pkg_machine_fcos.go) = 1f50d437689f664b1f5bc196e6dbd16f10710747
+SHA1 (patch-pkg_machine_ignition.go) = 31cbf4b07aa2505317bfdb90a8157442e0fd68bb
+SHA1 (patch-pkg_machine_ignition__schema.go) = 82b8ff2f06efd98fc0af4203de77b30fa5ede735
+SHA1 (patch-pkg_machine_keys.go) = 8754a3bf3911dc30ce4c4a860062fefcee3e9c0a
+SHA1 (patch-pkg_machine_pull.go) = 77aa437282992a6eac6c2472bc76f149c0dcb5a7
+SHA1 (patch-pkg_machine_qemu_config.go) = aba88962e13027ec620a9a60326619a159c402d1
+SHA1 (patch-pkg_machine_qemu_machine.go) = 4524c385e209179243df834388244e9d5ea219b8
+SHA1 (patch-pkg_machine_qemu_options__netbsd.go) = a256dcafceb70f29b4f7a1ed013b52b5d6b0f4ba
+SHA1 (patch-pkg_machine_qemu_options__netbsd__amd64.go) = 7f5e4fe206e6e1d8f8e2cd33c8ac18b614c2dd61
+SHA1 (patch-pkg_util_utils__netbsd.go) = 452c7ca070a945cbcc3e703105c1fe0a65eaedc7
+SHA1 (patch-pkg_util_utils__supported.go) = 61d8aa0987049dd212cc354429bb7086b2ba3e80
+SHA1 (patch-vendor_github.com_containers_buildah_util_util__uint64.go) = 3e8b233c63224e5c2785760342bb42ec064a81a1
+SHA1 (patch-vendor_github.com_containers_buildah_util_util__unix.go) = 2073a132dc3bf63436ff29bcd228d960ab3c90d0
+SHA1 (patch-vendor_github.com_containers_common_pkg_config_config__netbsd.go) = 0f045546a9d51f5f64c84392107429e627c3674a
+SHA1 (patch-vendor_github.com_containers_common_pkg_config_util__supported.go) = 3e02f5ee7d0855d46d8318792f620e18f722d259
+SHA1 (patch-vendor_github.com_containers_storage_drivers_chroot__unix.go) = c2c625898c7651d24ba842a6654d57dd4a0e4428
+SHA1 (patch-vendor_github.com_containers_storage_pkg_directory_directory__unix.go) = c65adf43eca0ff10a289ae8f1fa09376164dc89e
+SHA1 (patch-vendor_github.com_containers_storage_pkg_homedir_homedir__others.go) = afe76698c46e8ae015e7128958336a80016a53b7
+SHA1 (patch-vendor_github.com_containers_storage_pkg_lockfile_lockfile__unix.go) = 0d143dd2aaa21470bc31e260dc3413b2533208f9
+SHA1 (patch-vendor_github.com_containers_storage_pkg_system_stat__netbsd.go) = 37bae90c1b3d97f8b4166fca2c59d144c41f81f8
+SHA1 (patch-vendor_github.com_godbus_dbus_v5_transport__unixcred__netbsd.go) = ff256cc59025a279c613ad91d3d483cabfbbf8c8
+SHA1 (patch-vendor_github.com_moby_sys_mount_flags__bsd.go) = 7261a1aee3334b7da676851851678a49a22559ae
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/patches/patch-Makefile    Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-Makefile,v 1.1 2021/09/04 20:28:42 maya Exp $
+
+Add netbsd support
+
+--- Makefile.orig      2021-08-30 19:15:26.000000000 +0000
++++ Makefile
+@@ -160,6 +160,9 @@ SRCBINDIR := bin/windows
+ else ifeq ($(GOOS),darwin)
+ BINSFX :=
+ SRCBINDIR := bin/darwin
++else ifeq ($(GOOS),netbsd)
++BINSFX :=
++SRCBINDIR := bin/netbsd
+ else
+ BINSFX := -remote
+ SRCBINDIR := bin
+@@ -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) \
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/patches/patch-cmd_podman_machine_init.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/patches/patch-cmd_podman_machine_init.go  Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cmd_podman_machine_init.go,v 1.1 2021/09/04 20:28:42 maya Exp $
+
+https://github.com/containers/podman/pull/11434
+
+--- cmd/podman/machine/init.go.orig    2021-08-30 19:15:26.000000000 +0000
++++ cmd/podman/machine/init.go
+@@ -1,4 +1,4 @@
+-// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
++// +build amd64,!windows arm64,!windows
+ 
+ package machine
+ 
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/patches/patch-cmd_podman_machine_list.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/patches/patch-cmd_podman_machine_list.go  Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cmd_podman_machine_list.go,v 1.1 2021/09/04 20:28:42 maya Exp $
+
+https://github.com/containers/podman/pull/11434
+
+--- cmd/podman/machine/list.go.orig    2021-08-30 19:15:26.000000000 +0000
++++ cmd/podman/machine/list.go
+@@ -1,4 +1,4 @@
+-// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
++// +build amd64,!windows arm64,!windows
+ 
+ package machine
+ 
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/patches/patch-cmd_podman_machine_machine.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/patches/patch-cmd_podman_machine_machine.go       Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cmd_podman_machine_machine.go,v 1.1 2021/09/04 20:28:42 maya Exp $
+
+https://github.com/containers/podman/pull/11434
+
+--- cmd/podman/machine/machine.go.orig 2021-08-30 19:15:26.000000000 +0000
++++ cmd/podman/machine/machine.go
+@@ -1,4 +1,4 @@
+-// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
++// +build amd64,!windows arm64,!windows
+ 
+ package machine
+ 
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/patches/patch-cmd_podman_machine_rm.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/patches/patch-cmd_podman_machine_rm.go    Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cmd_podman_machine_rm.go,v 1.1 2021/09/04 20:28:42 maya Exp $
+
+https://github.com/containers/podman/pull/11434
+
+--- cmd/podman/machine/rm.go.orig      2021-08-30 19:15:26.000000000 +0000
++++ cmd/podman/machine/rm.go
+@@ -1,4 +1,4 @@
+-// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
++// +build amd64,!windows arm64,!windows
+ 
+ package machine
+ 
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/patches/patch-cmd_podman_machine_ssh.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/patches/patch-cmd_podman_machine_ssh.go   Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cmd_podman_machine_ssh.go,v 1.1 2021/09/04 20:28:42 maya Exp $
+
+https://github.com/containers/podman/pull/11434
+
+--- cmd/podman/machine/ssh.go.orig     2021-08-30 19:15:26.000000000 +0000
++++ cmd/podman/machine/ssh.go
+@@ -1,4 +1,4 @@
+-// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
++// +build amd64,!windows arm64,!windows
+ 
+ package machine
+ 
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/patches/patch-cmd_podman_machine_start.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/patches/patch-cmd_podman_machine_start.go Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cmd_podman_machine_start.go,v 1.1 2021/09/04 20:28:42 maya Exp $
+
+https://github.com/containers/podman/pull/11434
+
+--- cmd/podman/machine/start.go.orig   2021-08-30 19:15:26.000000000 +0000
++++ cmd/podman/machine/start.go
+@@ -1,4 +1,4 @@
+-// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
++// +build amd64,!windows arm64,!windows
+ 
+ package machine
+ 
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/patches/patch-cmd_podman_machine_stop.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/patches/patch-cmd_podman_machine_stop.go  Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cmd_podman_machine_stop.go,v 1.1 2021/09/04 20:28:42 maya Exp $
+
+https://github.com/containers/podman/pull/11434
+
+--- cmd/podman/machine/stop.go.orig    2021-08-30 19:15:26.000000000 +0000
++++ cmd/podman/machine/stop.go
+@@ -1,4 +1,4 @@
+-// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
++// +build amd64,!windows arm64,!windows
+ 
+ package machine
+ 
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/patches/patch-cmd_podman_registry_config.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/podman/patches/patch-cmd_podman_registry_config.go       Sat Sep 04 20:28:42 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-cmd_podman_registry_config.go,v 1.1 2021/09/04 20:28:42 maya Exp $
+
+Add netbsd support
+
+--- cmd/podman/registry/config.go.orig 2021-08-30 19:15:26.000000000 +0000
++++ cmd/podman/registry/config.go
+@@ -54,7 +54,7 @@ func newPodmanConfig() {
+ 
+       var mode entities.EngineMode
+       switch runtime.GOOS {
+-      case "darwin", "windows":
++      case "darwin", "netbsd", "windows":
+               mode = entities.TunnelMode
+       case "linux":
+               // Some linux clients might only be compiled without ABI
diff -r eadfb28f39af -r 8e7f1e082651 sysutils/podman/patches/patch-pkg_machine_config.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000



Home | Main Index | Thread Index | Old Index