* [ptxdist] [PATCH] iptables: Add option to build and install libipq
@ 2012-05-15 19:13 Bernhard Walle
0 siblings, 0 replies; only message in thread
From: Bernhard Walle @ 2012-05-15 19:13 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-15 19:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-15 19:13 [ptxdist] [PATCH] iptables: Add option to build and install libipq Bernhard Walle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox