aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2018-01-10 22:01:49 +0800
committerzi <zi@FreeBSD.org>2018-01-10 22:01:49 +0800
commitda1b0a44d3c1c0d42ab938cab6f1f626a14725c1 (patch)
tree5f0101adb47d292a41c3855d265cd7ef6a865cc2 /security
parente0c3beedf96565b84ded6deb8aeea8c34bea6d5e (diff)
downloadfreebsd-ports-gnome-da1b0a44d3c1c0d42ab938cab6f1f626a14725c1.tar.gz
freebsd-ports-gnome-da1b0a44d3c1c0d42ab938cab6f1f626a14725c1.tar.zst
freebsd-ports-gnome-da1b0a44d3c1c0d42ab938cab6f1f626a14725c1.zip
- 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]
Diffstat (limited to 'security')
-rw-r--r--security/openconnect/Makefile13
1 files 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}