Gentoo Archives: gentoo-commits

From: "Marc Schiffbauer (mschiff)" <mschiff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/cfengine/files: cfengine-3.6.2-ifconfig.patch
Date: Sun, 30 Nov 2014 10:36:44
Message-Id: 20141130103640.62A2EB36F@oystercatcher.gentoo.org
1 mschiff 14/11/30 10:36:40
2
3 Added: cfengine-3.6.2-ifconfig.patch
4 Log:
5 Bump version. Fixes #525914. Thanks to freak132 for the ifconfig patch.
6
7 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x296C6CCA35A64134)
8
9 Revision Changes Path
10 1.1 net-misc/cfengine/files/cfengine-3.6.2-ifconfig.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/files/cfengine-3.6.2-ifconfig.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cfengine/files/cfengine-3.6.2-ifconfig.patch?rev=1.1&content-type=text/plain
14
15 Index: cfengine-3.6.2-ifconfig.patch
16 ===================================================================
17 --- cfengine-3.6.2.orig/libenv/unix_iface.c 2014-09-25 07:53:31.000000000 -0400
18 +++ cfengine-3.6.2/libenv/unix_iface.c 2014-11-26 23:55:20.151351070 -0500
19 @@ -625,7 +625,7 @@
20 return;
21 }
22 #else
23 - if ((pp = cf_popen("/sbin/ifconfig -a", "r", true)) == NULL)
24 + if ((pp = cf_popen("/sbin/ifconfig -a", "r", true)) == NULL || (pp = cf_popen("/bin/ifconfig -a", "r", true)) == NULL)
25 {
26 Log(LOG_LEVEL_VERBOSE, "Could not find interface info");
27 return;