* [ptxdist] [PATCH 2/2] networkmanager: provide 'iptables'
@ 2012-05-30 7:27 Juergen Beisert
0 siblings, 0 replies; only message in thread
From: Juergen Beisert @ 2012-05-30 7:27 UTC (permalink / raw)
To: ptxdist
The 'configure' guesses the path to the iptables tool, based on the host
filesystem. This fails if no 'iptables' is installed with:
checking for iptables... no
configure: error: iptables was not installed.
The path setting here corresponds to the iptables rule file.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
diff --git a/rules/networkmanager.in b/rules/networkmanager.in
index 2c08fea..e1fd634 100644
--- a/rules/networkmanager.in
+++ b/rules/networkmanager.in
@@ -14,6 +14,9 @@ menuconfig NETWORKMANAGER
select GNUTLS
select HOST_INTLTOOL
select DBUS_PYTHON if NETWORKMANAGER_EXAMPLES
+ select IPTABLES
+# for the 'iptables' tool
+ select IPTABLES_IPV4
prompt "networkmanager "
help
NetworkManager is a tool to automate network configuration as far as
diff --git a/rules/networkmanager.make b/rules/networkmanager.make
index f823285..1a65268 100644
--- a/rules/networkmanager.make
+++ b/rules/networkmanager.make
@@ -51,7 +51,8 @@ NETWORKMANAGER_CONF_OPT := \
--with-distro=debian \
--with-dhclient=no \
--with-dhcpcd=no \
- --with-resolvconf=no
+ --with-resolvconf=no \
+ --with-iptables=/usr/sbin
# ----------------------------------------------------------------------------
# Install
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-30 7:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-30 7:27 [ptxdist] [PATCH 2/2] networkmanager: provide 'iptables' Juergen Beisert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox