# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 [[ ${PV} == 9999* ]] || CRATES="${PN}@${PV}" RUST_MIN_VER="1.88.0" inherit cargo systemd DESCRIPTION="A container network stack" HOMEPAGE="https://github.com/containers/netavark" if [[ ${PV} == 9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/containers/netavark.git" else SRC_URI="${CARGO_CRATE_URIS} https://github.com/containers/netavark/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz" KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv" fi # main LICENSE="Apache-2.0" # deps LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 MIT Unicode-DFS-2016 Unlicense ZLIB" SLOT="0" RDEPEND=">=app-containers/aardvark-dns-2.0.0 net-firewall/nftables[json] !