Github messages for voidlinux
 help / color / mirror / Atom feed
From: lemmi <lemmi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] podman: update to 5.1.1.
Date: Mon, 01 Jul 2024 20:30:16 +0200	[thread overview]
Message-ID: <20240701183016.9968720D77@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50835@inbox.vuxu.org>

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

There is an updated 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: 3735 bytes --]

From a841c44952f620642097cf8df02f26a2ff1d306a 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 b510030756eda4fa0790f13185fb2d941d30cf81 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 | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/podman/template b/srcpkgs/podman/template
index e11f13ea583d15..67c3ead2b138ad 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,16 @@ 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"
+checkdepends="qemu"
 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"

  parent reply	other threads:[~2024-07-01 18:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-14 20:48 [PR PATCH] " 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240701183016.9968720D77@inbox.vuxu.org \
    --to=lemmi@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).