Sisyphus repository
Last update: 4 december 2020 | SRPMs: 17764 | Visits: 19752081
en ru br
ALT Linux repos
S:5.20.2-alt1

Group :: Graphical desktop/KDE
RPM: plasma5-nm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-old-openconnectauth.patch
Download


--- a/vpn/openconnect/openconnectauth.cpp
+++ b/vpn/openconnect/openconnectauth.cpp
@@ -216,10 +216,12 @@ void OpenconnectAuthWidget::readConfig()
             openconnect_passphrase_from_fsid(d->vpninfo);
         }
     }
+#if OPENCONNECT_CHECK_VER(5,2)
     if (!dataMap[NM_OPENCONNECT_KEY_PROTOCOL].isEmpty()) {
         const QString protocol = dataMap[NM_OPENCONNECT_KEY_PROTOCOL];
         openconnect_set_protocol(d->vpninfo, OC3DUP(protocol == "juniper" ? "nc" : protocol.toUtf8().data()));
     }
+#endif
 
     d->tokenMode = dataMap[NM_OPENCONNECT_KEY_TOKEN_MODE].toUtf8();
 }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin