commit 32b9170c44c9fde5751986c8fc50d42cb8e80e0d Author: Christian Ullrich Date: Fri Nov 27 09:58:22 2020 +0100 Add Modbus support. diff --git a/net-mgmt/zabbix52-agent/Makefile b/net-mgmt/zabbix52-agent/Makefile index f970aa3e783a..a42c35184c9b 100644 --- a/net-mgmt/zabbix52-agent/Makefile +++ b/net-mgmt/zabbix52-agent/Makefile @@ -8,7 +8,7 @@ PKGNAMESUFFIX= -agent MASTERDIR= ${.CURDIR}/../zabbix52-server PLIST= ${PKGDIR}/pkg-plist.agent -OPTIONS_DEFINE= CURL IPV6 +OPTIONS_DEFINE= CURL IPV6 MODBUS OPTIONS_DEFAULT= CURL OPENSSL .include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix52-server/Makefile b/net-mgmt/zabbix52-server/Makefile index 13d12824f266..7da8bc937cb2 100644 --- a/net-mgmt/zabbix52-server/Makefile +++ b/net-mgmt/zabbix52-server/Makefile @@ -128,6 +128,10 @@ NMAP_RUN_DEPENDS= nmap:security/nmap \ LIBXML2_CONFIGURE_WITH= libxml2=${LOCALBASE} LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 +MODBUS_DESC= Support for Modbus checks +MODBUS_CONFIGURE_WITH= libmodbus +MODBUS_LIB_DEPENDS= libmodbus.so:comms/libmodbus + OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \