aboutsummaryrefslogtreecommitdiff
path: root/security/openconnect
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2015-03-20 12:37:17 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2015-03-20 12:37:17 +0000
commitdca82c433ce5b6fb8345fcbdbd47d2fbb52c007e (patch)
treec2d3559abf11308b908c7d00eeac65a08aefa459 /security/openconnect
parent9e63f2c68a3a327d95663c0ca92c163854b469ae (diff)
downloadports-dca82c433ce5b6fb8345fcbdbd47d2fbb52c007e.tar.gz
ports-dca82c433ce5b6fb8345fcbdbd47d2fbb52c007e.zip
Notes
Diffstat (limited to 'security/openconnect')
-rw-r--r--security/openconnect/Makefile7
-rw-r--r--security/openconnect/distinfo4
-rw-r--r--security/openconnect/files/patch-esp27
-rw-r--r--security/openconnect/pkg-plist4
4 files changed, 34 insertions, 8 deletions
diff --git a/security/openconnect/Makefile b/security/openconnect/Makefile
index 236029a8c1aa..f09f08c0c043 100644
--- a/security/openconnect/Makefile
+++ b/security/openconnect/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= openconnect
-PORTVERSION= 6.00
+PORTVERSION= 7.06
CATEGORIES= security
MASTER_SITES= ftp://ftp.infradead.org/pub/openconnect/ \
http://mirrors.rit.edu/zi/
@@ -19,9 +19,9 @@ RUN_DEPENDS= vpnc-script:${PORTSDIR}/sysutils/vpnc-scripts
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --with-vpnc-script=${LOCALBASE}/sbin/vpnc-script \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
- --without-liboath --without-openssl-version-check \
- --without-stoken
+ --without-stoken --without-openssl-version-check
USES= gmake libtool pkgconfig python:build
+INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
PORTDOCS= *
@@ -39,6 +39,5 @@ GNUTLS_USE_OFF= OPENSSL=yes
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenconnect.so.3.3.0
.include <bsd.port.mk>
diff --git a/security/openconnect/distinfo b/security/openconnect/distinfo
index 4c901d8534c1..6ce41a63b780 100644
--- a/security/openconnect/distinfo
+++ b/security/openconnect/distinfo
@@ -1,2 +1,2 @@
-SHA256 (openconnect-6.00.tar.gz) = 8a0c684dccac2447d204d544f6f466e41b21bce71e033ba58e2cb17b795ab81c
-SIZE (openconnect-6.00.tar.gz) = 1021981
+SHA256 (openconnect-7.06.tar.gz) = facf695368dc4537a6a30e2147be90b1d77ee3cb2d269eaef070b6d9ddab70f2
+SIZE (openconnect-7.06.tar.gz) = 1343870
diff --git a/security/openconnect/files/patch-esp b/security/openconnect/files/patch-esp
new file mode 100644
index 000000000000..8d96c8d571dc
--- /dev/null
+++ b/security/openconnect/files/patch-esp
@@ -0,0 +1,27 @@
+From 25e2d3a8e607742b28cddb5443a3b7ad86254b4c Mon Sep 17 00:00:00 2001
+From: David Woodhouse <David.Woodhouse@intel.com>
+Date: Fri, 20 Mar 2015 12:10:13 +0000
+Subject: [PATCH] Fix build without ESP
+
+Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
+---
+ oncp.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/oncp.c b/oncp.c
+index c12d86f..c9c7dc6 100644
+--- oncp.c
++++ oncp.c
+@@ -1049,7 +1049,9 @@ int oncp_mainloop(struct openconnect_info *vpninfo, int *timeout)
+ /* XXX: Do we have to do this or can we leave it open?
+ * Perhaps we could even reconnect asynchronously while
+ * the ESP is still running? */
++#if defined(ESP_GNUTLS) || defined(ESP_OPENSSL)
+ esp_shutdown(vpninfo);
++#endif
+ ret = ssl_reconnect(vpninfo);
+ if (ret) {
+ vpn_progress(vpninfo, PRG_ERR, _("Reconnect failed\n"));
+--
+1.9.3
+
diff --git a/security/openconnect/pkg-plist b/security/openconnect/pkg-plist
index 4facda4f4b70..f6b738d516be 100644
--- a/security/openconnect/pkg-plist
+++ b/security/openconnect/pkg-plist
@@ -1,7 +1,7 @@
sbin/openconnect
include/openconnect.h
lib/libopenconnect.so
-lib/libopenconnect.so.3
-lib/libopenconnect.so.3.3.0
+lib/libopenconnect.so.5
+lib/libopenconnect.so.5.1.0
libdata/pkgconfig/openconnect.pc
man/man8/openconnect.8.gz