libnetfilter_cthelper: add new package
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 30 Oct 2012 02:29:45 +0000 (02:29 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 3 Nov 2012 18:10:51 +0000 (19:10 +0100)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/libnetfilter_cthelper/Config.in [new file with mode: 0644]
package/libnetfilter_cthelper/libnetfilter-cthelper.mk [new file with mode: 0644]

index fd2703e90eb1e910c68e0a0b28d9990b08b7e517..e938e53108d7bedb063abc80ccae8bb8a76b84aa 100644 (file)
@@ -456,6 +456,7 @@ source "package/libmnl/Config.in"
 source "package/libmodbus/Config.in"
 source "package/libmbus/Config.in"
 source "package/libnetfilter_conntrack/Config.in"
+source "package/libnetfilter_cthelper/Config.in"
 source "package/libnetfilter_cttimeout/Config.in"
 source "package/libnfnetlink/Config.in"
 source "package/libnl/Config.in"
diff --git a/package/libnetfilter_cthelper/Config.in b/package/libnetfilter_cthelper/Config.in
new file mode 100644 (file)
index 0000000..fd4f95c
--- /dev/null
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LIBNETFILTER_CTHELPER
+       bool "libnetfilter_cthelper"
+       depends on BR2_LARGEFILE
+       select BR2_PACKAGE_LIBMNL
+       help
+         libnetfilter_cthelper is the userspace library that provides
+         the programming interface to the user-space helper infrastructure
+         available since Linux kernel 3.6.
+
+         http://www.netfilter.org/projects/libnetfilter_cthelper/
+
+comment "libnetfilter_cthelper requires a toolchain with LARGEFILE support"
+       depends on !BR2_LARGEFILE
diff --git a/package/libnetfilter_cthelper/libnetfilter-cthelper.mk b/package/libnetfilter_cthelper/libnetfilter-cthelper.mk
new file mode 100644 (file)
index 0000000..1414156
--- /dev/null
@@ -0,0 +1,15 @@
+#############################################################
+#
+# libnetfilter-cthelper
+#
+#############################################################
+
+LIBNETFILTER_CTHELPER_VERSION = 1.0.0
+LIBNETFILTER_CTHELPER_SOURCE = libnetfilter_cthelper-$(LIBNETFILTER_CTHELPER_VERSION).tar.bz2
+LIBNETFILTER_CTHELPER_SITE = http://www.netfilter.org/projects/libnetfilter_cthelper/files
+LIBNETFILTER_CTHELPER_INSTALL_STAGING = YES
+LIBNETFILTER_CTHELPER_DEPENDENCIES = host-pkgconf libmnl
+LIBNETFILTER_CTHELPER_LICENSE = GPLv2
+LIBNETFILTER_CTHELPER_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))