ipset: new package

Add ipset support package.
Note that this requires bleeding edge (>=2.6.39) kernel version or
patches.

[Peter: needs largefile, host-pkg-config]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Gustavo Zacarias 2011-07-21 16:49:57 -03:00 committed by Peter Korsgaard
parent bea473a4d4
commit 6a7611b540
3 changed files with 26 additions and 0 deletions

View File

@ -407,6 +407,7 @@ source "package/ifplugd/Config.in"
source "package/iperf/Config.in"
source "package/iproute2/Config.in"
source "package/ipsec-tools/Config.in"
source "package/ipset/Config.in"
source "package/iptables/Config.in"
source "package/iw/Config.in"
source "package/kismet/Config.in"

12
package/ipset/Config.in Normal file
View File

@ -0,0 +1,12 @@
config BR2_PACKAGE_IPSET
bool "ipset"
depends on BR2_LARGEFILE
select BR2_PACKAGE_LIBMNL
help
Utility to manage IP sets in the linux kernel.
Requires a patched kernel or version >=2.6.39.
http://ipset.netfilter.org/
comment "ipset requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE

13
package/ipset/ipset.mk Normal file
View File

@ -0,0 +1,13 @@
#############################################################
#
# ipset
#
#############################################################
IPSET_VERSION = 6.8
IPSET_SOURCE = ipset-$(IPSET_VERSION).tar.bz2
IPSET_SITE = http://ipset.netfilter.org
IPSET_AUTORECONF = YES
IPSET_DEPENDENCIES = libmnl host-pkg-config
$(eval $(call AUTOTARGETS,package,ipset))