blob: b687bf5f70308c0a14360fc42c2aff917ab741b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vpnc
pkgver=0.5.3
pkgrel=3
pkgdesc="IPSec VPN client compatible with Cisco equipment"
url="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
arch="all"
license="GPL-2.0-or-later"
makedepends="libgcrypt-dev perl linux-headers"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-$pkgver.tar.gz
working.patch
vpnc.initd
vpnc.confd"
builddir="$srcdir"/vpnc-$pkgver
build() {
cd "$builddir"
make PREFIX=/usr
}
check() {
cd "$builddir"
./vpnc --version
}
package() {
cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/vpnc.initd \
"$pkgdir"/etc/init.d/vpnc
install -m644 -D "$srcdir"/vpnc.confd \
"$pkgdir"/etc/conf.d/vpnc
}
sha512sums="fd1251d200c3826ebfd7022683e38912f30c2a95fbc51259bcd1fdf0570ef3c53cd842003c117a770657f7f8ebb00ceffeea91ced0c3f83dd9c1ca0488519ea3 vpnc-0.5.3.tar.gz
7bb2334085d98dc206853fa92368684492f5bfd62b6dee54acebd5d114bfa3b2fb5ac3d65450a102b53da9b15de84182176705031fa97e61042c4144aa8d1e45 working.patch
d20091a67ccd3b8e9f31ca47c49577ff3cd5bf6ba9ef7bcd9f03231d87fa64d978c60ab69c67bbafdc18d6474d932d6ec68de02d13bea41ae6a7d31b845635e9 vpnc.initd
1254f687dcd9822becfcccabbb34d8343d715d70247dbf4b5e018835fff24b33f5272368f77199d697c8d11d913182b1f756d5e08a46b2057849779f09b19633 vpnc.confd"
|