Move all to deprecated folder.
This commit is contained in:
19
deprecated/firmware/buildroot/package/nftables/Config.in
Normal file
19
deprecated/firmware/buildroot/package/nftables/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_NFTABLES
|
||||
bool "nftables"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
|
||||
select BR2_PACKAGE_GMP
|
||||
select BR2_PACKAGE_LIBMNL
|
||||
select BR2_PACKAGE_LIBNFTNL
|
||||
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/ wchar, headers >= 3.4"
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
|
||||
@@ -0,0 +1,2 @@
|
||||
# From http://www.netfilter.org/projects/nftables/downloads.html#nftables-0.5
|
||||
sha1 34cfe1daa33d7fd7087dd63199f64854dfb54064 nftables-0.5.tar.bz2
|
||||
37
deprecated/firmware/buildroot/package/nftables/nftables.mk
Normal file
37
deprecated/firmware/buildroot/package/nftables/nftables.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
#
|
||||
# nftables
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NFTABLES_VERSION = 0.5
|
||||
NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2
|
||||
NFTABLES_SITE = http://www.netfilter.org/projects/nftables/files
|
||||
NFTABLES_DEPENDENCIES = gmp libmnl libnftnl host-bison host-flex \
|
||||
host-pkgconf $(if $(BR2_NEEDS_GETTEXT),gettext)
|
||||
NFTABLES_LICENSE = GPLv2
|
||||
NFTABLES_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
NFTABLES_DEPENDENCIES += readline
|
||||
NFTABLES_LIBS += -lncurses
|
||||
else
|
||||
NFTABLES_CONF_OPTS = --without-cli
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_JSON),yy)
|
||||
NFTABLES_LIBS += -ljansson -lm
|
||||
endif
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_XML),yy)
|
||||
NFTABLES_LIBS += -lmxml -lpthread
|
||||
endif
|
||||
|
||||
NFTABLES_CONF_ENV = \
|
||||
ac_cv_prog_CONFIG_PDF=no \
|
||||
LIBS="$(NFTABLES_LIBS)" \
|
||||
DBLATEX=no \
|
||||
DOCBOOK2X_MAN=no \
|
||||
DOCBOOK2MAN=no \
|
||||
DB2X_DOCBOOK2MAN=no
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user