diff options
author | tijl <tijl@FreeBSD.org> | 2014-07-07 02:28:16 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-07-07 02:28:16 +0800 |
commit | 447c903e91db83af59965b3dd822acf302f28bae (patch) | |
tree | 35ec41d9897b9578cef1a68f9af7185ff9cd66ba /security/openconnect | |
parent | e0efd512fda44b134d8223d247cf7223aab1212b (diff) | |
download | freebsd-ports-gnome-447c903e91db83af59965b3dd822acf302f28bae.tar.gz freebsd-ports-gnome-447c903e91db83af59965b3dd822acf302f28bae.tar.zst freebsd-ports-gnome-447c903e91db83af59965b3dd822acf302f28bae.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
Diffstat (limited to 'security/openconnect')
-rw-r--r-- | security/openconnect/Makefile | 43 | ||||
-rw-r--r-- | security/openconnect/pkg-plist | 3 |
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 |