Patchwork [04/12] libnetfilter_cthelper: add new package

login
register
mail settings
Submitter Gustavo Zacarias
Date Oct. 22, 2012, 12:46 p.m.
Message ID <1350909989-1012-4-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/193146/
State Superseded
Headers show

Comments

Gustavo Zacarias - Oct. 22, 2012, 12:46 p.m.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/Config.in                                  |    1 +
 package/libnetfilter_cthelper/Config.in            |   11 +++++++++++
 .../libnetfilter_cthelper/libnetfilter-cthelper.mk |   15 +++++++++++++++
 3 files changed, 27 insertions(+), 0 deletions(-)
 create mode 100644 package/libnetfilter_cthelper/Config.in
 create mode 100644 package/libnetfilter_cthelper/libnetfilter-cthelper.mk
Thomas Petazzoni - Oct. 22, 2012, 1:04 p.m.
On Mon, 22 Oct 2012 09:46:21 -0300, Gustavo Zacarias wrote:

> --- /dev/null
> +++ b/package/libnetfilter_cthelper/Config.in
> @@ -0,0 +1,11 @@
> +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.

Line wrapping needed.

Thomas

Patch

diff --git a/package/Config.in b/package/Config.in
index 1650c71..6fcaa09 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -446,6 +446,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
index 0000000..04f5e34
--- /dev/null
+++ b/package/libnetfilter_cthelper/Config.in
@@ -0,0 +1,11 @@ 
+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
index 0000000..300b21c
--- /dev/null
+++ b/package/libnetfilter_cthelper/libnetfilter-cthelper.mk
@@ -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-pkg-config libmnl
+LIBNETFILTER_CTHELPER_LICENSE = GPLv2
+LIBNETFILTER_CTHELPER_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))