mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 14:25:53 +01:00
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>
This commit is contained in:
parent
5fe362171c
commit
b7f83ca2f7
|
|
@ -10,11 +10,11 @@ DEPENDS = "libmnl libnftnl bison-native \
|
|||
UPSTREAM_CHECK_REGEX = "nftables-(?P<pver>\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}"
|
||||
Loading…
Reference in New Issue
Block a user