1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

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
This commit is contained in:
John Marino 2016-09-13 19:06:34 +00:00
parent d362d64fab
commit 9e2bf4b87e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422063

View File

@ -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: