diff options
author | pi <pi@FreeBSD.org> | 2016-04-06 04:13:49 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2016-04-06 04:13:49 +0800 |
commit | f850f83bbaedef2c6a8ac8edd6f0373c82bfb7f2 (patch) | |
tree | 62b8db53d1fae8d1eae1cf776fcec3fc24417b4e /net-mgmt/zabbix3-server | |
parent | deaf1be92b44f555232de68600508462426d80c3 (diff) | |
download | freebsd-ports-gnome-f850f83bbaedef2c6a8ac8edd6f0373c82bfb7f2.tar.gz freebsd-ports-gnome-f850f83bbaedef2c6a8ac8edd6f0373c82bfb7f2.tar.zst freebsd-ports-gnome-f850f83bbaedef2c6a8ac8edd6f0373c82bfb7f2.zip |
net-mgmt/zabbix3-{server,proxy,agent}: Add SSL/TLS support
PR: 208029
Submitted by: Martin Waschbuesch <martin@waschbuesch.de>
Approved by: pakhom@pakhom.spb.ru (maintainer)
Diffstat (limited to 'net-mgmt/zabbix3-server')
-rw-r--r-- | net-mgmt/zabbix3-server/Makefile | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/net-mgmt/zabbix3-server/Makefile b/net-mgmt/zabbix3-server/Makefile index 638ac39880b5..b1733b2f4d73 100644 --- a/net-mgmt/zabbix3-server/Makefile +++ b/net-mgmt/zabbix3-server/Makefile @@ -3,7 +3,7 @@ PORTNAME= zabbix3 PORTVERSION= 3.0.1 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= net-mgmt MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} PKGNAMESUFFIX?= -server @@ -72,7 +72,8 @@ CONFIGURE_ARGS+= --with-net-snmp OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW \ LIBXML2 -OPTIONS_DEFAULT= IPV6 FPING JABBER CURL UNIXODBC MYSQL SSH + +OPTIONS_DEFAULT= IPV6 FPING JABBER CURL UNIXODBC MYSQL SSH OPENSSL OPTIONS_SUB= yes CURL_DESC= Support for web monitoring @@ -86,9 +87,10 @@ ODBC_DESC= Support for database checks via ODBC JAVAGW_DESC= Support for Java gateway LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) -OPTIONS_SINGLE= DB ODBC +OPTIONS_SINGLE= DB ODBC SSL OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE OPTIONS_SINGLE_ODBC= IODBC UNIXODBC +OPTIONS_SINGLE_SSL= OPENSSL GNUTLS POLARSSL MYSQL_CONFIGURE_WITH= mysql MYSQL_USE= MYSQL=yes @@ -123,6 +125,9 @@ IODBC_LIB_DEPENDS= libiodbc.so:databases/libiodbc UNIXODBC_CONFIGURE_WITH=unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC +.else +OPTIONS_SINGLE= SSL +OPTIONS_SINGLE_SSL= OPENSSL GNUTLS POLARSSL .endif # if ${ZABBIX_BUILD} != "agent" IPV6_CONFIGURE_ENABLE= ipv6 @@ -136,8 +141,23 @@ JAVAGW_USE= JAVA=yes LIBXML2_CONFIGURE_WITH= libxml2 LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 +OPENSSL_CONFIGURE_WITH= openssl +OPENSSL_USE= OPENSSL=yes + +WITH_OPENSSL_PORT=yes + +GNUTLS_CONFIGURE_WITH= gnutls +GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls + +POLARSSL_CONFIGURE_WITH=mbedtls +POLARSSL_LIB_DEPENDS= libmbedtls.so:security/polarssl13 + .include <bsd.port.options.mk> +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 +WITH_OPENSSL_PORT=yes +.endif + post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' |