* [Buildroot] [PATCH 1/2] libmnl: new package
@ 2011-07-21 19:49 Gustavo Zacarias
2011-07-21 19:49 ` [Buildroot] [PATCH 2/2] ipset: " Gustavo Zacarias
2011-07-22 7:03 ` [Buildroot] [PATCH 1/2] libmnl: " Peter Korsgaard
0 siblings, 2 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2011-07-21 19:49 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/Config.in | 1 +
package/libmnl/Config.in | 7 +++++++
package/libmnl/libmnl.mk | 12 ++++++++++++
3 files changed, 20 insertions(+), 0 deletions(-)
create mode 100644 package/libmnl/Config.in
create mode 100644 package/libmnl/libmnl.mk
diff --git a/package/Config.in b/package/Config.in
index 166ce24..c993c31 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -325,6 +325,7 @@ source "package/libeXosip2/Config.in"
source "package/libidn/Config.in"
source "package/libmicrohttpd/Config.in"
source "package/neon/Config.in"
+source "package/libmnl/Config.in"
source "package/libnl/Config.in"
source "package/libpcap/Config.in"
source "package/libosip2/Config.in"
diff --git a/package/libmnl/Config.in b/package/libmnl/Config.in
new file mode 100644
index 0000000..5acfb24
--- /dev/null
+++ b/package/libmnl/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBMNL
+ bool "libmnl"
+ help
+ libmnl is a minimalistic user-space library oriented
+ to Netlink developers.
+
+ http://netfilter.org/projects/libmnl/
diff --git a/package/libmnl/libmnl.mk b/package/libmnl/libmnl.mk
new file mode 100644
index 0000000..6749756
--- /dev/null
+++ b/package/libmnl/libmnl.mk
@@ -0,0 +1,12 @@
+#############################################################
+#
+# libmnl
+#
+#############################################################
+
+LIBMNL_VERSION = 1.0.1
+LIBMNL_SOURCE = libmnl-$(LIBMNL_VERSION).tar.bz2
+LIBMNL_SITE = http://netfilter.org/projects/libmnl/files
+LIBMNL_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS,package,libmnl))
--
1.7.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] ipset: new package
2011-07-21 19:49 [Buildroot] [PATCH 1/2] libmnl: new package Gustavo Zacarias
@ 2011-07-21 19:49 ` Gustavo Zacarias
2011-07-22 7:09 ` Peter Korsgaard
2011-07-22 7:03 ` [Buildroot] [PATCH 1/2] libmnl: " Peter Korsgaard
1 sibling, 1 reply; 4+ messages in thread
From: Gustavo Zacarias @ 2011-07-21 19:49 UTC (permalink / raw)
To: buildroot
Add ipset support package.
Note that this requires bleeding edge (>=2.6.39) kernel version or
patches.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/Config.in | 1 +
package/ipset/Config.in | 8 ++++++++
package/ipset/ipset.mk | 13 +++++++++++++
3 files changed, 22 insertions(+), 0 deletions(-)
create mode 100644 package/ipset/Config.in
create mode 100644 package/ipset/ipset.mk
diff --git a/package/Config.in b/package/Config.in
index c993c31..5dc32a7 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -408,6 +408,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..6951413
--- /dev/null
+++ b/package/ipset/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_IPSET
+ bool "ipset"
+ 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/
diff --git a/package/ipset/ipset.mk b/package/ipset/ipset.mk
new file mode 100644
index 0000000..fafa201
--- /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
+
+$(eval $(call AUTOTARGETS,package,ipset))
--
1.7.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] ipset: new package
2011-07-21 19:49 ` [Buildroot] [PATCH 2/2] ipset: " Gustavo Zacarias
@ 2011-07-22 7:09 ` Peter Korsgaard
0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2011-07-22 7:09 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Add ipset support package.
Gustavo> Note that this requires bleeding edge (>=2.6.39) kernel version or
Gustavo> patches.
It needs largefile support (for libmnl) and pkg-config to get the
PKG_CHECK_MODULES macro expanded:
./configure: line 10804: syntax error near unexpected token `libmnl,'
./configure: line 10804: `PKG_CHECK_MODULES(libmnl, libmnl >= 1)'
Please do test build your patches in minimal configurations to catch
this.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] libmnl: new package
2011-07-21 19:49 [Buildroot] [PATCH 1/2] libmnl: new package Gustavo Zacarias
2011-07-21 19:49 ` [Buildroot] [PATCH 2/2] ipset: " Gustavo Zacarias
@ 2011-07-22 7:03 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2011-07-22 7:03 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
It needs largefile, but I fixed that up - Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-22 7:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-21 19:49 [Buildroot] [PATCH 1/2] libmnl: new package Gustavo Zacarias
2011-07-21 19:49 ` [Buildroot] [PATCH 2/2] ipset: " Gustavo Zacarias
2011-07-22 7:09 ` Peter Korsgaard
2011-07-22 7:03 ` [Buildroot] [PATCH 1/2] libmnl: " Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox