New package: netavark-1.6.0

This commit is contained in:
Daniel Eyßer 2023-03-01 23:18:45 +01:00 committed by Duncan Overbruck
parent 4aa963ecc2
commit 0991a644d6
1 changed files with 23 additions and 0 deletions

23
srcpkgs/netavark/template Normal file
View File

@ -0,0 +1,23 @@
# Template file for 'netavark'
pkgname=netavark
version=1.6.0
revision=1
build_style=cargo
hostmakedepends="mandown protobuf"
short_desc="Container network stack"
maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/containers/netavark"
changelog="https://raw.githubusercontent.com/containers/netavark/main/RELEASE_NOTES.md"
distfiles="https://github.com/containers/netavark/archive/refs/tags/v${version}.tar.gz"
checksum=3bec9e9b0f3f8f857370900010fb2125ead462d43998ad8f43e4387a5b06f9d6
# needs unshare which cannot be used in CI
make_check=ci-skip
post_install() {
vmkdir usr/libexec/podman
ln -sf ../../bin/netavark "${DESTDIR}/usr/libexec/podman"
ln -sf ../../bin/netavark-dhcp-proxy-client "${DESTDIR}/usr/libexec/podman"
mandown docs/netavark.1.md > netavark.1
vman netavark.1
}