aboutsummaryrefslogtreecommitdiff
path: root/security/openconnect
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-07-06 18:28:16 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-07-06 18:28:16 +0000
commit782a0c04e7c713e540455daa2048cac356aeaf7c (patch)
tree35ec41d9897b9578cef1a68f9af7185ff9cd66ba /security/openconnect
parentc9a77027114809a7c916c7f17091d4f9593599ae (diff)
downloadports-782a0c04e7c713e540455daa2048cac356aeaf7c.tar.gz
ports-782a0c04e7c713e540455daa2048cac356aeaf7c.zip
- Add --without-liboath and --without-stoken to CONFIGURE_ARGS to prevent
auto detection - Remove USE_AUTOTOOLS - Add USES=libtool and remove USES=pathfix - Use option helpers and only define USE_OPENSSL when GNUTLS option is off
Notes
Notes: svn path=/head/; revision=360952
Diffstat (limited to 'security/openconnect')
-rw-r--r--security/openconnect/Makefile43
-rw-r--r--security/openconnect/pkg-plist3
2 files changed, 16 insertions, 30 deletions
diff --git a/security/openconnect/Makefile b/security/openconnect/Makefile
index 9841abe13540..f5934e33db0f 100644
--- a/security/openconnect/Makefile
+++ b/security/openconnect/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openconnect
PORTVERSION= 5.03
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= ftp://ftp.infradead.org/pub/openconnect/ \
http://mirrors.rit.edu/zi/
@@ -20,40 +20,27 @@ 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-openssl-version-check
-USE_AUTOTOOLS= aclocal autoconf automake libtool
-USES= gmake pathfix pkgconfig
-USE_OPENSSL= yes
-ACLOCAL_ARGS= -I .
-AUTOMAKE_ARGS= --add-missing
+ --without-liboath --without-openssl-version-check \
+ --without-stoken
+USES= gmake libtool pkgconfig
USE_LDCONFIG= yes
PORTDOCS= *
OPTIONS_DEFINE= PROXY GNUTLS
-PROXY_DESC= Enable automatic proxy configuratio via libproxy
-GNUTLS_DESC= Use GnuTLS instead of OpenSSL(EXPERIMENTAL)
+PROXY_DESC= Enable automatic proxy configuratio via libproxy
+PROXY_LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy
+PROXY_CONFIGURE_WITH= libproxy
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGNUTLS}
-LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
-CONFIGURE_ARGS+=--with-gnutls \
- --with-system-cafile=${LOCALBASE}/share/certs/ca-root-nss.crt
-RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
-BUILD_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MPROXY}
-LIB_DEPENDS+= proxy:${PORTSDIR}/net/libproxy
-.endif
+GNUTLS_DESC= Use GnuTLS instead of OpenSSL(EXPERIMENTAL)
+GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
+GNUTLS_BUILD_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
+GNUTLS_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
+GNUTLS_CONFIGURE_WITH= gnutls system-cafile=${LOCALBASE}/share/certs/ca-root-nss.crt
+GNUTLS_USE_OFF= OPENSSL=yes
post-install:
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/openconnect/pkg-plist b/security/openconnect/pkg-plist
index 257528faa0fa..ee1e184fa20b 100644
--- a/security/openconnect/pkg-plist
+++ b/security/openconnect/pkg-plist
@@ -1,8 +1,7 @@
sbin/openconnect
include/openconnect.h
-lib/libopenconnect.a
-lib/libopenconnect.la
lib/libopenconnect.so
lib/libopenconnect.so.2
+lib/libopenconnect.so.2.2.0
libdata/pkgconfig/openconnect.pc
man/man8/openconnect.8.gz