summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-filter
diff options
context:
space:
mode:
authorAdrian Freihofer <adrian.freihofer@gmail.com>2021-01-25 11:14:11 +0100
committerKhem Raj <raj.khem@gmail.com>2021-01-25 14:58:54 -0800
commitb7f83ca2f719fd0085723e76db72c271736b4d32 (patch)
tree55d7a66613d8fe758d8feb371d207b5ec5704911 /meta-networking/recipes-filter
parent5fe362171c7f3426fced0c7889facec397c9cc5e (diff)
downloadmeta-openembedded-b7f83ca2f719fd0085723e76db72c271736b4d32.tar.gz
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 <adrian.freihofer@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-filter')
-rw-r--r--meta-networking/recipes-filter/nftables/nftables_0.9.8.bb (renamed from meta-networking/recipes-filter/nftables/nftables_0.9.7.bb)6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-networking/recipes-filter/nftables/nftables_0.9.7.bb b/meta-networking/recipes-filter/nftables/nftables_0.9.8.bb
index e5dfef92b..6990ae3ae 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 \
10UPSTREAM_CHECK_REGEX = "nftables-(?P<pver>\d+(\.\d+){2,}).tar.bz2" 10UPSTREAM_CHECK_REGEX = "nftables-(?P<pver>\d+(\.\d+){2,}).tar.bz2"
11 11
12SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.bz2" 12SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.bz2"
13SRC_URI[sha256sum] = "fe6b8a8c326a2c09c02ca162b840d7d4aadb043ce7a367c166d6455b0e112cb0" 13SRC_URI[sha256sum] = "60fc004656dae4fefc4901c939c9d64120b4dedb49738e420a9a34989f108fe4"
14 14
15inherit autotools manpages pkgconfig 15inherit autotools manpages pkgconfig
16 16
17PACKAGECONFIG ??= "python readline" 17PACKAGECONFIG ??= "python readline json"
18PACKAGECONFIG[json] = "--with-json, --without-json, jansson" 18PACKAGECONFIG[json] = "--with-json, --without-json, jansson"
19PACKAGECONFIG[manpages] = "--enable-man-doc, --disable-man-doc, asciidoc-native" 19PACKAGECONFIG[manpages] = "--enable-man-doc, --disable-man-doc, asciidoc-native"
20PACKAGECONFIG[mini-gmp] = "--with-mini-gmp, --without-mini-gmp" 20PACKAGECONFIG[mini-gmp] = "--with-mini-gmp, --without-mini-gmp"
@@ -28,4 +28,4 @@ RRECOMMENDS_${PN} += "kernel-module-nf-tables"
28 28
29PACKAGES =+ "${PN}-python" 29PACKAGES =+ "${PN}-python"
30FILES_${PN}-python = "${nonarch_libdir}/${PYTHON_DIR}" 30FILES_${PN}-python = "${nonarch_libdir}/${PYTHON_DIR}"
31RDEPENDS_${PN}-python = "python3-core python3-json" 31RDEPENDS_${PN}-python = "python3-core python3-json ${PN}"