diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-10 15:45:27 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-10 15:46:20 +0200 |
commit | 0708feb4ddbdc6aef7c2d57fb1c4ead42aa6a8bd (patch) | |
tree | 18d1c82adb7e34b92a7b5ad42b71694720229bb5 /net-vpn | |
parent | kde4*eclass: Drop maintainers to kde-sunset (diff) | |
download | kde-sunset-0708feb4ddbdc6aef7c2d57fb1c4ead42aa6a8bd.tar.gz kde-sunset-0708feb4ddbdc6aef7c2d57fb1c4ead42aa6a8bd.tar.bz2 kde-sunset-0708feb4ddbdc6aef7c2d57fb1c4ead42aa6a8bd.zip |
net-misc/kvpnc -> net-vpn/kvpnc, import 0.9.6a from Gentoo ebuild repo
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/kvpnc/ChangeLog | 188 | ||||
-rw-r--r-- | net-vpn/kvpnc/Manifest | 3 | ||||
-rw-r--r-- | net-vpn/kvpnc/files/kvpnc-0.9.0-gcc43.patch | 21 | ||||
-rw-r--r-- | net-vpn/kvpnc/files/kvpnc-0.9.6a-gcc47.patch | 11 | ||||
-rw-r--r-- | net-vpn/kvpnc/files/kvpnc-0.9.6a-gcc6.patch | 53 | ||||
-rw-r--r-- | net-vpn/kvpnc/files/kvpnc-0.9.6a-ifconfig.patch | 38 | ||||
-rw-r--r-- | net-vpn/kvpnc/files/kvpnc-0.9.6a-kicon.patch | 59 | ||||
-rw-r--r-- | net-vpn/kvpnc/files/kvpnc-0.9.6a-scriptsec.patch | 15 | ||||
-rw-r--r-- | net-vpn/kvpnc/kvpnc-0.9.0.ebuild | 27 | ||||
-rw-r--r-- | net-vpn/kvpnc/kvpnc-0.9.6a-r3.ebuild | 55 | ||||
-rw-r--r-- | net-vpn/kvpnc/metadata.xml | 8 |
11 files changed, 478 insertions, 0 deletions
diff --git a/net-vpn/kvpnc/ChangeLog b/net-vpn/kvpnc/ChangeLog new file mode 100644 index 00000000..68afcd49 --- /dev/null +++ b/net-vpn/kvpnc/ChangeLog @@ -0,0 +1,188 @@ +# ChangeLog for net-misc/kvpnc +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/ChangeLog,v 1.41 2009/11/18 20:18:21 fauli Exp $ + + 18 Nov 2009; Christian Faulhammer <fauli@gentoo.org> kvpnc-0.9.3.ebuild: + stable x86, bug 293120 + +*kvpnc-0.9.3 (08 Oct 2009) + + 08 Oct 2009; Tomáš Chvátal <scarabeus@gentoo.org> -kvpnc-0.7.2.ebuild, + -kvpnc-0.8.6.1.ebuild, -kvpnc-0.8.8.ebuild, -kvpnc-0.8.9.ebuild, + kvpnc-0.9.0.ebuild, -kvpnc-0.9.1.ebuild, +kvpnc-0.9.3.ebuild: + Remove old. Version bump. Fix slotting. + + 01 Jun 2009; nixnut <nixnut@gentoo.org> kvpnc-0.9.0.ebuild: + ppc stable #228299 + + 31 May 2009; Brent Baude <ranger@gentoo.org> kvpnc-0.9.0.ebuild: + Marking kvpnc-0.9.0 ppc64 for bug 228299 + + 31 May 2009; Markus Meier <maekke@gentoo.org> kvpnc-0.9.0.ebuild: + amd64 stable, bug #228299 + + 27 May 2009; Christian Faulhammer <fauli@gentoo.org> kvpnc-0.9.0.ebuild: + stable x86, bug 228299 + +*kvpnc-0.9.1 (09 Mar 2009) + + 09 Mar 2009; Tomas Chvatal <scarabeus@gentoo.org> +kvpnc-0.9.1.ebuild: + Version bump. Per bug #256463. + + 05 Feb 2009; Tomas Chvatal <scarabeus@gentoo.org> kvpnc-0.9.0.ebuild: + Switch to eapi1 and make cisco useflag enabled by default. Per bug + #209126. + + 15 Nov 2008; Mark Loeser <halcy0n@gentoo.org> + +files/kvpnc-0.9.0-gcc43.patch, kvpnc-0.9.0.ebuild: + Fix compilation with gcc-4.3, thanks to J.M. Gottfried and Andreas + Philipp; bug #224113 + +*kvpnc-0.9.0 (07 Feb 2008) + + 07 Feb 2008; Wulf C. Krueger <philantrop@gentoo.org> +kvpnc-0.9.0.ebuild: + Version bump to 0.9.0 to fix bug 209126. + +*kvpnc-0.8.9 (24 May 2007) + + 24 May 2007; Konstantin V. Arkhipov <voxus@gentoo.org> + -kvpnc-0.8.8-r2.ebuild, +kvpnc-0.8.9.ebuild: + Version bump, closing bug #176749. + + 14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml: + add <herd>no-herd</herd> + +*kvpnc-0.8.8-r2 (27 Apr 2007) + + 27 Apr 2007; Konstantin V. Arkhipov <voxus@gentoo.org> + -kvpnc-0.8.8-r1.ebuild, +kvpnc-0.8.8-r2.ebuild: + Closing bug #175895. + + 24 Apr 2007; Konstantin V. Arkhipov <voxus@gentoo.org> + kvpnc-0.8.8-r1.ebuild: + Dependency on net-misc/vpnc corrected. + +*kvpnc-0.8.8-r1 (21 Apr 2007) + + 21 Apr 2007; Konstantin V. Arkhipov <voxus@gentoo.org> + +kvpnc-0.8.8-r1.ebuild: + Ebuild improvements made by Elias Probst, closing bug #172778. + + 06 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org> kvpnc-0.8.8.ebuild: + ppc stable, bug #172271 + + 29 Mar 2007; Markus Rothe <corsair@gentoo.org> kvpnc-0.8.8.ebuild: + Stable on ppc64; bug #172271 + + 26 Mar 2007; Konstantin V. Arkhipov <voxus@gentoo.org> kvpnc-0.8.8.ebuild: + Goes stable on amd64 and x86 wrt bug #172271. + + 26 Mar 2007; Konstantin V. Arkhipov <voxus@gentoo.org> kvpnc-0.8.8.ebuild: + DEPEND corrected wrt bug #170821. + +*kvpnc-0.8.8 (22 Feb 2007) + + 22 Feb 2007; Konstantin V. Arkhipov <voxus@gentoo.org> + +kvpnc-0.8.8.ebuild: + Version bump, closing bug #166819. + +*kvpnc=0.8.6.1 (01 Oct 2006) + + 01 Oct 2006; Konstantin Arkhipov <voxus@gentoo.org> +kvpnc-0.8.6.1.ebuild, + -kvpnc-0.8.1.ebuild, -kvpnc-0.8.2.1.ebuild, -kvpnc-0.8.3.ebuild, + -kvpnc-0.8.5.1.ebuild, -kvpnc-0.8.ebuild: + Version bump (bug #149247), cleanup. + +*kvpnc=0.8.5.1 (11 Jun 2006) + + 11 Jun 2006; Konstantin Arkhipov <voxus@gentoo.org> +kvpnc-0.8.5.1.ebuild: + Version bump, thanks to CSights for a reminder. + + 27 Apr 2006; Alec Warner <antarus@gentoo.org> files/digest-kvpnc-0.7.2, + files/digest-kvpnc-0.8, files/digest-kvpnc-0.8.1, Manifest: + Fixing SHA256 digest, pass four + +*kvpnc-0.8.3 (26 Mar 2006) + + 26 Mar 2006; Konstantin Arkhipov <voxus@gentoo.org> +kvpnc-0.8.3.ebuild: + Version bump, closes bug #126656. + +*kvpnc-0.8.2.1 (12 Feb 2006) + + 12 Feb 2006; Konstantin Arkhipov <voxus@gentoo.org> +kvpnc-0.8.2.1.ebuild: + Version bump, closes bug #122584. + + 03 Feb 2006; Markus Rothe <corsair@gentoo.org> kvpnc-0.8.1.ebuild: + Added ~ppc64 + + 12 Nov 2005; Jason Wever <weeve@gentoo.org> kvpnc-0.8.1.ebuild: + Added ~sparc keyword wrt bug #112330. + +*kvpnc-0.8.1 (13 Nov 2005) + + 13 Nov 2005; Konstantin Arkhipov <voxus@gentoo.org> +kvpnc-0.8.1.ebuild: + Version bump, closing bug #112330. Sparc keyword dropped due to new + crpyto++ dependency. + + 30 Oct 2005; Konstantin Arkhipov <voxus@gentoo.org> -kvpnc-0.7.ebuild, + kvpnc-0.7.2.ebuild, kvpnc-0.8.ebuild: + Goes stable on x86. + +*kvpnc-0.8 (14 Oct 2005) + + 14 Oct 2005; Konstantin Arkhipov <voxus@gentoo.org> +kvpnc-0.8.ebuild: + Version bump, closing bug #108668. + +*kvpnc-0.7.2 (17 Jul 2005) + + 17 Jul 2005; Konstantin Arkhipov <voxus@gentoo.org> +kvpnc-0.7.2.ebuild: + Version bump. + + 10 Jul 2005; Jason Wever <weeve@gentoo.org> kvpnc-0.7.ebuild: + Added ~sparc keyword. + + 02 Jul 2005; Konstantin Arkhipov <voxus@gentoo.org> kvpnc-0.4.1.2.ebuild, + kvpnc-0.6.1.ebuild, kvpnc-0.7.ebuild: + Added ~amd64 keyword, stabilized on x86. + +*kvpnc-0.7 (14 Jun 2005) + + 14 Jun 2005; Konstantin Arkhipov <voxus@gentoo.org> +kvpnc-0.7.ebuild: + Version bump. + +*kvpnc-0.4.1.2 (06 May 2005) + + 06 May 2005; Konstantin Arkhipov <voxus@gentoo.org> +kvpnc-0.4.1.2.ebuild: + Restored old version as requested in bug #91686. + +*kvpnc-0.6.1 (12 Apr 2005) + + 12 Apr 2005; Konstantin Arkhipov <voxus@gentoo.org> -kvpnc-0.4.1.2.ebuild, + -kvpnc-0.6.ebuild, +kvpnc-0.6.1.ebuild: + Version bump, closing bug #87479. + +*kvpnc-0.6 (27 Feb 2005) + + 27 Feb 2005; Konstantin Arkhipov <voxus@gentoo.org> -kvpnc-0.4.ebuild, + +kvpnc-0.6.ebuild: + Dropped 0.4 and added 0.6 (closing bug #83478). + +*kvpnc-0.4.1.2 (08 Dec 2004) + + 08 Dec 2004; Konstantin Arkhipov <voxus@gentoo.org> kvpnc-0.4.ebuild, + +kvpnc-0.4.1.2.ebuild: + Version bump, closing bug #73686. + Strict dependency on vpnc-0.2 set. + + 02 Dec 2004; Carsten Lohrke <carlo@gentoo.org> kvpnc-0.4.ebuild: + QA: need-kde() after R/DEPEND - inherit kde, not kdebase + + 03 Sep 2004; David Holm <dholm@gentoo.org> kvpnc-0.4.ebuild: + Added to ~ppc. + +*kvpnc-0.4 (19 Aug 2004) + + 19 Aug 2004; Konstantin Arkhipov <voxus@gentoo.org> + +kvpnc-0.4.ebuild: + Initial revision, closing bug #50957. + Thanks to Elias Probst <elias.probst@gmx.de>. diff --git a/net-vpn/kvpnc/Manifest b/net-vpn/kvpnc/Manifest new file mode 100644 index 00000000..2bb2c57b --- /dev/null +++ b/net-vpn/kvpnc/Manifest @@ -0,0 +1,3 @@ +DIST kvpnc-0.9.0.tar.bz2 2486319 SHA256 ce86327d9656ae466237ebea0c0c46f1bde3f6379ebde69210af8abf5978374c +DIST kvpnc-0.9.6-kde4-locale.tar.bz2 2020192 BLAKE2B 89d0d95ad04c1dfedcce7b5eb6bb6b17f37f08cdd39822d0aa5679638187c32625b0b8bc95e967f2a9ce938a45d157655bb43071ae9dbd214e40faa5195b9316 SHA512 a2e5c7f465ec77e61f882cb2a45da7da3c868de164e8cdefe2a987d9040e1762ebd6f3e089f008dfcc7f7fad47b9847c059d615c94a995805af0ca3f1fd4d209 +DIST kvpnc-0.9.6a-kde4.tar.bz2 579425 BLAKE2B 1058e06b9a1d4325794a51f1ee34892b6898b6ffb077897a7c9e4617019be2da6e3759da5d2a4bb405424e8f18e7a01cad3bccf2d0f5f438e65d262c560f5484 SHA512 e30e3fcb9729a378c84d636c7efe0e45ce7d15bcfab2f5f6cd4e37951de1db10c343e5e14dc13aafc4d540058ebc2ca0c2ad30c555fd78f0de552107d13d2467 diff --git a/net-vpn/kvpnc/files/kvpnc-0.9.0-gcc43.patch b/net-vpn/kvpnc/files/kvpnc-0.9.0-gcc43.patch new file mode 100644 index 00000000..a0bad6e7 --- /dev/null +++ b/net-vpn/kvpnc/files/kvpnc-0.9.0-gcc43.patch @@ -0,0 +1,21 @@ +--- src/kvpnc.h 2008-05-29 09:58:45.000000000 +0200 ++++ src/kvpnc.h 2008-05-29 09:59:07.000000000 +0200 +@@ -77,7 +77,7 @@ + * @param parent Parent widget + * @param name Name of the Mainwindow + */ +- KVpnc( KApplication *parent, QWidget*parent = 0, const char *name = 0 ); ++ KVpnc( KApplication *parent, QWidget*qparent = 0, const char *name = 0 ); + + /** + * Destruktor +--- src/toolinfo.cpp 2008-05-29 09:59:19.000000000 +0200 ++++ src/toolinfo.cpp 2008-05-29 09:59:37.000000000 +0200 +@@ -21,6 +21,7 @@ + #include "toolinfo.h" + #include <qfile.h> + #include <iostream> ++#include <cstdlib> + #include <klocale.h> + #include <kstandarddirs.h> + #include <kmessagebox.h> diff --git a/net-vpn/kvpnc/files/kvpnc-0.9.6a-gcc47.patch b/net-vpn/kvpnc/files/kvpnc-0.9.6a-gcc47.patch new file mode 100644 index 00000000..db59b5ba --- /dev/null +++ b/net-vpn/kvpnc/files/kvpnc-0.9.6a-gcc47.patch @@ -0,0 +1,11 @@ +diff -ruN kvpnc-0.9.6a-kde4.orig/src/kvpnc.cpp kvpnc-0.9.6a-kde4/src/kvpnc.cpp +--- kvpnc-0.9.6a-kde4.orig/src/kvpnc.cpp 2012-06-25 22:16:25.395420711 +0200 ++++ kvpnc-0.9.6a-kde4/src/kvpnc.cpp 2012-06-25 22:17:41.598424971 +0200 +@@ -75,6 +75,7 @@ + #include <cstdlib> + #include <ctime> + #include <iomanip> ++#include <unistd.h> + + #include "ui_mainviewbase4.h" + #include "ciscocertificateenrollment.h" diff --git a/net-vpn/kvpnc/files/kvpnc-0.9.6a-gcc6.patch b/net-vpn/kvpnc/files/kvpnc-0.9.6a-gcc6.patch new file mode 100644 index 00000000..ba086a63 --- /dev/null +++ b/net-vpn/kvpnc/files/kvpnc-0.9.6a-gcc6.patch @@ -0,0 +1,53 @@ +Author: Pino Toscano <pino@kde.org> +Description: remove extra bool parameter for KConfigGroup::deleteEntry() + unneeded, and it does not match any of the actual signatures of the + function +Bug-Debian: https://bugs.debian.org/811679 +Applied-Upstream: commit:1452683 + +--- a/src/kvpncconfig.cpp ++++ b/src/kvpncconfig.cpp +@@ -4305,7 +4305,7 @@ + appPointer->processEvents(); + + if (useKwallet && KWallet::Wallet::isEnabled()) +- configgroup.deleteEntry("First use of Kwallet", false); ++ configgroup.deleteEntry("First use of Kwallet"); + + + /* = user data = */ +Author: Pino Toscano <pino@kde.org> +Description: do not return bool for QString + GCC 6 cannot convert them +Bug-Debian: https://bugs.debian.org/811679 +Applied-Upstream: commit:1452682 + +--- a/src/utils.cpp ++++ b/src/utils.cpp +@@ -914,7 +914,7 @@ + NameAndPidOfProgramListenProcess->start(proc, args); + if (!NameAndPidOfProgramListenProcess->waitForStarted()) { + kError() << "netstat fails!" << endl; +- return false; ++ return ""; + } else { + NameAndPidOfProgramListenProcess->waitForFinished(); + +@@ -946,7 +946,7 @@ + GetEmailAddressOfCertProcess->start(proc, args); + if (!GetEmailAddressOfCertProcess->waitForStarted()) { + kError() << "GetEmailAddressOfCertProcess" << endl; +- return false; ++ return ""; + } else { + GetEmailAddressOfCertProcess->waitForFinished(); + disconnect(GetEmailAddressOfCertProcess, SIGNAL(readyReadStandardOutput()), this, SLOT(readOutGetEmailAddressOfCert())); +@@ -1159,7 +1159,7 @@ + GetHostnameProcess->start(proc, args); + if (!GetHostnameProcess->waitForStarted()) { + kError() << "Unable to start getHostname process!" << endl; +- return false; ++ return ""; + } else { + GetHostnameProcess->waitForFinished(); + return Hostname; diff --git a/net-vpn/kvpnc/files/kvpnc-0.9.6a-ifconfig.patch b/net-vpn/kvpnc/files/kvpnc-0.9.6a-ifconfig.patch new file mode 100644 index 00000000..1413bccc --- /dev/null +++ b/net-vpn/kvpnc/files/kvpnc-0.9.6a-ifconfig.patch @@ -0,0 +1,38 @@ +diff -ruN kvpnc-0.9.6a-kde4/src/kvpncconfig.cpp kvpnc-0.9.6a-kde4-patched/src/kvpncconfig.cpp +--- kvpnc-0.9.6a-kde4/src/kvpncconfig.cpp 2010-03-08 05:26:33.000000000 -0500 ++++ kvpnc-0.9.6a-kde4-patched/src/kvpncconfig.cpp 2013-05-23 10:36:35.536865224 -0400 +@@ -58,8 +58,8 @@ + pathToPing = ""; + pathToOpenvpn = "/usr/sbin/openvpn"; + pathToIp = "/sbin/ip"; +- pathToIfconfig = "/sbin/ifconfig"; +- pathToRoute = "/sbin/route"; ++ pathToIfconfig = "/bin/ifconfig"; ++ pathToRoute = "/bin/route"; + pathToNetstat = "/bin/netstat"; + pathToL2tpd = "/usr/sbin/l2tpd"; + pathToPkcs11Tool = "/usr/bin/pkcs11-tool"; +@@ -874,8 +874,8 @@ + pathToOpenssl = configgroup.readEntry("Path to openssl", "/usr/bin/openssl"); + pathToIpsec = configgroup.readEntry("Path to freeswan", "/usr/sbin/ipsec"); + pathToIp = configgroup.readEntry("Path to iputility", "/sbin/ip"); +- pathToIfconfig = configgroup.readEntry("Path to ifconfig", "/sbin/ifconfig"); +- pathToRoute = configgroup.readEntry("Path to route", "/sbin/route"); ++ pathToIfconfig = configgroup.readEntry("Path to ifconfig", "/bin/ifconfig"); ++ pathToRoute = configgroup.readEntry("Path to route", "/bin/route"); + pathToNetstat = configgroup.readEntry("Path to netstat", "/bin/netstat"); + pathToPppd = configgroup.readEntry("Path to pppd", "/usr/sbin/pppd"); + pathToPptp = configgroup.readEntry("Path to pptp", "/usr/sbin/pptp"); +@@ -1516,10 +1516,10 @@ + pathToIp = "/sbin/ip"; + + if (pathToIfconfig.isEmpty()) +- pathToIfconfig = "/sbin/ifconfig"; ++ pathToIfconfig = "/bin/ifconfig"; + + if (pathToRoute.isEmpty()) +- pathToRoute = "/sbin/route"; ++ pathToRoute = "/bin/route"; + + if (pathToNetstat.isEmpty()) + pathToNetstat = "/bin/netstat"; diff --git a/net-vpn/kvpnc/files/kvpnc-0.9.6a-kicon.patch b/net-vpn/kvpnc/files/kvpnc-0.9.6a-kicon.patch new file mode 100644 index 00000000..d898dafb --- /dev/null +++ b/net-vpn/kvpnc/files/kvpnc-0.9.6a-kicon.patch @@ -0,0 +1,59 @@ +Author: Christoph Feck <cfeck@kde.org> +Description: Use KIcon to set window icons +Bug: https://bugs.kde.org/show_bug.cgi?id=246016 +Bug-Debian: https://bugs.debian.org/599094 +Applied-Upstream: commit:1180094 + +--- a/src/kvpnc.cpp ++++ b/src/kvpnc.cpp +@@ -320,10 +320,7 @@ KVpnc::~KVpnc() + + void KVpnc::initAction() + { +- disconnectedIcon = KIconLoader::global()->loadIcon("disconnected", KIconLoader::NoGroup); +- connectedIcon = KIconLoader::global()->loadIcon("connected", KIconLoader::NoGroup); +- connectingIcon = KIconLoader::global()->loadIcon("connecting" , KIconLoader::NoGroup); +- setWindowIcon(disconnectedIcon); ++ setWindowIcon(KIcon("disconnected")); + + (void*) KStandardAction::quit(this, SLOT(quitCalled()), actionCollection()); + +@@ -17449,7 +17446,7 @@ void KVpnc::setGuiStatus(int status) + QString ConnectionStatus = i18n("unknown"); + QString Username = ""; + if (status == KVpncEnum::connected) { +- setWindowIcon(connectedIcon); ++ setWindowIcon(KIcon("connected")); + + durationString = (i18n("%1:%2:%3" , QString().sprintf("%02u", hour) , QString().sprintf("%02u", min) , QString().sprintf("%02u", sec))); + QString ConnectMsg = ""; +@@ -17502,7 +17499,7 @@ void KVpnc::setGuiStatus(int status) + + } + else if (status == KVpncEnum::connecting) { +- setWindowIcon(connectingIcon); ++ setWindowIcon(KIcon("connecting")); + mw->buttonConnect->setEnabled(false); + mw->buttonDisconnect->setEnabled(true); + mw->SessionCombo->setEnabled(false); +@@ -17531,7 +17528,7 @@ void KVpnc::setGuiStatus(int status) + connectClicked(); + + } else if (status == KVpncEnum::disconnected) { +- setWindowIcon(disconnectedIcon); ++ setWindowIcon(KIcon("disconnected")); + mw->buttonConnect->setEnabled(true); + mw->buttonDisconnect->setEnabled(false); + DisconnectAction->setEnabled(false); +--- a/src/kvpnc.h ++++ b/src/kvpnc.h +@@ -286,9 +286,6 @@ private: + + int TimeOutProcess; //< for timeout + int ConnectingProcess; //< for killing process +- QPixmap connectedIcon; +- QPixmap disconnectedIcon; +- QPixmap connectingIcon; + QPixmap connectingStatusPixmap; + QPixmap disconnectedStatusPixmap; + QPixmap connectedStatusPixmap; diff --git a/net-vpn/kvpnc/files/kvpnc-0.9.6a-scriptsec.patch b/net-vpn/kvpnc/files/kvpnc-0.9.6a-scriptsec.patch new file mode 100644 index 00000000..4e8b4d6d --- /dev/null +++ b/net-vpn/kvpnc/files/kvpnc-0.9.6a-scriptsec.patch @@ -0,0 +1,15 @@ +diff -ruN kvpnc-0.9.6a-kde4.orig/src/kvpnc.cpp kvpnc-0.9.6a-kde4/src/kvpnc.cpp +--- kvpnc-0.9.6a-kde4.orig/src/kvpnc.cpp 2010-03-08 11:26:33.000000000 +0100 ++++ kvpnc-0.9.6a-kde4/src/kvpnc.cpp 2012-06-25 22:12:51.454408816 +0200 +@@ -6030,7 +6030,10 @@ + } + + +- if (GlobalConfig->OpenvpnNeedSecurityParameter || (OpenvpnMajor == 2 && OpenvpnMinor == 1 && OpenvpnExtraVer > 8 && OpenvpnExtra == "rc")|| ( OpenvpnMajor == 2 && OpenvpnMinor == 1 ) || (OpenvpnMajor > 2 && OpenvpnMinor >= 2)) { ++ if (GlobalConfig->OpenvpnNeedSecurityParameter || ++ (OpenvpnMajor == 2 && OpenvpnMinor == 1 && OpenvpnExtraVer > 8 && OpenvpnExtra == "rc")|| ++ (OpenvpnMajor == 2 && OpenvpnMinor >= 1 ) || ++ (OpenvpnMajor > 2)) { + if (GlobalConfig->KvpncDebugLevel > 3) + GlobalConfig->appendLogEntry(i18n("OpenVPN >= 2.1-rc9 detected, adding script security parameter to config."), KVpncEnum::info); + diff --git a/net-vpn/kvpnc/kvpnc-0.9.0.ebuild b/net-vpn/kvpnc/kvpnc-0.9.0.ebuild new file mode 100644 index 00000000..121e220e --- /dev/null +++ b/net-vpn/kvpnc/kvpnc-0.9.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/kvpnc-0.9.0.ebuild,v 1.9 2009/11/10 23:09:07 cla Exp $ + +EAPI="1" +ARTS_REQUIRED="never" +inherit kde eutils + +DESCRIPTION="kvpnc - a KDE-VPN connection utility." +SRC_URI="http://download.gna.org/${PN}/${P}.tar.bz2" +HOMEPAGE="http://home.gna.org/kvpnc/" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc ppc64 ~sparc x86" +IUSE="+cisco smartcard" +SLOT="3.5" + +DEPEND="dev-libs/libgcrypt" +RDEPEND="cisco? ( >=net-misc/vpnc-0.4 ) + smartcard? ( >=dev-libs/openct-0.6.11-r1 )" + +need-kde 3.5 + +src_unpack() { + kde_src_unpack + + epatch "${FILESDIR}"/kvpnc-0.9.0-gcc43.patch +} diff --git a/net-vpn/kvpnc/kvpnc-0.9.6a-r3.ebuild b/net-vpn/kvpnc/kvpnc-0.9.6a-r3.ebuild new file mode 100644 index 00000000..724d336c --- /dev/null +++ b/net-vpn/kvpnc/kvpnc-0.9.6a-r3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +QT3SUPPORT_REQUIRED="true" +inherit kde4-base + +DESCRIPTION="KDELibs4-based frontend for various VPN clients" +HOMEPAGE="https://userbase.kde.org/KVpnc" +SRC_URI="http://download.gna.org/kvpnc/${P}-kde4.tar.bz2 + http://download.gna.org/kvpnc/${P/a}-kde4-locale.tar.bz2" + +LICENSE="GPL-2" +SLOT="4" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=" + dev-libs/libgcrypt:0 +" +DEPEND="${RDEPEND} + sys-devel/gettext +" + +S=${WORKDIR}/${P}-kde4 + +PATCHES=( + "${FILESDIR}/${P}-scriptsec.patch" + "${FILESDIR}/${P}-gcc47.patch" + "${FILESDIR}/${P}-ifconfig.patch" + "${FILESDIR}/${P}-gcc6.patch" + "${FILESDIR}/${P}-kicon.patch" +) + +src_prepare() { + mv -vf "${WORKDIR}"/${P/a}-kde4-locale/po . || die + + echo "find_package ( Msgfmt REQUIRED )" >> CMakeLists.txt || die + echo "find_package ( Gettext REQUIRED )" >> CMakeLists.txt || die + echo "add_subdirectory ( po )" >> CMakeLists.txt || die + + sed -i \ + -e "s:0.9.2-svn:${PV}:" \ + CMakeLists.txt || die + + kde4-base_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWITH_libgcrypt=ON + ) + kde4-base_src_configure +} diff --git a/net-vpn/kvpnc/metadata.xml b/net-vpn/kvpnc/metadata.xml new file mode 100644 index 00000000..b8db5a55 --- /dev/null +++ b/net-vpn/kvpnc/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <use> + <flag name="cisco">Adds support for Cisco client</flag> + </use> +</pkgmetadata> |