Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2018 14:01:49 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458641 - head/security/openconnect
Message-ID:  <201801101401.w0AE1n1j033059@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Wed Jan 10 14:01:49 2018
New Revision: 458641
URL: https://svnweb.freebsd.org/changeset/ports/458641

Log:
  - 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]

Modified:
  head/security/openconnect/Makefile

Modified: head/security/openconnect/Makefile
==============================================================================
--- head/security/openconnect/Makefile	Wed Jan 10 13:54:47 2018	(r458640)
+++ head/security/openconnect/Makefile	Wed Jan 10 14:01:49 2018	(r458641)
@@ -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,8 +42,15 @@ GNUTLS_DESC=		Use GnuTLS instead of OpenSSL (experimen
 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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801101401.w0AE1n1j033059>