libnftnl: create recipe under meta-networking
PATCH 1/2 libnftnl: create recipe under meta-networking
From: Roy Li <[email protected]>
libnftnl is needed by nftable, so add it
Signed-off-by Roy Li <[email protected]>
--- meta-networking/recipes-filter/libnftnl/libnftnl_1.0.3.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-networking/recipes-filter/libnftnl/libnftnl_1.0.3.bb
meta-networking/recipes-filter/libnftnl/libnftnl_1.0.3.bb new file +13 -0
@@ -0,0 +1,13 @@ +SUMMARY = "Library for low-level interaction with nftables Netlink's API over libmnl" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=79808397c3355f163c012616125c9e26" +SECTION = "libs/network" +DEPENDS = "libmnl" + +SRC_URI = "http://netfilter.org/projects/libnftnl/files/${BP}.tar.bz2 \ + " + +SRC_URI[md5sum] = "203701a73cc3c51ca751d7cb2e176250" +SRC_URI[sha256sum] = "cf0ae7eab6a6866192a1fbd6b370a8a2cbe2066fe3975ab44939fd50747c27f7" + +inherit autotools pkgconfig
Signature · 1 line
1.9.1
PATCH 2/2 nftables: create nftables recipe under meta-networking
From: Roy Li <[email protected]>
http://netfilter.org/projects/nftables/index.html
Signed-off-by Roy Li <[email protected]>
--- .../nftables/files/fix-to-generate-ntf.8.patch | 26 ++++++++++++++++++++++ .../recipes-filter/nftables/nftables_0.4.bb | 17 ++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 meta-networking/recipes-filter/nftables/files/fix-to-generate-ntf.8.patch create mode 100644 meta-networking/recipes-filter/nftables/nftables_0.4.bb
meta-networking/recipes-filter/nftables/files/fix-to-generate-ntf.8.patch new file +26 -0
@@ -0,0 +1,26 @@ +[PATCH] disable to make ntf.8 man + +Upstream-Statue: Pending + +$DB2MAN do not support the xinclude parameter whether it is +docbook2x-man or other, so disable to make ntf.8 man + +Signed-off-by: Roy Li <[email protected]> +--- + doc/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/Makefile.am b/doc/Makefile.am +index a92de7f..537c36b 100644 +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -1,5 +1,5 @@ + if BUILD_MAN +-man_MANS = nft.8 ++#man_MANS = nft.8 + endif + + if BUILD_PDF +-- +1.9.1 +
meta-networking/recipes-filter/nftables/nftables_0.4.bb new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "Netfilter Tables userspace utillites" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d1a78fdd879a263a5e0b42d1fc565e79" +SECTION = "console/network" + +DEPENDS = "libmnl libnftnl readline gmp" +RRECOMMENDS_${PN} += "kernel-module-nf-tables \ + " + +SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.bz2 \ + file://fix-to-generate-ntf.8.patch \ + " + +SRC_URI[md5sum] = "09b686c489ff10db670ca60dbed7ff43" +SRC_URI[sha256sum] = "f6ca69b75c68915f9f3a3972274ec68354dfbbcfc0b9fc55c813a0525c351d3c" + +inherit autotools pkgconfig
Signature · 1 line
1.9.1