diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-27 21:06:53 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-27 21:06:59 +0000 |
commit | 6afcf362335b17590f8bcf8f7462a7d2165a7eaf (patch) | |
tree | 2962f2af28be744dc9abf4e9762d1afc5536181f /testing/openconnect/APKBUILD | |
parent | bc1cb506a2a45ed5600e84258276bf38ce5f106f (diff) | |
download | aports-6afcf362335b17590f8bcf8f7462a7d2165a7eaf.tar.bz2 aports-6afcf362335b17590f8bcf8f7462a7d2165a7eaf.tar.xz |
testing/openconnect: moved from unmaintained, upgraded to 7.08
Diffstat (limited to 'testing/openconnect/APKBUILD')
-rw-r--r-- | testing/openconnect/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/openconnect/APKBUILD b/testing/openconnect/APKBUILD new file mode 100644 index 0000000000..accedda560 --- /dev/null +++ b/testing/openconnect/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Myautsai PAN <myautsai@gmail.com> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> + +pkgname=openconnect +pkgver=7.08 +pkgrel=0 +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" +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" |