svn commit: r556995 - in head/net-mgmt: zabbix52-agent zabbix52-server

Mikael Urankar mikael at FreeBSD.org
Fri Dec 4 17:57:33 UTC 2020


Author: mikael
Date: Fri Dec  4 17:57:32 2020
New Revision: 556995
URL: https://svnweb.freebsd.org/changeset/ports/556995

Log:
  net-mgmt/zabbix52-agent: Add support for Modbus items
  
  PR:		251423
  Submitted by:	Christian Ullrich
  Approved by:	pg at pakhom.spb.ru (maintainer)

Modified:
  head/net-mgmt/zabbix52-agent/Makefile
  head/net-mgmt/zabbix52-server/Makefile

Modified: head/net-mgmt/zabbix52-agent/Makefile
==============================================================================
--- head/net-mgmt/zabbix52-agent/Makefile	Fri Dec  4 17:26:40 2020	(r556994)
+++ head/net-mgmt/zabbix52-agent/Makefile	Fri Dec  4 17:57:32 2020	(r556995)
@@ -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"

Modified: head/net-mgmt/zabbix52-server/Makefile
==============================================================================
--- head/net-mgmt/zabbix52-server/Makefile	Fri Dec  4 17:26:40 2020	(r556994)
+++ head/net-mgmt/zabbix52-server/Makefile	Fri Dec  4 17:57:32 2020	(r556995)
@@ -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" \


More information about the svn-ports-all mailing list