podman: update to 5.1.2.

Closes: #49936 [via git-merge-pr]
This commit is contained in:
lemmi 2024-04-20 18:38:43 +02:00
parent 4060636716
commit 2947f9336c
1 changed files with 18 additions and 7 deletions

View File

@ -1,31 +1,42 @@
# Template file for 'podman' # Template file for 'podman'
pkgname=podman pkgname=podman
version=4.9.3 version=5.1.2
revision=1 revision=1
build_style=go 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_package="${go_import_path}/cmd/podman ${go_import_path}/cmd/rootlessport"
go_build_tags="seccomp apparmor containers_image_ostree_stub" go_build_tags="seccomp apparmor containers_image_ostree_stub cni"
hostmakedepends="pkg-config go-md2man python3" hostmakedepends="pkg-config go-md2man python3 mdocml"
makedepends="gpgme-devel libseccomp-devel device-mapper-devel libbtrfs-devel" makedepends="gpgme-devel libseccomp-devel device-mapper-devel libbtrfs-devel"
depends="runc conmon cni-plugins slirp4netns fuse-overlayfs depends="runc conmon cni-plugins slirp4netns fuse-overlayfs containers-common
containers-common containers.image containers.storage" containers.image containers.storage netavark passt"
checkdepends="qemu"
short_desc="Simple management tool for containers and images" short_desc="Simple management tool for containers and images"
maintainer="Cameron Nemo <cam@nohom.org>" maintainer="Cameron Nemo <cam@nohom.org>"
license="Apache-2.0" license="Apache-2.0"
homepage="https://podman.io/" homepage="https://podman.io/"
changelog="https://raw.githubusercontent.com/containers/podman/main/RELEASE_NOTES.md" changelog="https://raw.githubusercontent.com/containers/podman/main/RELEASE_NOTES.md"
distfiles="https://github.com/containers/podman/archive/v${version}.tar.gz" distfiles="https://github.com/containers/podman/archive/v${version}.tar.gz"
checksum=37afc5bba2738c68dc24400893b99226c658cc9a2b22309f4d7abe7225d8c437 checksum=0e1c4202d25dc270b996583cff97d806eab88682beb9586a6813431559273fc9
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
go_build_tags+=" containers_image_openpgp" go_build_tags+=" containers_image_openpgp"
fi fi
case $XBPS_TARGET_MACHINE in
aarch64* | x86_64*) ;;
*) make_check="no" ;; # Upstream only supports tests on aarch64 and x86_64
esac
post_build() { post_build() {
make docs make docs
} }
do_check() {
make .install.ginkgo
make localunit
}
post_install() { post_install() {
vmkdir usr/libexec/podman vmkdir usr/libexec/podman
mv "${DESTDIR}/usr/bin/rootlessport" "${DESTDIR}/usr/libexec/podman/rootlessport" mv "${DESTDIR}/usr/bin/rootlessport" "${DESTDIR}/usr/libexec/podman/rootlessport"