diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-04-17 10:12:44 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-04-17 21:43:49 +0200 |
commit | d01461f3365aff8bffae9ee537716b86394bfcf3 (patch) | |
tree | 3a0bc16cfd3a62fb2b9262ea668dbadfcb15680d /package/nftables | |
parent | 97db0593633e491944528ac2306f97626684ee20 (diff) | |
download | buildroot-d01461f3365aff8bffae9ee537716b86394bfcf3.tar.gz buildroot-d01461f3365aff8bffae9ee537716b86394bfcf3.zip |
nftables: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nftables')
-rw-r--r-- | package/nftables/Config.in | 25 | ||||
-rw-r--r-- | package/nftables/nftables.mk | 15 |
2 files changed, 40 insertions, 0 deletions
diff --git a/package/nftables/Config.in b/package/nftables/Config.in new file mode 100644 index 0000000000..4ddfdbd1af --- /dev/null +++ b/package/nftables/Config.in @@ -0,0 +1,25 @@ +config BR2_PACKAGE_NFTABLES + bool "nftables" + depends on BR2_INET_IPV6 + depends on BR2_LARGEFILE + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 + select BR2_PACKAGE_GMP + select BR2_PACKAGE_LIBMNL + select BR2_PACKAGE_LIBNFTNL + select BR2_PACKAGE_READLINE + select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT + help + nftables is the project that aims to replace the existing + {ip,ip6,arp,eb}tables framework. + Basically, this project provides a new packet filtering framework, + a new userspace utility and also a compatibility layer + for {ip,ip6}tables. + + http://www.netfilter.org/projects/nftables/index.html + +comment "nftables needs a toolchain w/ IPv6, largefile, threads, wchar, headers >= 3.4" + depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || \ + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 diff --git a/package/nftables/nftables.mk b/package/nftables/nftables.mk new file mode 100644 index 0000000000..1cfeeeb4d8 --- /dev/null +++ b/package/nftables/nftables.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# nftables +# +################################################################################ + +NFTABLES_VERSION = 0.2 +NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2 +NFTABLES_SITE = http://www.netfilter.org/projects/nftables/files +NFTABLES_DEPENDENCIES = gmp libmnl libnftnl readline host-bison host-flex \ + host-pkgconf $(if $(BR2_NEEDS_GETTEXT),gettext) +NFTABLES_LICENSE = GPLv2 +NFTABLES_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) |