Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] podman: update to 5.0.2.
@ 2024-04-20 16:41 AnInternetTroll
  2024-04-24 16:28 ` [PR PATCH] [Updated] " AnInternetTroll
  0 siblings, 1 reply; 2+ messages in thread
From: AnInternetTroll @ 2024-04-20 16:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AnInternetTroll/void-packages user/luca/podman
https://github.com/void-linux/void-packages/pull/49936

podman: update to 5.0.2.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)

Tested locally with an nginx image (plus netavark and passt).

The tests failed locally for me when compiling for i686, but passed for
x86\_64-glibc and x86\_64-musl


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/podman-49936.patch --]
[-- Type: text/x-diff, Size: 1827 bytes --]

From 1b5cb7e6eebe7f9a5e8d0c8110d3541fde21eb94 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] podman: update to 5.0.2.

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

diff --git a/srcpkgs/podman/template b/srcpkgs/podman/template
index 2d96648e291fb2..39ca841d7756ed 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,7 +16,7 @@ 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"
@@ -26,6 +26,11 @@ 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"

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

* Re: [PR PATCH] [Updated] podman: update to 5.0.2.
  2024-04-20 16:41 [PR PATCH] podman: update to 5.0.2 AnInternetTroll
@ 2024-04-24 16:28 ` AnInternetTroll
  0 siblings, 0 replies; 2+ messages in thread
From: AnInternetTroll @ 2024-04-24 16:28 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/podman
https://github.com/void-linux/void-packages/pull/49936

podman: update to 5.0.2.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)

Tested locally with an nginx image (plus netavark and passt).

The tests failed locally for me when compiling for i686, but passed for
x86\_64-glibc and x86\_64-musl


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/podman-49936.patch --]
[-- Type: text/x-diff, Size: 1963 bytes --]

From 397ac71e66b6465576ee2fbcdfaaaf7fe492d5f8 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] podman: update to 5.0.2.

---
 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"

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

end of thread, other threads:[~2024-04-24 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-20 16:41 [PR PATCH] podman: update to 5.0.2 AnInternetTroll
2024-04-24 16:28 ` [PR PATCH] [Updated] " AnInternetTroll

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).