From 79141dd1f4ea05b3ec002f9283ba8accbe9370a7 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sat, 19 Mar 2011 20:49:37 +0000 Subject: testing/vpnc: new aport IPSec VPN client compatible with Cisco equipment http://www.unix-ag.uni-kl.de/~massar/vpnc/ --- testing/vpnc/APKBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 testing/vpnc/APKBUILD (limited to 'testing/vpnc/APKBUILD') diff --git a/testing/vpnc/APKBUILD b/testing/vpnc/APKBUILD new file mode 100644 index 000000000..f701cb916 --- /dev/null +++ b/testing/vpnc/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +pkgname=vpnc +pkgver=0.5.3 +pkgrel=0 +pkgdesc="IPSec VPN client compatible with Cisco equipment" +url="http://www.unix-ag.uni-kl.de/~massar/vpnc/" +arch="all" +license="GPLv2+" +depends= +makedepends="libgcrypt-dev" +install="" +subpackages="$pkgname-doc" +source="http://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-$pkgver.tar.gz + vpnc.initd + vpnc.confd" + +_builddir="$srcdir"/vpnc-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make PREFIX=/usr || return 1 +} + +package() { + cd "$_builddir" + make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 + install -m755 -D "$srcdir"/vpnc.initd \ + "$pkgdir"/etc/init.d/vpnc || return 1 + install -m644 -D "$srcdir"/vpnc.confd \ + "$pkgdir"/etc/conf.d/vpnc || return 1 +} + +md5sums="4378f9551d5b077e1770bbe09995afb3 vpnc-0.5.3.tar.gz +481ddc83b829de62f459f9b94e0c334b vpnc.initd +5c9fe863f70cc5262c095012b4bcc163 vpnc.confd" -- cgit v1.2.3