meta-virtualization/recipes-containers/netavark/netavark_1.14.1.bb
Bruce Ashfield 11832b140a netavark: update to v1.14.1
Creates updated with: bitbake -c update_crates netavark

Bumping netavark to version v1.14.1-1-g0d623ce, which comprises the following commits:

    8711e83 Release v1.14.1
    0b7cbc5 Release notes for v1.14.0
    389d8d9 Fix detect of Firewalld's StrictForwardPorts property
    6267803 test/001-basic: Make commit test optional
    99bd7d7 cirrus: do not build debug bins
    ce947ad Makefile: do not rebuild if nothing changed
    1e5dc1c Makefile: uninstall netavark-firewalld-reload.service
    3b5bf92 docs/Makefile: several fixes
    c4c37ca Makefile: build docs by default
    26baf2c Makefile: do not build twice
    2af9044 Release v1.14.0
    c38577b release notes for v1.14.0
    b086c4e update release notes from v1.13.1
    35a0efb run cargo update
    4fea4c0 Finalize firewalld port forwarding support
    6b4ecbd chore(deps): update rust crate once_cell to 1.20.3
    6f0bc1d fix(deps): update rust crate rand to 0.9.0
    6e5de55 Add handling for firewalld's StrictForwardPorts setting
    fd8e99b fix lint issues wirh rust 1.84
    bb17a6d chore(deps): update dependency containers/automation_images to v20250131
    3cd3d9e chore(deps): update rust crate tempfile to 3.16.0
    f57ae66 rename macvlan_dhcp.rs to dhcp.rs
    58bb08d bridge: only allow dhcp with unmanaged mode
    a75c979 bridge: support DHCP ipam driver
    a47b5df fix(deps): update rust crate ipnet to 2.11.0
    a03cdd9 fix(deps): update rust crate serde_json to 1.0.136
    b4ccb6c fix(deps): update rust crate log to 0.4.24
    7562017 bridge: add vlan support
    cb250d4 fix(deps): update rust crate tokio to 1.43.0
    7d9edf9 fix(deps): update rust crate serde_json to 1.0.135
    5789f67 New VM Images
    eb49d9a fix(deps): update rust crate clap to ~4.5.23
    d67e98a chore(deps): update rust crate tempfile to 3.15.0
    854b8bf fix(deps): update rust crate nispor to 1.2.22
    2c759c5 fix(deps): update rust crate serde_json to 1.0.134
    732cc05 fix(deps): update rust crate env_logger to 0.11.6
    2bf9cfd Add container hostname to DHCP requests and use container id as client id
    bbc5f95 fix(deps): update rust crate mozim to 0.2.5
    6217c49 generate protobuf in OUT_DIR
    d0d999b fix(deps): update rust crate tower to 0.5.2
    795a36b Cargo.lock: bump some versions
    a2ec8cc run cargo update
    cbfe8fe cargo: set rust-version
    6453c23 fix new rust 1.83 lint errors
    62f4570 OWNERS: remove edsantiago
    73e9911 setup: on av errors cleanup again
    5861afa nftables: add daddr match to port forward jump rule
    2900e92 network: bridge: don't change forwarding sysctl for internal bridges
    4dae6d0 network: bridge: add support for unmanaged mode
    71d8a5a test-dhcp: remove deprecated ifconfig/brctl commands
    55a0f25 fix new rust 1.82 lint errors
    8892b7f update ci images
    ceb113f fix(deps): update rust crate serde_json to 1.0.133
    dc99b01 network: bridge: add support for host_interface_name option
    818a19f network: add support for network-specific options
    a9dcf42 fix(deps): update rust crate ipnet to 2.10.1
    b41f6f5 chore(deps): update rust crate tempfile to 3.14.0
    31c32a9 fix(deps): update rust crate tokio to 1.41.1
    e2cb0bd fix(deps): update rust crate anyhow to 1.0.93
    1fca9f9 fix(deps): update rust crate url to 2.5.3
    7dea7fb [skip-ci] RPM: cleanup changelog conditionals
    8425b8e fix(deps): update rust crate anyhow to 1.0.92
    1d75d62 Bump to 1.14.0-dev

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-03-24 18:42:34 +00:00

67 lines
2.0 KiB
BlitzBasic

SUMMARY = "A container network stack"
HOMEPAGE = "https://github.com/containers/netavark"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
SRCREV = "0d623ce702eeef7584cb9841de18e1e33e325207"
# It is possible to fetch the source using the crate fetcher instead:
#SRC_URI = "crate://crates.io/${BPN}/${PV}"
SRC_URI = "git://github.com/containers/netavark.git;protocol=https;branch=v1.14 \
file://tests.patch \
file://0001-test-skip-firewalld-and-sit-module-related-cases.patch \
file://run-ptest"
require ${BPN}-crates.inc
S = "${WORKDIR}/git"
PACKAGECONFIG ?= "aardvark-dns"
# From the documentation of netavark
# https://github.com/containers/netavark/blob/v1.1.0/DISTRO_PACKAGE.md#dependency-on-aardvark-dns
# The aardvark-dns will be installed by default with netavark, but
# netavark will be functional without it.
PACKAGECONFIG[aardvark-dns]= ",,, aardvark-dns"
inherit cargo cargo-update-recipe-crates features_check ptest
# Cargo installs the binary to bin so move it to where podman expects it
do_install:append() {
install -d ${D}${libexecdir}
mv ${D}${bindir} ${D}${libexecdir}/podman
}
do_install_ptest() {
cp -r ${S}/test ${D}${PTEST_PATH}
for i in 200-bridge-firewalld.bats 400-ipvlan.bats 500-plugin.bats; do
[ -f ${D}${PTEST_PATH}/test/${i} ] && mv ${D}${PTEST_PATH}/test/${i} ${D}${PTEST_PATH}/test/${i}.bak;
done
}
# rdepends on aardvark-dns which rdepends on slirp4netns
REQUIRED_DISTRO_FEATURES ?= "seccomp"
DEPENDS += "protobuf-c-native protobuf-c"
# bind-utils is used to install dig
# procps-ps is necessary because the ps from busybox is
# not having the same behavior
# iputils is used because busybox ping behaves differently
RDEPENDS:${PN}-ptest += " \
bash \
bats \
bind-utils \
coreutils \
dbus-daemon-proxy \
iproute2 \
iputils \
jq \
nftables \
${@bb.utils.contains( "TARGET_ARCH", "aarch64", "", "nmap", d)} \
procps-ps \
util-linux-nsenter \
util-linux-unshare \
"