libnftnl: upgrade 1.1.8 -> 1.1.9
PATCH 1/3 libnftnl: upgrade 1.1.8 -> 1.1.9
Signed-off-by Adrian Freihofer <[email protected]>
---
.../libnftnl/{libnftnl_1.1.8.bb => libnftnl_1.1.9.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-networking/recipes-filter/libnftnl/{libnftnl_1.1.8.bb => libnftnl_1.1.9.bb} (88%)meta-networking/recipes-filter/libnftnl/libnftnl_1.1.9.bb renamed from meta-networking/recipes-filter/libnftnl/libnftnl_1.1.8.bb +1 -1
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=79808397c3355f163c012616125c9e26" SECTION = "libs" DEPENDS = "libmnl" -SRCREV = "b2cd6d28fab02934c4ddff0699718d74272eccd3" +SRCREV = "c3fdda6ac8675aea9b35772458544f03157be415" SRC_URI = "git://git.netfilter.org/libnftnl \ file://0001-avoid-naming-local-function-as-one-of-printf-family.patch \ "
Signature · 1 line
2.26.2
PATCH 2/3 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 <[email protected]>
---
.../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%)meta-networking/recipes-filter/nftables/nftables_0.9.8.bb renamed from meta-networking/recipes-filter/nftables/nftables_0.9.7.bb +3 -3
@@ -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}"
Signature · 1 line
2.26.2
PATCH 3/3 firewalld: upgrade 0.9.2 -> 0.9.3
In reply to Adrian FreihoferFix new dependencies to nftables-python. Firewalld has been changed to use python bindings instead of calling the nftables cli utility.
(Has this firewalld recipe been used with firewalld's default configuration which defaults to nftables backend?)
Signed-off-by Adrian Freihofer <[email protected]>
---
.../firewalld/{firewalld_0.9.2.bb => firewalld_0.9.3.bb} | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
rename meta-networking/recipes-connectivity/firewalld/{firewalld_0.9.2.bb => firewalld_0.9.3.bb} (95%)meta-networking/recipes-connectivity/firewalld/firewalld_0.9.3.bb renamed from meta-networking/recipes-connectivity/firewalld/firewalld_0.9.2.bb +5 -4
@@ -8,10 +8,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz \ file://firewalld.init \ " -SRC_URI[sha256sum] = "f982c72d640b0677d510b73d9b05d377b4615c5ef36a3710c62350b39fb62efe" +SRC_URI[sha256sum] = "5998894db976d77996ca0a6b700a2f4125b9f283465fb255da9bddfb1640cb27" # glib-2.0-native is needed for GSETTINGS_RULES autoconf macro from gsettings.m4 -DEPENDS = "intltool-native glib-2.0-native" +DEPENDS = "intltool-native glib-2.0-native nftables" inherit gettext autotools bash-completion python3native gsettings systemd update-rc.d
@@ -75,7 +75,7 @@ FILES_${PN} += "\ FILES_${PN}-zsh-completion = "${datadir}/zsh/site-functions" RDEPENDS_${PN} = "\ - nftables \ + nftables-python \ iptables \ python3-core \ python3-io \
@@ -87,5 +87,6 @@ RDEPENDS_${PN} = "\ python3-slip-dbus \ python3-decorator \ python3-pygobject \ - nftables-python \ + python3-json \ + python3-ctypes \ "
Signature · 1 line
2.26.2