mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Bart vdr. Meulen" <bartvdrmeulen@gmail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] libnfnetlink: Add new package
Date: Mon, 28 May 2012 14:42:48 +0200	[thread overview]
Message-ID: <1338208981-8681-22-git-send-email-bartvdrmeulen@gmail.com> (raw)

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

                 reply	other threads:[~2012-05-28 13:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1338208981-8681-22-git-send-email-bartvdrmeulen@gmail.com \
    --to=bartvdrmeulen@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox