diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-09-05 13:37:26 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-09-05 13:37:26 +0000 |
commit | f651180e6b1ac9508ec0d1d9b94972de776020a9 (patch) | |
tree | 2c1f8d3bf28b5a52b186cfb6a67b6d092ddf21fc /core/vpnc | |
parent | 6dee0a203a8290427ca77705bc1cae90381529b2 (diff) |
Mon Sep 5 13:37:24 UTC 2011
Diffstat (limited to 'core/vpnc')
-rw-r--r-- | core/vpnc/PKGBUILD | 35 | ||||
-rw-r--r-- | core/vpnc/vpnc.conf | 17 | ||||
-rw-r--r-- | core/vpnc/vpnc.rc | 35 |
3 files changed, 0 insertions, 87 deletions
diff --git a/core/vpnc/PKGBUILD b/core/vpnc/PKGBUILD deleted file mode 100644 index d14842636..000000000 --- a/core/vpnc/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# $Id: PKGBUILD 100076 2010-11-20 04:16:25Z pierre $ -# Maintainer: Thomas Baechler <thomas@archlinux.org> - -pkgname=vpnc -pkgver=0.5.3 -pkgrel=3 -pkgdesc="VPN client for cisco3000 VPN Concentrators" -url="http://www.unix-ag.uni-kl.de/~massar/vpnc/" -license=('GPL') -depends=('libgcrypt' 'openssl' 'iproute2') -arch=('i686' 'x86_64') -source=("http://www.unix-ag.uni-kl.de/~massar/vpnc/$pkgname-$pkgver.tar.gz" - 'vpnc.conf' 'vpnc.rc') -backup=('etc/vpnc/default.conf') -md5sums=('4378f9551d5b077e1770bbe09995afb3' - 'a3f4e0cc682f437e310a1c86ae198e45' - 'c5885162ac198eaa36da9a01e7c0c55b') - -build() { - cd $srcdir/$pkgname-$pkgver - - # Build hybrid support - sed -i 's|^#OPENSSL|OPENSSL|g' Makefile - - make PREFIX=/usr -} - -package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir PREFIX=/usr install - - install -D -m644 $srcdir/vpnc.conf $pkgdir/etc/vpnc/default.conf - install -D -m755 $srcdir/vpnc.rc $pkgdir/etc/rc.d/vpnc - rm -f $pkgdir/etc/vpnc/vpnc.conf -} diff --git a/core/vpnc/vpnc.conf b/core/vpnc/vpnc.conf deleted file mode 100644 index 914f827fd..000000000 --- a/core/vpnc/vpnc.conf +++ /dev/null @@ -1,17 +0,0 @@ -# example vpnc configuration file -# see vpnc --long-help for details - -#Interface name tun0 -#IKE DH Group dh2 -#Perfect Forward Secrecy nopfs - -# You may replace this script with something better -#Script /etc/vpnc/vpnc-script -# Enable this option for NAT traversal -#UDP Encapsulate - -#IPSec gateway my.gateway.com -#IPSec ID someid -#IPSec secret somesecret -#Xauth username myusername -#Xauth password mypassword diff --git a/core/vpnc/vpnc.rc b/core/vpnc/vpnc.rc deleted file mode 100644 index 972ed3211..000000000 --- a/core/vpnc/vpnc.rc +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy "Connecting to VPN" - /usr/sbin/vpnc - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon vpnc - stat_done - fi - ;; - stop) - stat_busy "Disconnecting from VPN" - /usr/sbin/vpnc-disconnect - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon vpnc - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 |