libmnl: new package
PATCH 1/2 libmnl: new package
--- 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
package/Config.in +1 -0
@@ -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"
package/libmnl/Config.in new file +7 -0
@@ -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/
package/libmnl/libmnl.mk new file +12 -0
@@ -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))
Signature · 1 line
1.7.3.4
PATCH 2/2 ipset: new package
Add ipset support package.
Note that this requires bleeding edge (>=2.6.39) kernel version or patches.
--- 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
package/Config.in +1 -0
@@ -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"
package/ipset/Config.in new file +8 -0
@@ -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/
package/ipset/ipset.mk new file +13 -0
@@ -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))
Signature · 1 line
1.7.3.4
PATCH 2/2 ipset: new package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> 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.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 libmnl: new package
In reply to Gustavo ZacariasQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]>
It needs largefile, but I fixed that up - Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard