From 46bfba1a91a0956b4805ee0f2f360b00b7971cc2 Mon Sep 17 00:00:00 2001 From: Ryan Steinmetz Date: Wed, 10 Jan 2018 14:01:49 +0000 Subject: [PATCH] - Add support for RSA soft token via libstoken [1] - Make GSSAPI optional (still on by default, as before) PR: 208946 [1] Requested by: timp87@gmail.com [1] --- security/openconnect/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/security/openconnect/Makefile b/security/openconnect/Makefile index a224fcdc7d9b..0e2d163caab7 100644 --- a/security/openconnect/Makefile +++ b/security/openconnect/Makefile @@ -19,14 +19,16 @@ RUN_DEPENDS= vpnc-script:sysutils/vpnc-scripts GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-nls --with-vpnc-script=${LOCALBASE}/sbin/vpnc-script \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ - --without-stoken --without-openssl-version-check + --without-openssl-version-check --without-libpcsclite \ + --without-libpskc USES= cpe gmake iconv libtool pkgconfig python:build ssl CPE_VENDOR= infradead INSTALL_TARGET= install-strip USE_LDCONFIG= yes PORTDOCS= * -OPTIONS_DEFINE= PROXY GNUTLS LZ4 P11 +OPTIONS_DEFINE= PROXY GNUTLS GSSAPI LZ4 P11 STOKEN +OPTIONS_DEFAULT=GSSAPI LZ4_DESC= LZ4-based compression LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 @@ -40,9 +42,16 @@ GNUTLS_DESC= Use GnuTLS instead of OpenSSL (experimental) GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls +GSSAPI_CONFIGURE_WITH= gssapi + P11_DESC= PKCS#11 support via libp11 P11_LIB_DEPENDS= libp11.so:security/libp11 +STOKEN_DESC= With RSA soft token support via libstoken +STOKEN_LIB_DEPENDS= libstoken.so:security/stoken \ + libtomcrypt.so:security/libtomcrypt +STOKEN_CONFIGURE_WITH= stoken + post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}