diff options
Diffstat (limited to 'community/kvpnc')
-rw-r--r-- | community/kvpnc/PKGBUILD | 44 | ||||
-rw-r--r-- | community/kvpnc/kvpnc.install | 52 | ||||
-rw-r--r-- | community/kvpnc/vpnc-paths.patch | 20 |
3 files changed, 0 insertions, 116 deletions
diff --git a/community/kvpnc/PKGBUILD b/community/kvpnc/PKGBUILD deleted file mode 100644 index 947ebb3ea..000000000 --- a/community/kvpnc/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# $Id: PKGBUILD 91108 2013-05-19 18:46:49Z dreisner $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Contributor: Danial Olsen <do@meyl.fo> - -pkgname=kvpnc -pkgver=0.9.6a -pkgrel=4 -pkgdesc="A KDE Desktop Environment frontend for various vpn clients" -arch=(i686 x86_64) -url="http://home.gna.org/kvpnc/" -license=("GPL") -depends=('kdelibs' 'hicolor-icon-theme') -makedepends=('cmake' 'automoc4' 'optipng') -install=kvpnc.install -source=(http://download.gna.org/$pkgname/$pkgname-${pkgver}-kde4.tar.bz2 - "vpnc-paths.patch") -md5sums=('bf8b7224284f5d3f8ad5235c599fe9e7' - '4bf6a10c7be84656723183b876cbaf9d') - -prepare() { - cd "$srcdir/$pkgname-$pkgver-kde4" - - patch -Np0 <"$srcdir/vpnc-paths.patch" - - sed -i '1,1i#include <unistd.h>' src/kvpnc.cpp -} - -build() { - cd $srcdir - - export LDFLAGS=-lX11 - mkdir build - cd build - cmake ../${pkgname}-${pkgver}-kde4 \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release - make - find -name '*.png' -exec optipng -quiet -force -fix {} \; -} - -package() { - cd $srcdir/build - make DESTDIR=$pkgdir install -} diff --git a/community/kvpnc/kvpnc.install b/community/kvpnc/kvpnc.install deleted file mode 100644 index 77b839ca2..000000000 --- a/community/kvpnc/kvpnc.install +++ /dev/null @@ -1,52 +0,0 @@ -# arg 1: the new package version -post_install() { - echo " -You will need a vpn client, these are supported: ------------------------------------------------ -- vpnc >= 0.2-rm+zomb-pre9 Cisco VPN -- FreeS/WAN (OpenS/WAN too) >= 2.x IPSec VPN Linux 2.4/2.6 -- racoon (ipsec-tools) > = 1.x IPSec VPN Linux 2.6 -- pptpclient PPTP VPN -- OpenVPN VPN based on SSL - - -====================================================== -Howto setup KVpnc for use without root password - sudo -====================================================== - -1. install sudo - -2. edit /etc/sudoers - - # Cmnd alias specification - Cmnd_Alias KVPNC = /usr/bin/kvpnc - - # User privilege specification - ALL ALL=NOPASSWD:KVPNC - -3. edit desktop link (/usr/share/applications/kde4/kvpnc.desktop) - - replace the folling lines: - - Exec=kvpnc - X-KDE-SubstituteUID=true - - with: - - Exec=sudo kvpnc - X-KDE-SubstituteUID=false -" - which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true -} - -# arg 1: the old package version -post_remove() { - which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true -} - diff --git a/community/kvpnc/vpnc-paths.patch b/community/kvpnc/vpnc-paths.patch deleted file mode 100644 index 5dc66638d..000000000 --- a/community/kvpnc/vpnc-paths.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- src/kvpncconfig.cpp.orig 2013-05-19 14:37:11.867517045 -0400 -+++ src/kvpncconfig.cpp 2013-05-19 14:37:31.702107829 -0400 -@@ -865,7 +865,7 @@ - enableDebugXl2tpdtunnel = QVariant(configgroup.readEntry("EnableDebugXl2tpdtunnel", false)).toBool(); - - -- pathToVpnc = configgroup.readEntry("Path to vpnc-bin", "/usr/sbin/vpnc"); -+ pathToVpnc = configgroup.readEntry("Path to vpnc-bin", "/usr/bin/vpnc"); - pathToCiscoVpnc = configgroup.readEntry("Path to vpnclient", "/usr/local/bin/vpnclient"); - pathToSetkey = configgroup.readEntry("Path to setkey", "/usr/sbin/setkey"); - pathToRacoon = configgroup.readEntry("Path to racoon", "/usr/sbin/racoon"); -@@ -1489,7 +1489,7 @@ - void KVpncConfig::checkStandardPathValues() - { - if (pathToVpnc.isEmpty()) -- pathToVpnc = "/usr/sbin/vpnc"; -+ pathToVpnc = "/usr/bin/vpnc"; - - if (pathToCiscoVpnc.isEmpty()) - pathToCiscoVpnc = "/usr/local/bin/vpnclient"; |