/[gentoo-x86]/net-misc/networkmanager/files/networkmanager-0.9.10.0-arpingpath.patch
Gentoo

Contents of /net-misc/networkmanager/files/networkmanager-0.9.10.0-arpingpath.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon Oct 13 20:47:33 2014 UTC (4 years, 6 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Ifnet plugin is now disabled because of it being unattended and unmaintained for a long time, leading to some unfixed bugs and new problems appearing (#443596, #458274, #493370, #498372, #523700). If some day somebody volunteers for fixing/maintaining that plugin and forwarding all that fixes to upstream it could be re-enabled of course. Append configure option regarding systemd unit files install path only when systemd support is enabled to prevent HAVE_SYSTEMD to be true (#524534 by Konstantin Ivanov). Ensure arping is found (#523632 by Kobboi).

(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 Source: Timo Gurr <tgurr@exherbo.org>
2 Upstream: Reported, https://bugzilla.gnome.org/show_bug.cgi?id=734131
3 Reason: fix hardcoded path to arping
4
5 diff -Naur NetworkManager-0.9.10.0.old/src/devices/nm-device.c NetworkManager-0.9.10.0/src/devices/nm-device.c
6 --- NetworkManager-0.9.10.0.old/src/devices/nm-device.c 2014-07-04 02:44:19.000000000 +0200
7 +++ NetworkManager-0.9.10.0/src/devices/nm-device.c 2014-09-01 17:35:29.656282068 +0200
8 @@ -4429,7 +4429,7 @@
9 static void
10 send_arps (NMDevice *self, const char *mode_arg)
11 {
12 - const char *argv[] = { "/sbin/arping", mode_arg, "-q", "-I", nm_device_get_ip_iface (self), "-c", "1", NULL, NULL };
13 + const char *argv[] = { "/bin/arping", mode_arg, "-q", "-I", nm_device_get_ip_iface (self), "-c", "1", NULL, NULL };
14 int ip_arg = G_N_ELEMENTS (argv) - 2;
15 NMConnection *connection;
16 NMSettingIP4Config *s_ip4;

  ViewVC Help
Powered by ViewVC 1.1.20