/[gentoo-x86]/net-misc/kvpnc/files/kvpnc-0.9.6a-ifconfig.patch
Gentoo

Contents of /net-misc/kvpnc/files/kvpnc-0.9.6a-ifconfig.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat Nov 23 17:22:19 2013 UTC (6 years, 1 month ago) by johu
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Revision bump adds patch by Chris Reffett <creffett@gentoo.org>. Patch fixes used path for ifconfig + route, bug #445852.

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)

1 diff -ruN kvpnc-0.9.6a-kde4/src/kvpncconfig.cpp kvpnc-0.9.6a-kde4-patched/src/kvpncconfig.cpp
2 --- kvpnc-0.9.6a-kde4/src/kvpncconfig.cpp 2010-03-08 05:26:33.000000000 -0500
3 +++ kvpnc-0.9.6a-kde4-patched/src/kvpncconfig.cpp 2013-05-23 10:36:35.536865224 -0400
4 @@ -58,8 +58,8 @@
5 pathToPing = "";
6 pathToOpenvpn = "/usr/sbin/openvpn";
7 pathToIp = "/sbin/ip";
8 - pathToIfconfig = "/sbin/ifconfig";
9 - pathToRoute = "/sbin/route";
10 + pathToIfconfig = "/bin/ifconfig";
11 + pathToRoute = "/bin/route";
12 pathToNetstat = "/bin/netstat";
13 pathToL2tpd = "/usr/sbin/l2tpd";
14 pathToPkcs11Tool = "/usr/bin/pkcs11-tool";
15 @@ -874,8 +874,8 @@
16 pathToOpenssl = configgroup.readEntry("Path to openssl", "/usr/bin/openssl");
17 pathToIpsec = configgroup.readEntry("Path to freeswan", "/usr/sbin/ipsec");
18 pathToIp = configgroup.readEntry("Path to iputility", "/sbin/ip");
19 - pathToIfconfig = configgroup.readEntry("Path to ifconfig", "/sbin/ifconfig");
20 - pathToRoute = configgroup.readEntry("Path to route", "/sbin/route");
21 + pathToIfconfig = configgroup.readEntry("Path to ifconfig", "/bin/ifconfig");
22 + pathToRoute = configgroup.readEntry("Path to route", "/bin/route");
23 pathToNetstat = configgroup.readEntry("Path to netstat", "/bin/netstat");
24 pathToPppd = configgroup.readEntry("Path to pppd", "/usr/sbin/pppd");
25 pathToPptp = configgroup.readEntry("Path to pptp", "/usr/sbin/pptp");
26 @@ -1516,10 +1516,10 @@
27 pathToIp = "/sbin/ip";
28
29 if (pathToIfconfig.isEmpty())
30 - pathToIfconfig = "/sbin/ifconfig";
31 + pathToIfconfig = "/bin/ifconfig";
32
33 if (pathToRoute.isEmpty())
34 - pathToRoute = "/sbin/route";
35 + pathToRoute = "/bin/route";
36
37 if (pathToNetstat.isEmpty())
38 pathToNetstat = "/bin/netstat";

  ViewVC Help
Powered by ViewVC 1.1.20