Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2023 12:15:31 GMT
From:      Juraj Lutter <otis@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7c39d5d75ec0 - main - net-mgmt/zabbix6-server: Enable SSH by default
Message-ID:  <202303081215.328CFVQp035033@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7c39d5d75ec07afb0e428dd8da79437f0f3facbe

commit 7c39d5d75ec07afb0e428dd8da79437f0f3facbe
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2023-03-08 11:14:58 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2023-03-08 12:14:34 +0000

    net-mgmt/zabbix6-server: Enable SSH by default
    
    Enable SSH-based checks by default as it's usable for many scenarion.
    Also make SNMP checks optional, retaining default ON and clean up
    the required PHP extension a bit as per Zabbix manual.
    
    PR:             269992
    PR:             270012
    PR:             270013
---
 net-mgmt/zabbix6-agent/Makefile    |  1 +
 net-mgmt/zabbix6-frontend/Makefile |  4 ++--
 net-mgmt/zabbix6-proxy/Makefile    |  1 +
 net-mgmt/zabbix6-server/Makefile   | 13 +++++++------
 4 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/net-mgmt/zabbix6-agent/Makefile b/net-mgmt/zabbix6-agent/Makefile
index 29e381e6d1c5..23ee30095502 100644
--- a/net-mgmt/zabbix6-agent/Makefile
+++ b/net-mgmt/zabbix6-agent/Makefile
@@ -1,4 +1,5 @@
 PORTNAME=	zabbix6
+PORTREVISION=	0
 CATEGORIES=	net-mgmt
 PKGNAMESUFFIX=	-agent
 
diff --git a/net-mgmt/zabbix6-frontend/Makefile b/net-mgmt/zabbix6-frontend/Makefile
index 97906a51a635..f3d9d92d7fc2 100644
--- a/net-mgmt/zabbix6-frontend/Makefile
+++ b/net-mgmt/zabbix6-frontend/Makefile
@@ -1,10 +1,10 @@
 PORTNAME=	zabbix6
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 PKGNAMESUFFIX=	-frontend${PHP_PKGNAMESUFFIX}
 
 USES+=		php:web,flavors
-USE_PHP=	bcmath ctype dom fileinfo filter gd gettext hash json ldap \
-		mbstring openssl pcre session simplexml snmp sockets xml \
+USE_PHP=	bcmath ctype gd gettext mbstring session sockets xml \
 		xmlreader xmlwriter
 IGNORE_WITH_PHP=	82
 
diff --git a/net-mgmt/zabbix6-proxy/Makefile b/net-mgmt/zabbix6-proxy/Makefile
index 29098f9d9dad..3a3846276d86 100644
--- a/net-mgmt/zabbix6-proxy/Makefile
+++ b/net-mgmt/zabbix6-proxy/Makefile
@@ -1,4 +1,5 @@
 PORTNAME=	zabbix6
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 PKGNAMESUFFIX=	-proxy
 
diff --git a/net-mgmt/zabbix6-server/Makefile b/net-mgmt/zabbix6-server/Makefile
index 9d29a3804ee0..98211c0aec61 100644
--- a/net-mgmt/zabbix6-server/Makefile
+++ b/net-mgmt/zabbix6-server/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	zabbix6
 DISTVERSION=	6.0.13
+PORTREVISION?=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	https://cdn.zabbix.com/zabbix/sources/stable/${DISTVERSION:R}/
 PKGNAMESUFFIX?=	-server
@@ -71,16 +72,12 @@ PCRE2_LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
 PCRE2_CONFIGURE_WITH=	libpcre2
 
 .if ${ZABBIX_BUILD} != "agent"
-LIB_DEPENDS+=	libnetsnmp.so:net-mgmt/net-snmp
-
 CPPFLAGS+=	-I${LOCALBASE}/include
 
 SUB_FILES=	pkg-message
 
-CONFIGURE_ARGS+=	--with-net-snmp
-
-OPTIONS_DEFAULT+=	CURL FPING IPMI IPV6 LIBXML2 MYSQL OPENSSL UNIXODBC
-OPTIONS_DEFINE=		CURL FPING IPMI IPV6 LDAP LIBXML2 NMAP SSH UNIXODBC
+OPTIONS_DEFAULT+=	CURL FPING IPMI IPV6 LIBXML2 MYSQL OPENSSL SNMP SSH UNIXODBC
+OPTIONS_DEFINE=		CURL FPING IPMI IPV6 LDAP LIBXML2 NMAP SNMP SSH UNIXODBC
 OPTIONS_SINGLE+=	DB SSL
 OPTIONS_SINGLE_DB=	MDB5 MDB6 MYSQL MYSQLDV ORACLE PGSQL
 .if ${ZABBIX_BUILD} == "proxy"
@@ -93,6 +90,7 @@ FPING_DESC=	Build/install fping for ping checks
 IPMI_DESC=	Support for IPMI checks
 LDAP_DESC=	Support for LDAP server checks
 NMAP_DESC=	Build/install nmap for o/s detection
+SNMP_DESC=	Support for SNMP checks
 SSH_DESC=	Support for SSH-based checks
 UNIXODBC_DESC=	Support for database checks via ODBC
 LIBXML2_DESC=	Support for libxml2 (required by monitoring VMware)
@@ -126,6 +124,9 @@ ORACLE_CONFIGURE_WITH=	oracle
 PGSQL_CONFIGURE_WITH=	postgresql
 PGSQL_USES+=		pgsql
 
+SNMP_LIB_DEPENDS=	libnetsnmp.so:net-mgmt/net-snmp
+SNMP_CONFIGURE_WITH=	net-snmp
+
 SQLITE_CONFIGURE_WITH=	sqlite3
 SQLITE_USES+=		sqlite:3
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303081215.328CFVQp035033>