diff options
author | Luca Matei Pintilie <luca@lucamatei.com> | 2024-04-20 16:38:43 +0000 |
---|---|---|
committer | Luca Matei Pintilie <luca@lucamatei.com> | 2024-04-24 16:28:09 +0000 |
commit | 397ac71e66b6465576ee2fbcdfaaaf7fe492d5f8 (patch) | |
tree | e91a218ad1190dcb0ed05dc7cfa91514c4e3bd81 /srcpkgs | |
parent | aac34f31eb165c5dc6e3fcabaa6da3844486a15a (diff) | |
download | void-packages-user/luca/podman.tar void-packages-user/luca/podman.tar.gz void-packages-user/luca/podman.tar.bz2 void-packages-user/luca/podman.tar.lz void-packages-user/luca/podman.tar.xz void-packages-user/luca/podman.tar.zst void-packages-user/luca/podman.zip |
podman: update to 5.0.2.user/luca/podman
Diffstat (limited to 'srcpkgs')
-rw-r--r-- | srcpkgs/podman/template | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/srcpkgs/podman/template b/srcpkgs/podman/template index 2d96648e291..e11f13ea583 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" |