Index: head/security/openconnect/Makefile =================================================================== --- head/security/openconnect/Makefile (revision 381729) +++ head/security/openconnect/Makefile (revision 381730) @@ -1,44 +1,43 @@ # Created by: Damian Gerow # $FreeBSD$ PORTNAME= openconnect -PORTVERSION= 6.00 +PORTVERSION= 7.06 CATEGORIES= security MASTER_SITES= ftp://ftp.infradead.org/pub/openconnect/ \ http://mirrors.rit.edu/zi/ MAINTAINER= zi@FreeBSD.org COMMENT= Client for Cisco's AnyConnect SSL VPN LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 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= * OPTIONS_DEFINE= PROXY GNUTLS PROXY_DESC= Automatic proxy configuration via libproxy PROXY_LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy PROXY_CONFIGURE_WITH= libproxy GNUTLS_DESC= Use GnuTLS instead of OpenSSL (experimental) GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls GNUTLS_CONFIGURE_WITH= gnutls 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 Index: head/security/openconnect/distinfo =================================================================== --- head/security/openconnect/distinfo (revision 381729) +++ head/security/openconnect/distinfo (revision 381730) @@ -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 Index: head/security/openconnect/files/patch-esp =================================================================== --- head/security/openconnect/files/patch-esp (nonexistent) +++ head/security/openconnect/files/patch-esp (revision 381730) @@ -0,0 +1,27 @@ +From 25e2d3a8e607742b28cddb5443a3b7ad86254b4c Mon Sep 17 00:00:00 2001 +From: David Woodhouse +Date: Fri, 20 Mar 2015 12:10:13 +0000 +Subject: [PATCH] Fix build without ESP + +Signed-off-by: David Woodhouse +--- + 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 + Property changes on: head/security/openconnect/files/patch-esp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/openconnect/pkg-plist =================================================================== --- head/security/openconnect/pkg-plist (revision 381729) +++ head/security/openconnect/pkg-plist (revision 381730) @@ -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