diff options
author | Pierre-Jean Texier <pjtexier@koncepto.io> | 2020-04-03 18:20:19 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-03 14:45:54 -0700 |
commit | 519b86c549a7e62e0f9779402567571c96a35d40 (patch) | |
tree | 4adf7aeb00832be16e072921a9387666a50b3a9a /meta-networking/recipes-filter/nftables/nftables_0.9.4.bb | |
parent | fbebf1bb0aba87c39d6738fcf5a2422072c13232 (diff) | |
download | meta-openembedded-519b86c549a7e62e0f9779402567571c96a35d40.tar.gz |
nftables: upgrade 0.9.3 -> 0.9.4
See https://lwn.net/Articles/816528/
Also remove patch applied upstream
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-filter/nftables/nftables_0.9.4.bb')
-rw-r--r-- | meta-networking/recipes-filter/nftables/nftables_0.9.4.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-networking/recipes-filter/nftables/nftables_0.9.4.bb b/meta-networking/recipes-filter/nftables/nftables_0.9.4.bb new file mode 100644 index 0000000000..5b57abb87a --- /dev/null +++ b/meta-networking/recipes-filter/nftables/nftables_0.9.4.bb @@ -0,0 +1,32 @@ +SUMMARY = "Netfilter Tables userspace utillites" +SECTION = "net" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d1a78fdd879a263a5e0b42d1fc565e79" + +DEPENDS = "libmnl libnftnl bison-native \ + ${@bb.utils.contains('PACKAGECONFIG', 'mini-gmp', '', 'gmp', d)}" + +# Ensure we reject the 0.099 version by matching at least two dots +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[md5sum] = "fdfd51a1083fb054a487b5159b1ed5cd" +SRC_URI[sha256sum] = "08b8683a9db5fba980bc092b75288af98d218bbe8ab446daf2338570d0730f9a" + +inherit autotools manpages pkgconfig + +PACKAGECONFIG ??= "python readline" +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" +PACKAGECONFIG[python] = "--enable-python --with-python-bin=${PYTHON}, --with-python-bin="", python3" +PACKAGECONFIG[readline] = "--with-cli=readline, --without-cli, readline" +PACKAGECONFIG[xtables] = "--with-xtables, --without-xtables, iptables" + +inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)} + +RRECOMMENDS_${PN} += "kernel-module-nf-tables" + +PACKAGES =+ "${PN}-python" +FILES_${PN}-python = "${nonarch_libdir}/${PYTHON_DIR}" +RDEPENDS_${PN}-python = "python3-core python3-json" |