From b7f83ca2f719fd0085723e76db72c271736b4d32 Mon Sep 17 00:00:00 2001 From: Adrian Freihofer Date: Mon, 25 Jan 2021 11:14:11 +0100 Subject: [PATCH] nftables: upgrade 0.9.7 -> 0.9.8 Added missing RDEPENDS to the libnft library from nftables-python to libnftable.so.1 which is loaded dynamically by LibraryLoader into python. Added json to default PACKAGECONFIG which is probably used as well when compiled with python support. For example firewalld crashes at runtime if nftables is compiled without json support. Signed-off-by: Adrian Freihofer Signed-off-by: Khem Raj --- .../nftables/{nftables_0.9.7.bb => nftables_0.9.8.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta-networking/recipes-filter/nftables/{nftables_0.9.7.bb => nftables_0.9.8.bb} (86%) diff --git a/meta-networking/recipes-filter/nftables/nftables_0.9.7.bb b/meta-networking/recipes-filter/nftables/nftables_0.9.8.bb similarity index 86% rename from meta-networking/recipes-filter/nftables/nftables_0.9.7.bb rename to meta-networking/recipes-filter/nftables/nftables_0.9.8.bb index e5dfef92bd..6990ae3aeb 100644 --- a/meta-networking/recipes-filter/nftables/nftables_0.9.7.bb +++ b/meta-networking/recipes-filter/nftables/nftables_0.9.8.bb @@ -10,11 +10,11 @@ DEPENDS = "libmnl libnftnl bison-native \ UPSTREAM_CHECK_REGEX = "nftables-(?P\d+(\.\d+){2,}).tar.bz2" SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.bz2" -SRC_URI[sha256sum] = "fe6b8a8c326a2c09c02ca162b840d7d4aadb043ce7a367c166d6455b0e112cb0" +SRC_URI[sha256sum] = "60fc004656dae4fefc4901c939c9d64120b4dedb49738e420a9a34989f108fe4" inherit autotools manpages pkgconfig -PACKAGECONFIG ??= "python readline" +PACKAGECONFIG ??= "python readline json" PACKAGECONFIG[json] = "--with-json, --without-json, jansson" PACKAGECONFIG[manpages] = "--enable-man-doc, --disable-man-doc, asciidoc-native" PACKAGECONFIG[mini-gmp] = "--with-mini-gmp, --without-mini-gmp" @@ -28,4 +28,4 @@ RRECOMMENDS_${PN} += "kernel-module-nf-tables" PACKAGES =+ "${PN}-python" FILES_${PN}-python = "${nonarch_libdir}/${PYTHON_DIR}" -RDEPENDS_${PN}-python = "python3-core python3-json" +RDEPENDS_${PN}-python = "python3-core python3-json ${PN}"