freebsd-ports/security/openconnect/Makefile
Koichiro Iwao 222e095f2a Implement new virtual category: net-vpn for VPN related ports
based on discussion at ports@ [1]. As VPN softwares are put in different
physical category net and security. This is a little bit confusing. Let's
give them new virtual category net-vpn.

[1] https://lists.freebsd.org/pipermail/freebsd-ports/2019-April/115915.html

PR:		239395
Submitted by:	myself
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D21174
2019-08-14 03:26:09 +00:00

61 lines
1.7 KiB
Makefile

# Created by: Damian Gerow <dgerow@afflictions.org>
# $FreeBSD$
PORTNAME= openconnect
PORTVERSION= 8.03
CATEGORIES= security net-vpn
MASTER_SITES= ftp://ftp.infradead.org/pub/openconnect/ \
ZI
MAINTAINER= zi@FreeBSD.org
COMMENT= Client for Cisco's AnyConnect SSL VPN
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.LGPL
LIB_DEPENDS= libxml2.so:textproc/libxml2
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-openssl-version-check --without-libpcsclite \
--without-libpskc
USES= cpe gmake iconv libtool pkgconfig python:build ssl shebangfix
CPE_VENDOR= infradead
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
SHEBANG_FILES= trojans/csd-post.sh trojans/csd-wrapper.sh \
trojans/tncc-wrapper.py
PORTDOCS= *
OPTIONS_DEFINE= DOCS PROXY GNUTLS GSSAPI LZ4 P11 STOKEN
OPTIONS_DEFAULT=GSSAPI
LZ4_DESC= LZ4-based compression
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
LZ4_CONFIGURE_WITH= lz4
PROXY_DESC= Automatic proxy configuration via libproxy
PROXY_LIB_DEPENDS= libproxy.so:net/libproxy
PROXY_CONFIGURE_WITH= libproxy
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}
.include <bsd.port.mk>