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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon Jun 25 20:23:49 2012 UTC (7 years, 3 months ago) by dilfridge
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Fix breakage with openvpn-2.2

(Portage version: 2.2.0_alpha112/cvs/Linux x86_64)

1 diff -ruN kvpnc-0.9.6a-kde4.orig/src/kvpnc.cpp kvpnc-0.9.6a-kde4/src/kvpnc.cpp
2 --- kvpnc-0.9.6a-kde4.orig/src/kvpnc.cpp 2010-03-08 11:26:33.000000000 +0100
3 +++ kvpnc-0.9.6a-kde4/src/kvpnc.cpp 2012-06-25 22:12:51.454408816 +0200
4 @@ -6030,7 +6030,10 @@
5 }
6
7
8 - if (GlobalConfig->OpenvpnNeedSecurityParameter || (OpenvpnMajor == 2 && OpenvpnMinor == 1 && OpenvpnExtraVer > 8 && OpenvpnExtra == "rc")|| ( OpenvpnMajor == 2 && OpenvpnMinor == 1 ) || (OpenvpnMajor > 2 && OpenvpnMinor >= 2)) {
9 + if (GlobalConfig->OpenvpnNeedSecurityParameter ||
10 + (OpenvpnMajor == 2 && OpenvpnMinor == 1 && OpenvpnExtraVer > 8 && OpenvpnExtra == "rc")||
11 + (OpenvpnMajor == 2 && OpenvpnMinor >= 1 ) ||
12 + (OpenvpnMajor > 2)) {
13 if (GlobalConfig->KvpncDebugLevel > 3)
14 GlobalConfig->appendLogEntry(i18n("OpenVPN >= 2.1-rc9 detected, adding script security parameter to config."), KVpncEnum::info);
15

  ViewVC Help
Powered by ViewVC 1.1.20