diff options
author | John Marino <marino@FreeBSD.org> | 2016-09-13 19:06:34 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-09-13 19:06:34 +0000 |
commit | 9e2bf4b87e7d3c98cffb543640f4877e61d84f75 (patch) | |
tree | a272908723a4d74a3fac5e6ba11050ea1431f25c /net-mgmt/zabbix3-server | |
parent | d362d64fab24999840ae2ca52adc17bebeb03058 (diff) | |
download | ports-9e2bf4b87e7d3c98cffb543640f4877e61d84f75.tar.gz ports-9e2bf4b87e7d3c98cffb543640f4877e61d84f75.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
Notes
Notes:
svn path=/head/; revision=422063
Diffstat (limited to 'net-mgmt/zabbix3-server')
-rw-r--r-- | net-mgmt/zabbix3-server/Makefile | 8 |
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: |