mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libnfnetlink: Add new package
@ 2012-05-28 12:42 Bart vdr. Meulen
  0 siblings, 0 replies; only message in thread
From: Bart vdr. Meulen @ 2012-05-28 12:42 UTC (permalink / raw)
  To: ptxdist

From: "Bart vdr. Meulen" <bartvdrmeulen@gmail.com>

libngnetlink provides a generic messaging infrastructure
for in-kernel netfilter subsystemsor redirecting network
packets into userspace

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
 rules/iptables.in       |    7 +++++++
 rules/libnfnetlink.in   |   15 ++++++++++++++
 rules/libnfnetlink.make |   51 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 73 insertions(+)
 create mode 100644 rules/libnfnetlink.in
 create mode 100644 rules/libnfnetlink.make

diff --git a/rules/iptables.in b/rules/iptables.in
index b7bc478..fadcc31 100644
--- a/rules/iptables.in
+++ b/rules/iptables.in
@@ -7,6 +7,7 @@ menuconfig IPTABLES
 	select LIBC_M
 	select LIBC_DL
 	select GCCLIBS_GCC_S
+	select LIBNFNETLINK if IPTABLES_LIBNFNETLINK
 	help
 	  Iptables  is used to set up, maintain, and inspect the
 	  tables of IP packet filter rules in the Linux kernel.
@@ -47,4 +48,10 @@ config IPTABLES_INSTALL_IPTABLES_APPLY
 	  existing connection, the user will not be able to answer
 	  affirmatively.
 
+config IPTABLES_LIBNFNETLINK
+	bool
+	prompt "configure libnfnetlink"
+	help
+	  Select if iptables should be build against libnfnetlink
+
 endif
diff --git a/rules/libnfnetlink.in b/rules/libnfnetlink.in
new file mode 100644
index 0000000..8684131
--- /dev/null
+++ b/rules/libnfnetlink.in
@@ -0,0 +1,15 @@
+## SECTION=networking
+
+config LIBNFNETLINK
+	tristate
+	prompt "libnfnetlink"
+	help
+          libnfnetlink is the low-level library for netfilter
+          related kernel/userspace communication. It provides a generic
+          messaging infrastructure for in-kernel netfilter subsystems
+          (such as nfnetlink_log) and their respective users and/or
+          management tools in userspace.
+          This library is not meant as a public API for application
+          developers. It is only used by other netfilter.org projects,
+          such as libnetfilter_log,
+
diff --git a/rules/libnfnetlink.make b/rules/libnfnetlink.make
new file mode 100644
index 0000000..bde7316
--- /dev/null
+++ b/rules/libnfnetlink.make
@@ -0,0 +1,51 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2011 by Hans Kortenoeven <hans.kortenoeven@home.nl>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBNFNETLINK) += libnfnetlink
+
+#
+# Paths and names
+#
+LIBNFNETLINK_VERSION	:= 1.0.0
+LIBNFNETLINK_MD5	:= 016fdec8389242615024c529acc1adb8
+LIBNFNETLINK		:= libnfnetlink-$(LIBNFNETLINK_VERSION)
+LIBNFNETLINK_SUFFIX	:= tar.bz2
+LIBNFNETLINK_URL		:= http://ftp.netfilter.org/pub/libnfnetlink/$(LIBNFNETLINK).$(LIBNFNETLINK_SUFFIX)
+LIBNFNETLINK_SOURCE	:= $(SRCDIR)/$(LIBNFNETLINK).$(LIBNFNETLINK_SUFFIX)
+LIBNFNETLINK_DIR		:= $(BUILDDIR)/$(LIBNFNETLINK)
+LIBNFNETLINK_LICENSE	:= GPL2
+
+#
+# autoconf
+#
+LIBNFNETLINK_CONF_TOOL	:= autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libnfnetlink.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libnfnetlink)
+	@$(call install_fixup, libnfnetlink,PRIORITY,optional)
+	@$(call install_fixup, libnfnetlink,SECTION,base)
+	@$(call install_fixup, libnfnetlink,AUTHOR,"Hans Kortenoeven <hans.kortenoeven@home.nl>")
+	@$(call install_fixup, libnfnetlink,DESCRIPTION,missing)
+
+	@$(call install_lib, libnfnetlink, 0, 0, 0644, libnfnetlink)
+
+	@$(call install_finish, libnfnetlink)
+
+	@$(call touch)
+
-- 
1.7.9.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-28 13:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-28 12:42 [ptxdist] [PATCH] libnfnetlink: Add new package Bart vdr. Meulen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox