Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] podman: update to 5.1.1.
@ 2024-06-14 20:48 lemmi
  2024-06-14 21:27 ` lemmi
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: lemmi @ 2024-06-14 20:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]

There is a new pull request by lemmi against master on the void-packages repository

https://github.com/lemmi/void-packages podman5
https://github.com/void-linux/void-packages/pull/50835

podman: update to 5.1.1.
Built on #49936.

Added dependencies on `passt` and `netavark`, since these are the new defaults. Maybe we also want to pull `aardvark-dns` in, too. `slirp4netns` and `cni` will still work, but are considered deprecated. As long as upstream doesn't make a breaking change, we should keep those dependencies to not break running systems.

@CameronNemo 

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/50835.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-podman5-50835.patch --]
[-- Type: text/x-diff, Size: 3713 bytes --]

From f27ab33af048290f06083cd921cfe5f4da7c2c04 Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sat, 20 Apr 2024 18:38:43 +0200
Subject: [PATCH 1/2] podman: update to 5.0.2.

Closes: #49936 [via git-merge-pr]
---
 srcpkgs/podman/template | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/podman/template b/srcpkgs/podman/template
index 2d96648e291fb2..e11f13ea583d15 100644
--- a/srcpkgs/podman/template
+++ b/srcpkgs/podman/template
@@ -1,12 +1,12 @@
 # Template file for 'podman'
 pkgname=podman
-version=4.9.3
+version=5.0.2
 revision=1
 build_style=go
-go_import_path="github.com/containers/podman/v4"
+go_import_path="github.com/containers/podman/v5"
 go_package="${go_import_path}/cmd/podman ${go_import_path}/cmd/rootlessport"
 go_build_tags="seccomp apparmor containers_image_ostree_stub"
-hostmakedepends="pkg-config go-md2man python3"
+hostmakedepends="pkg-config go-md2man python3 mdocml"
 makedepends="gpgme-devel libseccomp-devel device-mapper-devel libbtrfs-devel"
 depends="runc conmon cni-plugins slirp4netns fuse-overlayfs
  containers-common containers.image containers.storage"
@@ -16,16 +16,26 @@ license="Apache-2.0"
 homepage="https://podman.io/"
 changelog="https://raw.githubusercontent.com/containers/podman/main/RELEASE_NOTES.md"
 distfiles="https://github.com/containers/podman/archive/v${version}.tar.gz"
-checksum=37afc5bba2738c68dc24400893b99226c658cc9a2b22309f4d7abe7225d8c437
+checksum=85c3f70a1c293ccf48907d8e9fe13c6c9aac67242525a539296beeef31ba11a8
 
 if [ "$CROSS_BUILD" ]; then
 	go_build_tags+=" containers_image_openpgp"
 fi
 
+case $XBPS_TARGET_MACHINE in
+	aarch64* | x86_64*) ;;
+	*) make_check="no" ;; # Upstream only supports tests on aarch64 and x86_64
+esac
+
 post_build() {
 	make docs
 }
 
+do_check() {
+	make .install.ginkgo
+	make localunit
+}
+
 post_install() {
 	vmkdir usr/libexec/podman
 	mv "${DESTDIR}/usr/bin/rootlessport" "${DESTDIR}/usr/libexec/podman/rootlessport"

From 30537620684062fdd057cd0034c0d07ea783075a Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Fri, 14 Jun 2024 22:28:26 +0200
Subject: [PATCH 2/2] podman: update to 5.1.1.

---
 srcpkgs/podman/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/podman/template b/srcpkgs/podman/template
index e11f13ea583d15..4741be4dbcf988 100644
--- a/srcpkgs/podman/template
+++ b/srcpkgs/podman/template
@@ -1,6 +1,6 @@
 # Template file for 'podman'
 pkgname=podman
-version=5.0.2
+version=5.1.1
 revision=1
 build_style=go
 go_import_path="github.com/containers/podman/v5"
@@ -8,15 +8,15 @@ go_package="${go_import_path}/cmd/podman ${go_import_path}/cmd/rootlessport"
 go_build_tags="seccomp apparmor containers_image_ostree_stub"
 hostmakedepends="pkg-config go-md2man python3 mdocml"
 makedepends="gpgme-devel libseccomp-devel device-mapper-devel libbtrfs-devel"
-depends="runc conmon cni-plugins slirp4netns fuse-overlayfs
- containers-common containers.image containers.storage"
+depends="runc conmon cni-plugins slirp4netns fuse-overlayfs containers-common
+ containers.image containers.storage netavark passt"
 short_desc="Simple management tool for containers and images"
 maintainer="Cameron Nemo <cam@nohom.org>"
 license="Apache-2.0"
 homepage="https://podman.io/"
 changelog="https://raw.githubusercontent.com/containers/podman/main/RELEASE_NOTES.md"
 distfiles="https://github.com/containers/podman/archive/v${version}.tar.gz"
-checksum=85c3f70a1c293ccf48907d8e9fe13c6c9aac67242525a539296beeef31ba11a8
+checksum=ba1022c467dbc3e551e4d391dc6a5c03f33040a0764304b334afd7c6217c4894
 
 if [ "$CROSS_BUILD" ]; then
 	go_build_tags+=" containers_image_openpgp"

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-07-25 20:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-14 20:48 [PR PATCH] podman: update to 5.1.1 lemmi
2024-06-14 21:27 ` lemmi
2024-07-01  7:10 ` afbjorklund
2024-07-01 18:23 ` [PR PATCH] [Updated] " lemmi
2024-07-01 18:30 ` lemmi
2024-07-01 18:30 ` lemmi
2024-07-02  3:39 ` [PR PATCH] [Updated] " lemmi
2024-07-15  9:23 ` lemmi
2024-07-22  9:00 ` [PR PATCH] [Updated] " lemmi
2024-07-22 17:23 ` CameronNemo
2024-07-25 20:13 ` [PR PATCH] [Closed]: " lemmi
2024-07-25 20:13 ` [PR PATCH] [Updated] " lemmi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).