summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-07-21 19:49:57 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-07-22 07:07:58 (GMT)
commit6a7611b540677a072656e481d4735f2b4b6a3381 (patch)
tree5c475b5d5ea649d8a147d660244abd596961eac5
parentbea473a4d4a949388826679abd53e3d43573a639 (diff)
downloadbuildroot-6a7611b540677a072656e481d4735f2b4b6a3381.tar.gz
buildroot-6a7611b540677a072656e481d4735f2b4b6a3381.tar.bz2
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>
-rw-r--r--package/Config.in1
-rw-r--r--package/ipset/Config.in12
-rw-r--r--package/ipset/ipset.mk13
3 files changed, 26 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 981a633..b9bd529 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/ipset/Config.in b/package/ipset/Config.in
new file mode 100644
index 0000000..af16fa8
--- /dev/null
+++ b/package/ipset/Config.in
@@ -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
diff --git a/package/ipset/ipset.mk b/package/ipset/ipset.mk
new file mode 100644
index 0000000..9d901fc
--- /dev/null
+++ b/package/ipset/ipset.mk
@@ -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))