2009-10-10 02:17:35 +00:00
|
|
|
# Maintainer: Thomas Baechler <thomas@archlinux.org>
|
2009-10-10 14:15:23 +00:00
|
|
|
|
2009-10-10 02:17:35 +00:00
|
|
|
pkgname=vpnc
|
|
|
|
pkgver=0.5.3
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="VPN client for cisco3000 VPN Concentrators"
|
|
|
|
url="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('libgcrypt' 'openssl' 'iproute')
|
2009-10-10 14:15:23 +00:00
|
|
|
arch=('arm')
|
2009-10-10 02:17:35 +00:00
|
|
|
source=(http://www.unix-ag.uni-kl.de/~massar/vpnc/$pkgname-$pkgver.tar.gz
|
2009-10-10 14:15:23 +00:00
|
|
|
vpnc.conf
|
|
|
|
vpnc.rc)
|
2009-10-10 02:17:35 +00:00
|
|
|
backup=(etc/vpnc/default.conf)
|
|
|
|
md5sums=('4378f9551d5b077e1770bbe09995afb3'
|
|
|
|
'a3f4e0cc682f437e310a1c86ae198e45'
|
|
|
|
'c5885162ac198eaa36da9a01e7c0c55b')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
|
|
|
|
# Build hybrid support
|
|
|
|
sed -i 's|^#OPENSSL|OPENSSL|g' Makefile
|
|
|
|
|
|
|
|
make PREFIX=/usr || return 1
|
|
|
|
make DESTDIR=$startdir/pkg PREFIX=/usr install
|
|
|
|
|
|
|
|
install -D -m644 $startdir/src/vpnc.conf $startdir/pkg/etc/vpnc/default.conf
|
|
|
|
install -D -m755 $startdir/src/vpnc.rc $startdir/pkg/etc/rc.d/vpnc
|
|
|
|
rm -f $startdir/pkg/etc/vpnc/vpnc.conf
|
|
|
|
}
|