mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] iptables: Add option to build and install libipq
Date: Tue, 15 May 2012 21:13:01 +0200	[thread overview]
Message-ID: <1337109181-15061-1-git-send-email-bernhard@bwalle.de> (raw)

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
 rules/iptables.in   |    7 +++++++
 rules/iptables.make |    6 +++++-
 2 Dateien geändert, 12 Zeilen hinzugefügt(+), 1 Zeile entfernt(-)

diff --git a/rules/iptables.in b/rules/iptables.in
index b7bc478..134a2f2 100644
--- a/rules/iptables.in
+++ b/rules/iptables.in
@@ -24,6 +24,13 @@ config IPTABLES_IPV4
 	bool
 	prompt "IPv4 support"
 
+config IPTABLES_LIBIPQ
+	bool
+	prompt "Enable libipq"
+	help
+	  Builds and installs libipq (the iptables userspace packet
+	  queuing library).
+
 config IPTABLES_INSTALL_TOOLS
 	bool "install executables"
 	help
diff --git a/rules/iptables.make b/rules/iptables.make
index 4f4ba7a..9030703 100644
--- a/rules/iptables.make
+++ b/rules/iptables.make
@@ -53,7 +53,7 @@ IPTABLES_AUTOCONF := \
 	--enable-devel \
 	--$(call ptx/endis, PTXCONF_IPTABLES_IPV4)-ipv4 \
 	--$(call ptx/endis, PTXCONF_IPTABLES_IPV6)-ipv6 \
-	--disable-libipq
+	--$(call ptx/endis, PTXCONF_IPTABLES_LIBIPQ)-libipq
 
 # ----------------------------------------------------------------------------
 # Install
@@ -83,6 +83,10 @@ $(STATEDIR)/iptables.targetinstall:
 	@$(call install_lib, iptables, 0, 0, 0644, libiptc)
 	@$(call install_lib, iptables, 0, 0, 0644, libxtables)
 
+ifdef PTXCONF_IPTABLES_LIBIPQ
+	@$(call install_lib, iptables, 0, 0, 0644, libipq)
+endif
+
 	@cd $(IPTABLES_PKGDIR)/usr/lib && \
 		for file in libxt_*.so; do \
 			$(call install_copy, iptables, 0, 0, 0644, -,\
-- 
1.7.10.2


-- 
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2012-05-15 19:12 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=1337109181-15061-1-git-send-email-bernhard@bwalle.de \
    --to=bernhard@bwalle.de \
    --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