mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 2/2] networkmanager: provide 'iptables'
Date: Wed, 30 May 2012 09:27:30 +0200	[thread overview]
Message-ID: <201205300927.30273.jbe@pengutronix.de> (raw)

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

                 reply	other threads:[~2012-05-30  7:28 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=201205300927.30273.jbe@pengutronix.de \
    --to=jbe@pengutronix.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