From e4c2d01d2d4129e5643cacae794ff3f56e6c39e7 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 9 Dec 2025 17:55:22 +0800 Subject: libnftnl: upgrade 1.3.0 -> 1.3.1 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-filter/libnftnl/libnftnl_1.3.0.bb | 38 ---------------------- .../recipes-filter/libnftnl/libnftnl_1.3.1.bb | 38 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 meta-networking/recipes-filter/libnftnl/libnftnl_1.3.0.bb create mode 100644 meta-networking/recipes-filter/libnftnl/libnftnl_1.3.1.bb diff --git a/meta-networking/recipes-filter/libnftnl/libnftnl_1.3.0.bb b/meta-networking/recipes-filter/libnftnl/libnftnl_1.3.0.bb deleted file mode 100644 index 705681641a..0000000000 --- a/meta-networking/recipes-filter/libnftnl/libnftnl_1.3.0.bb +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY = "Library for low-level interaction with nftables Netlink's API over libmnl" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=79808397c3355f163c012616125c9e26" -SECTION = "libs" - -SRC_URI = "git://git.netfilter.org/libnftnl;branch=master;tag=${BP} \ - file://0001-configure.ac-Add-serial-tests.patch \ - file://run-ptest \ - " -SRCREV = "d36691a4ac486857fd437d3a9aa3701a073a9539" - - -inherit autotools pkgconfig ptest - -DEPENDS = "libmnl" -RDEPENDS:${PN}-ptest += " bash python3-core make" - -TESTDIR = "tests" - -do_compile_ptest() { - cp -rf ${S}/build-aux . - oe_runmake buildtest-TESTS -} - -do_install_ptest() { - cp -rf ${B}/build-aux ${D}${PTEST_PATH} - install -d ${D}${PTEST_PATH}/${TESTDIR} - cp -rf ${B}/${TESTDIR}/Makefile ${D}${PTEST_PATH}/${TESTDIR} - - # the binaries compiled in ${TESTDIR} will look for a compiler to - # use, which will cause failures. Substitute the binaries in - # ${TESTDIR}/.libs instead - cp -rf ${B}/${TESTDIR}/.libs/* ${D}${PTEST_PATH}/${TESTDIR} - - # Alter the Makefile so that it does not try and rebuild anything in - # other nonexistent paths before running the actual tests - sed -i 's/^Makefile/_Makefile/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile -} diff --git a/meta-networking/recipes-filter/libnftnl/libnftnl_1.3.1.bb b/meta-networking/recipes-filter/libnftnl/libnftnl_1.3.1.bb new file mode 100644 index 0000000000..2d2f3d41a6 --- /dev/null +++ b/meta-networking/recipes-filter/libnftnl/libnftnl_1.3.1.bb @@ -0,0 +1,38 @@ +SUMMARY = "Library for low-level interaction with nftables Netlink's API over libmnl" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=79808397c3355f163c012616125c9e26" +SECTION = "libs" + +SRC_URI = "git://git.netfilter.org/libnftnl;branch=master;tag=${BP} \ + file://0001-configure.ac-Add-serial-tests.patch \ + file://run-ptest \ + " +SRCREV = "0f48d7638800bb48c863e6b7e5f2fe92972bb31c" + + +inherit autotools pkgconfig ptest + +DEPENDS = "libmnl" +RDEPENDS:${PN}-ptest += " bash python3-core make" + +TESTDIR = "tests" + +do_compile_ptest() { + cp -rf ${S}/build-aux . + oe_runmake buildtest-TESTS +} + +do_install_ptest() { + cp -rf ${B}/build-aux ${D}${PTEST_PATH} + install -d ${D}${PTEST_PATH}/${TESTDIR} + cp -rf ${B}/${TESTDIR}/Makefile ${D}${PTEST_PATH}/${TESTDIR} + + # the binaries compiled in ${TESTDIR} will look for a compiler to + # use, which will cause failures. Substitute the binaries in + # ${TESTDIR}/.libs instead + cp -rf ${B}/${TESTDIR}/.libs/* ${D}${PTEST_PATH}/${TESTDIR} + + # Alter the Makefile so that it does not try and rebuild anything in + # other nonexistent paths before running the actual tests + sed -i 's/^Makefile/_Makefile/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile +} -- cgit v1.2.3-54-g00ecf