summaryrefslogtreecommitdiff
path: root/extra/vpnc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-12 23:14:57 +0000
committerroot <root@rshg054.dnsready.net>2011-11-12 23:14:57 +0000
commit559f8739357af66f22f2259e84b21c76b3a66205 (patch)
tree94eed0bef6460bbf30846c7e6bc2179e34fb6301 /extra/vpnc
parente0f64ccb05c467785eaf68b42c3e302c44aa3324 (diff)
Sat Nov 12 23:14:57 UTC 2011
Diffstat (limited to 'extra/vpnc')
-rw-r--r--extra/vpnc/PKGBUILD21
1 files changed, 18 insertions, 3 deletions
diff --git a/extra/vpnc/PKGBUILD b/extra/vpnc/PKGBUILD
index 28994abc2..1e1228bba 100644
--- a/extra/vpnc/PKGBUILD
+++ b/extra/vpnc/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 135620 2011-08-16 16:43:05Z dreisner $
+# $Id: PKGBUILD 142551 2011-11-12 00:27:55Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>
pkgname=vpnc
-pkgver=0.5.3.svn457
+_vpncver=0.5.3
+pkgver=$_vpncver.svn472
pkgrel=1
pkgdesc="VPN client for cisco3000 VPN Concentrators"
url="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
@@ -14,9 +15,23 @@ arch=('i686' 'x86_64')
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz"
'vpnc.conf')
backup=('etc/vpnc/default.conf')
-md5sums=('033e642e17200a0efc0eda1c1c1886a2'
+md5sums=('51c350341ad4e7f8efbba19810b138a3'
'a3f4e0cc682f437e310a1c86ae198e45')
+mktarball() {
+ svn co http://svn.unix-ag.uni-kl.de/vpnc/trunk
+ pushd trunk
+ _svnrev=$(svn info | awk '/^Revision:/ { print $2 }')
+ popd
+
+ git clone git://git.infradead.org/users/dwmw2/vpnc-scripts.git
+ cp vpnc-scripts/vpnc-script trunk/
+
+ find trunk/ -type d -name .svn -exec rm -rf {} +
+ mv trunk "$pkgname-$_vpncver.svn$_svnrev"
+ tar cJf "$pkgname-$_vpncver.svn$_svnrev"{.tar.xz,}
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"