aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-09-14 03:06:34 +0800
committermarino <marino@FreeBSD.org>2016-09-14 03:06:34 +0800
commit2d3d5e3ec2ae2fea54e429e0988789ddf771442f (patch)
treea272908723a4d74a3fac5e6ba11050ea1431f25c /net-mgmt
parent4a1eab431d4179dce642fd9176eded2168828484 (diff)
downloadfreebsd-ports-gnome-2d3d5e3ec2ae2fea54e429e0988789ddf771442f.tar.gz
freebsd-ports-gnome-2d3d5e3ec2ae2fea54e429e0988789ddf771442f.tar.zst
freebsd-ports-gnome-2d3d5e3ec2ae2fea54e429e0988789ddf771442f.zip
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
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/zabbix3-server/Makefile8
1 files changed, 6 insertions, 2 deletions
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 <bsd.port.pre.mk>
-.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: