Subject: [alpine-aports] [PATCH] testing/openconnect: new aport

From: "PAN, Myautsai" <[email-masked]>
Date: Sun, 13 Sep 2015 01:16:11 +0800

From: mckelvin <[email-masked]>

http://www.infradead.org/openconnect/
Open client for Cisco AnyConnect VPN
---
 testing/openconnect/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/openconnect/APKBUILD

diff --git a/testing/openconnect/APKBUILD b/testing/openconnect/APKBUILD
new file mode 100644
index 0000000..4bdc4f2
--- /dev/null
+++ b/testing/openconnect/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Myautsai PAN <[email-masked]>
+# Maintainer: Myautsai PAN <[email-masked]>
+
+pkgname=openconnect
+pkgver=7.06
+pkgrel=2
+pkgdesc="Open client for Cisco AnyConnect VPN"
+url="http://www.infradead.org/openconnect/"
+arch="all"
+license="LGPL2.1"
+depends="libxml2 gnutls libproxy vpnc krb5 lz4 openssl"
+depends_dev="libxml2-dev gnutls-dev libproxy-dev vpnc krb5-dev lz4-dev openssl-dev gettext"
+makedepends="intltool python"
+install=""
+source="ftp://ftp.infradead.org/pub/$pkgname/$pkgname-$pkgver.tar.gz"
+
+_builddir=$srcdir/$pkgname-$pkgver
+build() {
+    cd $_builddir
+    ./configure --prefix=/usr \
+        --sbindir=/usr/bin \
+        --disable-static
+    make
+}
+
+package() {
+    cd $_builddir
+    make DESTDIR="$pkgdir" install
+}
+
+md5sums="80f397911e1fed43d897d99be3d5f1a1  openconnect-7.06.tar.gz"
+sha256sums="facf695368dc4537a6a30e2147be90b1d77ee3cb2d269eaef070b6d9ddab70f2  openconnect-7.06.tar.gz"
+sha512sums="d1af9efe4ac1f6671dc6b92db0df981e8cae3f2f50b8b4c35a112b42a76517b7c8ea9fd5da93352445dd61da3012bf34fdbcc3add9d8727cbaad7d311e516108  openconnect-7.06.tar.gz"
-- 
2.4.6

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: "PAN, Myautsai" <[email-masked]>
Date: Wed, 7 Oct 2015 20:30:59 +0800

http://www.infradead.org/openconnect/
Open client for Cisco AnyConnect VPN
---
 testing/openconnect/APKBUILD | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 testing/openconnect/APKBUILD

index 0000000..f8c6bd0
@@ -0,0 +1,34 @@
+depends="libxml2 libproxy vpnc krb5 lz4 openssl"
+makedepends="autoconf automake intltool python openssl-dev libxml2-dev lz4-dev libproxy-dev"
+        --disable-static \
+        --without-gnutls \
+        --disable-nls
+    sed -i -r 's/\/\* #undef ICONV_CONST \*\//#define ICONV_CONST/' config.h

---

---

From: "PAN, Myautsai" <[email-masked]>
Date: Sat, 17 Oct 2015 20:51:04 +0800

index 0000000..75c965d
+depends="vpnc"

---