aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2017-04-18 00:09:07 +0800
committerpi <pi@FreeBSD.org>2017-04-18 00:09:07 +0800
commitadf02f2521fc9d99eab0d259a91f0d1e0c534d5e (patch)
treed70d303052f34ac5a3fe9e132abfe2e536e17a8a /net-mgmt
parent747f20275a485ae7c79003f2f51f01bc6c0e4ab2 (diff)
downloadfreebsd-ports-gnome-adf02f2521fc9d99eab0d259a91f0d1e0c534d5e.tar.gz
freebsd-ports-gnome-adf02f2521fc9d99eab0d259a91f0d1e0c534d5e.tar.zst
freebsd-ports-gnome-adf02f2521fc9d99eab0d259a91f0d1e0c534d5e.zip
net-mgmt/zabbix3[2]-server: BROKEN with libressl, does not provide PSK
PR: 218238 Submitted by: Franco Fichtner <franco@opnsense.org> Approved by: pg@pakhom.spb.ru (maintainer timeout)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/zabbix3-server/Makefile6
-rw-r--r--net-mgmt/zabbix32-server/Makefile6
2 files changed, 4 insertions, 8 deletions
diff --git a/net-mgmt/zabbix3-server/Makefile b/net-mgmt/zabbix3-server/Makefile
index 8649a7f45e6f..dedd0610e904 100644
--- a/net-mgmt/zabbix3-server/Makefile
+++ b/net-mgmt/zabbix3-server/Makefile
@@ -137,6 +137,8 @@ LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2
OPENSSL_CONFIGURE_WITH= openssl
OPENSSL_USES= ssl
+OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \
+ BROKEN_SSL_REASON="PSK is not provided by LibreSSL"
GNUTLS_CONFIGURE_WITH= gnutls
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
@@ -146,10 +148,6 @@ POLARSSL_LIB_DEPENDS= libmbedtls.so:security/polarssl13
.include <bsd.port.pre.mk>
-.if ${SSL_DEFAULT:Mlibressl*}
-IGNORE= requires PSK which is unsupported by the selected LibreSSL
-.endif
-
post-patch:
@${GREP} -rl "/etc/zabbix" ${WRKSRC} \
| ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g'
diff --git a/net-mgmt/zabbix32-server/Makefile b/net-mgmt/zabbix32-server/Makefile
index b73802f7a45d..07f0f465eaa7 100644
--- a/net-mgmt/zabbix32-server/Makefile
+++ b/net-mgmt/zabbix32-server/Makefile
@@ -137,6 +137,8 @@ LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2
OPENSSL_CONFIGURE_WITH= openssl
OPENSSL_USES= ssl
+OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \
+ BROKEN_SSL_REASON="PSK is not provided by LibreSSL"
GNUTLS_CONFIGURE_WITH= gnutls
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
@@ -146,10 +148,6 @@ POLARSSL_LIB_DEPENDS= libmbedtls.so:security/polarssl13
.include <bsd.port.pre.mk>
-.if ${SSL_DEFAULT:Mlibressl*}
-IGNORE= requires PSK which is unsupported by the selected LibreSSL
-.endif
-
post-patch:
@${GREP} -rl "/etc/zabbix" ${WRKSRC} \
| ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g'