blob: 9b855bb5d23ce6ab723a3023fdd23cd68bb96754 (
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
41
42
43
44
|
# Contributor: Myautsai PAN <myautsai@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=openconnect
pkgver=7.08
pkgrel=1
pkgdesc="Open client for Cisco AnyConnect VPN"
url="http://www.infradead.org/openconnect/"
arch="all"
license="LGPL2.1"
depends="vpnc iproute2"
makedepends="autoconf automake intltool gnutls-dev libxml2-dev
krb5-dev lz4-dev libproxy-dev linux-headers stoken-dev
pcsc-lite-dev oath-toolkit-dev"
source="ftp://ftp.infradead.org/pub/$pkgname/$pkgname-$pkgver.tar.gz
openconnect-7.08-libressl251.patch"
subpackages="$pkgname-doc $pkgname-dev"
builddir=$srcdir/$pkgname-$pkgver
build() {
cd $builddir
./configure --prefix=/usr \
--sbindir=/usr/bin \
--disable-static \
--disable-rpath \
--with-gnutls \
--with-vpnc-script=/etc/vpnc/vpnc-script \
--disable-nls
make
}
check() {
cd $builddir
make check
}
package() {
cd $builddir
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/var/log/openconnect
}
sha512sums="22f9b0bd4bd17e2ab91ff42b2464c89abba035fe705c037ba4d1042ace460c8738e20481783a1edc3b7dd6503fe9fcc7fdd188552811fb1525310e25a4c2f400 openconnect-7.08.tar.gz
0472ca5e4fdb0522078027068dfc5e3f82bcd51c7699f4b0834b873053c5b384cff6746c3da54cc25daf8f16f7d04b3224edc5efc6f66908e538bee10e334350 openconnect-7.08-libressl251.patch"
|