meta-virtualization/recipes-containers/netavark/netavark_1.13.1.bb
Bruce Ashfield 7e6b171487 netavark: update to v1.13.1
Bumping netavark to version v1.13.1-1-g443d164, which comprises the following commits:

    0935a20 Release v1.13.1
    56428e7 Release notes for v1.13.1
    ce52673 setup: on av errors cleanup again
    f6fe9ed nftables: add daddr match to port forward jump rule
    00e7472 Release v1.13.0
    04650aa Updates release notes for v1.13.0
    84f8e89 run cargo update
    6ba9d5d fix(deps): update rust crate hyper-util to 0.1.10
    5a31988 [skip-ci] Packit: Remove epel targets
    4bc65c2 fix(deps): update rust crate nftables to 0.5.0
    ca9c45e fix(deps): update rust crate anyhow to 1.0.91
    31fc658 fix(deps): update rust crate tokio to 1.41.0
    6284e8b fix(deps): update rust crate anyhow to 1.0.90
    571e26d Updated to zbus4
    bd29d93 chore(deps): update dependency containers/automation_images to v20241010
    8114c82 test-dhcp: fix NOP test
    acd2a9d fix new lint errors with rust 1.81
    e848ea5 fix(deps): update rust crate clap to ~4.5.20
    08333ad contrib/container_images: remove no longer used images
    dc440ac cirrus: check for msrv build
    bb0359d add new rust image to check for MSRV
    e2eea81 define a MSRV policy
    ef66137 [skip-ci] Packit: constrain koji and bodhi to the fedora package
    bc6ad66 chore(deps): update rust crate once_cell to 1.20.2
    7b6df6e fix(deps): update rust-futures monorepo to 0.3.31
    0a3f78b OWNERS file audit and update
    c198914 update tonic and prost dependencies
    97d56bb update tower to v0.5.1
    dccb834 fix(deps): update rust crate sysctl to 0.6.0
    503298d fix(deps): update rust crate netlink-packet-route to 0.21.0
    f0738f2 chore(deps): update rust crate tempfile to 3.13.0
    6433c1c chore(deps): update rust crate once_cell to 1.20.1
    4025d42 fix(deps): update rust crate nispor to 1.2.21
    df781e3 fix(deps): update rust crate anyhow to 1.0.89
    b497d6b nftables: add dns dnat rule first
    22b5110 iptables: add dns dnat rule first
    78ef87f fix(deps): update rust crate anyhow to 1.0.88
    38c90f5 nft: remove port forwarding rules correctly
    f599796 fix(deps): update rust crate tokio-stream to 0.1.16
    ad840ab nft: do not parse localhost string ip
    a7b65ac nft: use append() over push() where possible
    17f8b04 Packit: add sidetag to release with aardvark-dns
    34c742b fix(deps): update rust crate tokio to 1.40.0
    6782bbf fix(deps): update rust crate libc to 0.2.157
    e650a76 fix(deps): update rust crate tokio to 1.39.3
    678beff fix(deps): update rust crate libc to 0.2.156
    4f37d9f aardvark: on start failure delete entries again
    23ac90f iptables: make dns rules cover tcp as well
    7d2882a nftables: make dns rules cover tcp as well
    a21509b fix(deps): update rust crate serde_json to 1.0.123
    8c08678 remove superfluous formatters from debug stmt
    558078f chore(deps): update rust crate tempfile to 3.12.0
    06d8a9e fix new rust 1.80 lint issues
    f0ae7ef silence new rust 1.80 warnings
    748908a chore(deps): update rust crate tempfile to 3.11.0
    af57295 fix(deps): update rust crate serde_json to 1.0.122
    6dd091f Bumping main back to v1.13.0-dev for development
    a4e1359 Release v1.12.1
    8b6117d Update release notes for v1.12.1
    f307944 Change nv cargo categories
    fa2b5fc Bump to 1.13.0-dev
    30d84df Release 1.12
    f42922c Release Notes for 1.12
    743ed24 run cargo update
    097c32f rpm: use nftables as default for f41
    30aee33 fix(deps): update rust crate serde_json to 1.0.121
    7810238 fix(deps): update rust crate tokio to 1.39.2
    0ab24f6 aardvark-dns: trim whitespaces from error text
    d4da022 fix(deps): update rust crate env_logger to 0.11.5
    74952f6 [skip-ci] RPM: handle iptables/nftables dependencies
    ed0dad1 fix aardvark-dns error handling
    63737b2 fix(deps): update rust crate tokio to 1.39.1
    a2dc538 fix(deps): update rust crate env_logger to 0.11.4
    03a2786 fix(deps): update rust crate tokio to 1.38.1
    cf67881 update mozim to 0.2.4
    1fe10c3 fix(deps): update rust crate serde_json to 1.0.120
    26afe34 netavark: dhcp_proxy: use dns servers from dhcp lease
    74b5637 fix(deps): update rust crate serde_json to 1.0.119
    3a1d4a2 fix(deps): update rust crate netlink-packet-route to 0.20.1
    8c2d015 fix(deps): update rust crate log to 0.4.22
    2f02d57 Fix Epoch so upgrade path is preserved from Fedora/RHEL.
    2052269 test: add macvlan metric test
    351b9dc fix(deps): update rust crate serde_json to 1.0.118
    5728114 fix(deps): update rust crate url to 2.5.2
    38baefb fix(deps): update rust crate prost to 0.12.6
    17e34de fix(deps): update rust crate url to 2.5.1
    60ca130 fix(deps): update rust crate iptables to 0.5.2
    5a4bf12 [CI:BUILD] rpm: Update Rust macro usage
    19e72a0 fix(deps): update rust crate nftables to 0.4.1
    fe96f0f fix(deps): update rust crate tokio to 1.38.0
    9e3e310 Bump to 1.12.0-dev

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-01-17 19:17:09 +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 = "443d164069eac3be39af0462f8ffffb0cf21ed9c"
# 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.13 \
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 \
"