net-mgmt/zabbix5-server: Update to 5.0.32

- Update to 5.0.32
- Enable SSH by default
- Make SNMP optional (retain default ON)
- Move PORTSCOUT to more apropriate place

Release notes: https://www.zabbix.com/rn/rn5.0.32
This commit is contained in:
Juraj Lutter 2023-03-07 19:38:21 +01:00
parent 46488274d9
commit 52e78f89c4
3 changed files with 14 additions and 14 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= zabbix5
DISTVERSION= 5.0.31
DISTVERSION= 5.0.32
PORTREVISION?= 0
CATEGORIES= net-mgmt
MASTER_SITES= https://cdn.zabbix.com/zabbix/sources/stable/${DISTVERSION:R}/
@ -17,6 +17,8 @@ LIB_DEPENDS= libpcre.so:devel/pcre
CONFLICTS_INSTALL= zabbix[0-9][0-9]${PKGNAMESUFFIX} zabbix[0-46-9]${PKGNAMESUFFIX}
PORTSCOUT= limit:^5\.0\.
ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//}
.if ${ZABBIX_BUILD} != "agent"
@ -36,12 +38,10 @@ GROUPS= zabbix
PLIST_SUB= PROXY="@comment "
.else
PLIST_SUB= PROXY=""
PLIST_FILES+= bin/zabbix_proxy_js
.endif
.if ${ZABBIX_BUILD} == "server"
PLIST_SUB+= SERVER=""
PLIST_FILES+= bin/zabbix_js
.else
PLIST_SUB+= SERVER="@comment "
.endif
@ -57,25 +57,20 @@ CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \
--with-iconv=${ICONV_PREFIX}
.if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java"
LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp
CPPFLAGS+= -I${LOCALBASE}/include
PORTSCOUT= limit:^5\.0\.
SUB_FILES= pkg-message
CONFIGURE_ARGS+= --with-net-snmp
OPTIONS_DEFINE= IPV6 FPING CURL LDAP IPMI SNMP SSH NMAP LIBXML2 UNIXODBC
OPTIONS_DEFINE= IPV6 FPING CURL LDAP IPMI SSH NMAP LIBXML2 UNIXODBC
OPTIONS_DEFAULT= IPV6 FPING CURL LIBXML2 MYSQL OPENSSL UNIXODBC
OPTIONS_DEFAULT= IPV6 FPING CURL SNMP SSH LIBXML2 MYSQL OPENSSL UNIXODBC
OPTIONS_SUB= yes
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)
@ -90,6 +85,9 @@ MYSQL_USES+= compiler:c11 mysql
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

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1675349395
SHA256 (zabbix-5.0.31.tar.gz) = 6050e9827bbf41a22d4eb49eab72f2884efa8fe3f8d4d54e230cb1337c874c34
SIZE (zabbix-5.0.31.tar.gz) = 21567566
TIMESTAMP = 1678211177
SHA256 (zabbix-5.0.32.tar.gz) = 5022da65604d214ea912440c7355779a06391d0620e98d50d50a3ca5cfb2ffd3
SIZE (zabbix-5.0.32.tar.gz) = 21664895

View file

@ -14,7 +14,9 @@
%%DATADIR%%/%%ZABBIX_BUILD%%/database/sqlite3/data.sql
%%DATADIR%%/%%ZABBIX_BUILD%%/database/sqlite3/images.sql
%%DATADIR%%/%%ZABBIX_BUILD%%/database/sqlite3/schema.sql
%%PROXY%%bin/zabbix_proxy_js
%%PROXY%%@dir %%ETCDIR%%/zabbix_proxy.conf.d
%%SERVER%%bin/zabbix_js
%%SERVER%%@dir %%ETCDIR%%/zabbix_server.conf.d
%%SERVER%%@dir %%ETCDIR%%/zabbix/alertscripts
man/man8/zabbix_%%ZABBIX_BUILD%%.8.gz