diff options
author | Roy Li <rongqing.li@windriver.com> | 2015-06-02 13:40:29 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-06-05 18:33:29 -0400 |
commit | 58dbb3ef9e850188c469a64deffd02b628c73f74 (patch) | |
tree | 58c0257066640b4b0aa13b2e0854761e05879ff8 | |
parent | 08adba96428a01ed9e12cf87f42213180ef9b90c (diff) | |
download | meta-openembedded-58dbb3ef9e850188c469a64deffd02b628c73f74.tar.gz |
nftables: create nftables recipe under meta-networking
http://netfilter.org/projects/nftables/index.html
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | meta-networking/recipes-filter/nftables/files/fix-to-generate-ntf.8.patch | 26 | ||||
-rw-r--r-- | meta-networking/recipes-filter/nftables/nftables_0.4.bb | 17 |
2 files changed, 43 insertions, 0 deletions
diff --git a/meta-networking/recipes-filter/nftables/files/fix-to-generate-ntf.8.patch b/meta-networking/recipes-filter/nftables/files/fix-to-generate-ntf.8.patch new file mode 100644 index 0000000000..8dce90a754 --- /dev/null +++ b/meta-networking/recipes-filter/nftables/files/fix-to-generate-ntf.8.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | [PATCH] disable to make ntf.8 man | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | $DB2MAN do not support the xinclude parameter whether it is | ||
6 | docbook2x-man or other, so disable to make ntf.8 man | ||
7 | |||
8 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
9 | --- | ||
10 | doc/Makefile.am | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/doc/Makefile.am b/doc/Makefile.am | ||
14 | index a92de7f..537c36b 100644 | ||
15 | --- a/doc/Makefile.am | ||
16 | +++ b/doc/Makefile.am | ||
17 | @@ -1,5 +1,5 @@ | ||
18 | if BUILD_MAN | ||
19 | -man_MANS = nft.8 | ||
20 | +#man_MANS = nft.8 | ||
21 | endif | ||
22 | |||
23 | if BUILD_PDF | ||
24 | -- | ||
25 | 1.9.1 | ||
26 | |||
diff --git a/meta-networking/recipes-filter/nftables/nftables_0.4.bb b/meta-networking/recipes-filter/nftables/nftables_0.4.bb new file mode 100644 index 0000000000..d183d91553 --- /dev/null +++ b/meta-networking/recipes-filter/nftables/nftables_0.4.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | SUMMARY = "Netfilter Tables userspace utillites" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d1a78fdd879a263a5e0b42d1fc565e79" | ||
4 | SECTION = "console/network" | ||
5 | |||
6 | DEPENDS = "libmnl libnftnl readline gmp" | ||
7 | RRECOMMENDS_${PN} += "kernel-module-nf-tables \ | ||
8 | " | ||
9 | |||
10 | SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.bz2 \ | ||
11 | file://fix-to-generate-ntf.8.patch \ | ||
12 | " | ||
13 | |||
14 | SRC_URI[md5sum] = "09b686c489ff10db670ca60dbed7ff43" | ||
15 | SRC_URI[sha256sum] = "f6ca69b75c68915f9f3a3972274ec68354dfbbcfc0b9fc55c813a0525c351d3c" | ||
16 | |||
17 | inherit autotools pkgconfig | ||