From 2d3d5e3ec2ae2fea54e429e0988789ddf771442f Mon Sep 17 00:00:00 2001 From: marino Date: Tue, 13 Sep 2016 19:06:34 +0000 Subject: net-mgmt/zabbix3-server: Simplify FreeBSD 9 SSL check, ignore LibreSSL Zabbix3-server can't be built by LibreSSL because it uses PSK. It also can't be built by FreeBSD 9 base OpenSSL. The latter was documented, but the solution in the notification was incorrect, so improve all that. Approved by: SSL blanket --- net-mgmt/zabbix3-server/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'net-mgmt') diff --git a/net-mgmt/zabbix3-server/Makefile b/net-mgmt/zabbix3-server/Makefile index 1b1a2425de5a..3199302b6ac4 100644 --- a/net-mgmt/zabbix3-server/Makefile +++ b/net-mgmt/zabbix3-server/Makefile @@ -152,8 +152,12 @@ POLARSSL_LIB_DEPENDS= libmbedtls.so:security/polarssl13 .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 && ${SSL_DEFAULT} == base -IGNORE= OpenSSL from the base system is too old, add DEFAULT_VERSIONS+=ssl=openssl to your /etc/make.conf and rebuild everything that needs SSL. +.if ${SSL_DEFAULT} == base +IGNORE_FreeBSD_9= Requires newer OpenSSL (set SSL_DEFAULT=openssl) +.endif + +.if ${SSL_DEFAULT:Mlibressl*} +IGNORE= Requires PSK which is unsupported by the selected LibreSSL .endif post-patch: -- cgit