Commit d01461f3 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Thomas Petazzoni
Browse files

nftables: new package

parent 97db0593
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -959,6 +959,7 @@ source "package/net-tools/Config.in"
endif
source "package/network-manager/Config.in"
source "package/nfacct/Config.in"
source "package/nftables/Config.in"
source "package/ngircd/Config.in"
source "package/ngrep/Config.in"
source "package/nmap/Config.in"
+25 −0
Original line number Diff line number Diff line
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
+15 −0
Original line number Diff line number Diff line
################################################################################
#
# 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))