Date: Mon, 28 Nov 2022 21:13:03 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: 80a2fce1d2b6 - main - net-mgmt/zabbix6-server: Update to 6.0.11 Message-ID: <202211282113.2ASLD3Uq008273@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=80a2fce1d2b6071173203e7ee1c8eb09edb46663 commit 80a2fce1d2b6071173203e7ee1c8eb09edb46663 Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2022-11-28 21:00:44 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2022-11-28 21:12:41 +0000 net-mgmt/zabbix6-server: Update to 6.0.11 - Update to 6.0.11 - Fix build of agent with pcre2 - Small makefile cleanups - Fix LogFile path in configs - Fix pkg-message dates PR: 268032 PR: 267925 PR: 267943 --- net-mgmt/zabbix6-proxy/Makefile | 2 - net-mgmt/zabbix6-server/Makefile | 74 ++++++++++++++++------------ net-mgmt/zabbix6-server/distinfo | 6 +-- net-mgmt/zabbix6-server/files/pkg-message.in | 23 +++++---- net-mgmt/zabbix6-server/pkg-plist.frontend | 1 - 5 files changed, 57 insertions(+), 49 deletions(-) diff --git a/net-mgmt/zabbix6-proxy/Makefile b/net-mgmt/zabbix6-proxy/Makefile index 36b6fc0e5f20..29098f9d9dad 100644 --- a/net-mgmt/zabbix6-proxy/Makefile +++ b/net-mgmt/zabbix6-proxy/Makefile @@ -4,6 +4,4 @@ PKGNAMESUFFIX= -proxy MASTERDIR= ${.CURDIR}/../${PORTNAME}-server -OPTIONS_SINGLE_DB= MYSQL MYSQLDV PGSQL SQLITE ORACLE - .include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix6-server/Makefile b/net-mgmt/zabbix6-server/Makefile index 4f81530ddac7..a235a25db1f1 100644 --- a/net-mgmt/zabbix6-server/Makefile +++ b/net-mgmt/zabbix6-server/Makefile @@ -1,6 +1,5 @@ PORTNAME= zabbix6 -DISTVERSION= 6.0.10 -PORTREVISION= 1 +DISTVERSION= 6.0.11 CATEGORIES= net-mgmt MASTER_SITES= https://cdn.zabbix.com/zabbix/sources/stable/${DISTVERSION:R}/ PKGNAMESUFFIX?= -server @@ -56,38 +55,55 @@ CONFIGURE_ARGS+= --datadir=${ETCDIR} \ --sysconfdir=${ETCDIR} \ --with-iconv=${ICONV_PREFIX} -.if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" +PORTSCOUT= limit:^6\.0\. + +.if ${ZABBIX_BUILD} != "java" +OPTIONS_DEFAULT+= PCRE2 +OPTIONS_SINGLE+= PCRE +OPTIONS_SINGLE_PCRE= PCRE1 PCRE2 +PCRE_DESC= PCRE library to use +PCRE1_DESC= Use PCRE v1 library +PCRE2_DESC= Use PCRE v2 library + +PCRE1_LIB_DEPENDS= libpcre.so:devel/pcre +PCRE1_CONFIGURE_WITH= libpcre +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 -PORTSCOUT= limit:^6\.0\. - SUB_FILES= pkg-message CONFIGURE_ARGS+= --with-net-snmp +OPTIONS_DEFAULT+= CURL FPING MYSQL OPENSSL UNIXODBC OPTIONS_DEFINE= CURL FPING IPMI IPV6 LDAP LIBXML2 NMAP SSH UNIXODBC -OPTIONS_DEFAULT= CURL FPING MYSQL OPENSSL PCRE2 UNIXODBC -OPTIONS_SUB= yes -OPTIONS_SINGLE= DB PCRE SSL +OPTIONS_SINGLE+= DB SSL OPTIONS_SINGLE_DB?= MDB5 MDB6 MYSQL MYSQLDV ORACLE PGSQL OPTIONS_SINGLE_SSL= GNUTLS OPENSSL -OPTIONS_SINGLE_PCRE= PCRE1 PCRE2 +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 -PCRE_DESC= PCRE library to use -PCRE1_DESC= Use PCRE v1 library -PCRE2_DESC= Use PCRE v2 library SSH_DESC= Support for SSH-based checks UNIXODBC_DESC= Support for database checks via ODBC LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) MYSQL_DESC= MySQL 8.0 database support MYSQLDV_DESC= MYSQL DEFAULT_VERSIONS= (poudriere) +FPING_RUN_DEPENDS= fping:net/fping + +IPMI_CONFIGURE_WITH= openipmi +IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi + +LDAP_CONFIGURE_WITH= ldap +LDAP_USE= OPENLDAP=yes + MYSQL_CONFIGURE_ON= --with-mysql MYSQL_USES+= compiler:c11 mysql:80 @@ -102,10 +118,7 @@ MDB6_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config MDB6_USES+= compiler:c11 mysql:106m MDB6_DESC= Mariadb 10.6 database support -PCRE1_LIB_DEPENDS= libpcre.so:devel/pcre -PCRE1_CONFIGURE_WITH= libpcre -PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 -PCRE2_CONFIGURE_WITH= libpcre2 +ORACLE_CONFIGURE_WITH= oracle PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES+= pgsql @@ -113,25 +126,16 @@ PGSQL_USES+= pgsql SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES+= sqlite:3 -ORACLE_CONFIGURE_WITH= oracle - -LDAP_CONFIGURE_WITH= ldap -LDAP_USE= OPENLDAP=yes - -IPMI_CONFIGURE_WITH= openipmi -IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi - -FPING_RUN_DEPENDS= fping:net/fping - SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:security/libssh2 UNIXODBC_CONFIGURE_WITH= unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC .elif ${ZABBIX_BUILD} == "agent" -OPTIONS_SINGLE= SSL +OPTOINS_DEFINE+= PCRE +OPTIONS_SINGLE+= SSL OPTIONS_SINGLE_SSL= GNUTLS OPENSSL -.endif # if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" +.endif # if ${ZABBIX_BUILD} != "agent" CURL_DESC= Support for web monitoring CURL_CONFIGURE_WITH= libcurl @@ -139,9 +143,6 @@ CURL_LIB_DEPENDS= libcurl.so:ftp/curl IPV6_CONFIGURE_ENABLE= ipv6 -NMAP_RUN_DEPENDS= nmap:security/nmap \ - sudo:security/sudo - LIBXML2_CONFIGURE_WITH= libxml2=${LOCALBASE} LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 @@ -149,6 +150,9 @@ MODBUS_DESC= Support for Modbus checks MODBUS_CONFIGURE_WITH= libmodbus MODBUS_LIB_DEPENDS= libmodbus.so:comms/libmodbus +NMAP_RUN_DEPENDS= nmap:security/nmap \ + sudo:security/sudo + OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \ @@ -157,6 +161,8 @@ OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \ GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls +.endif # if ${ZABBIX_BUILD} != "java" + .include <bsd.port.pre.mk> post-patch: @@ -172,18 +178,24 @@ post-patch: @${REINPLACE_CMD} -e 's#/tmp/zabbix_server.pid#/var/run/zabbix/zabbix_server.pid#g' \ ${WRKSRC}/conf/zabbix_server.conf \ ${WRKSRC}/src/zabbix_server/server.c + @${REINPLACE_CMD} -e 's#/tmp/zabbix_server.log#/var/log/zabbix/zabbix_server.log#g' \ + ${WRKSRC}/conf/zabbix_server.conf .endif .if ${ZABBIX_BUILD} == "proxy" @${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.pid#/var/run/zabbix/zabbix_proxy.pid#g' \ ${WRKSRC}/conf/zabbix_proxy.conf \ ${WRKSRC}/src/zabbix_proxy/proxy.c + @${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.log#/var/log/zabbix/zabbix_proxy.log#g' \ + ${WRKSRC}/conf/zabbix_proxy.conf .endif .if ${ZABBIX_BUILD} == "agent" @${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.pid#/var/run/zabbix/zabbix_agentd.pid#g' \ ${WRKSRC}/conf/zabbix_agentd.conf \ ${WRKSRC}/src/zabbix_agent/zabbix_agentd.c + @${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.log#/var/log/zabbix/zabbix_agentd.log#g' \ + ${WRKSRC}/conf/zabbix_agentd.conf .endif .if ${ZABBIX_BUILD} == "java" diff --git a/net-mgmt/zabbix6-server/distinfo b/net-mgmt/zabbix6-server/distinfo index d5e2ca8b03ed..82b147319eed 100644 --- a/net-mgmt/zabbix6-server/distinfo +++ b/net-mgmt/zabbix6-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1667767061 -SHA256 (zabbix-6.0.10.tar.gz) = bd694a8e6bd827c4305f86c7567c46ed311e081a836e4d07ab369f3a56c50e1c -SIZE (zabbix-6.0.10.tar.gz) = 39516402 +TIMESTAMP = 1669667149 +SHA256 (zabbix-6.0.11.tar.gz) = 26528b9649c3b7aceea51ef63813267f1953ba7a89067464ea591b1b404646dd +SIZE (zabbix-6.0.11.tar.gz) = 40388383 diff --git a/net-mgmt/zabbix6-server/files/pkg-message.in b/net-mgmt/zabbix6-server/files/pkg-message.in index 5b90c2c8d4fa..1601286480e1 100644 --- a/net-mgmt/zabbix6-server/files/pkg-message.in +++ b/net-mgmt/zabbix6-server/files/pkg-message.in @@ -28,18 +28,17 @@ zabbix to log in as a Zabbix superuser. For use NMAP please edit sudoers. -This is a Zabbix Standard release! - -Standard Zabbix releases are supported for Zabbix customers during six (6) -months of Full Support (general, critical and security issues) until the next -Zabbix stable release, plus one (1) additional month of Limited Support -(critical and security issues only). Zabbix Standard version release will result -in change of the second version number. - -Stable release: Zabbix 6.0 -Release date: May 17, 2021 -End of Full Support: Nov 30, 2021 -End of Limited Support: Dec 31, 2021 +This is a Zabbix LTS release! + +Zabbix LTS releases are supported for Zabbix customers during five (5) years +i.e. 3 years of Full Support (general, critical and security issues) and 2 +additional years of Limited Support (critical and security issues only). +Zabbix LTS version release will result in change of the first version number. + +Release name: Zabbix 6.0 LTS +Release date: 2022-02-08 +End of Full Support: 2025-02-28 +End of Limited Support: 2027-02-28 Zabbix Life Cycle & Release Policy: https://www.zabbix.com/life_cycle_and_release_policy diff --git a/net-mgmt/zabbix6-server/pkg-plist.frontend b/net-mgmt/zabbix6-server/pkg-plist.frontend index f9c61f3fbdbe..e2582dca7f40 100644 --- a/net-mgmt/zabbix6-server/pkg-plist.frontend +++ b/net-mgmt/zabbix6-server/pkg-plist.frontend @@ -815,7 +815,6 @@ %%WWWDIR%%/include/classes/html/CSelectOption.php %%WWWDIR%%/include/classes/html/CSelectOptionGroup.php %%WWWDIR%%/include/classes/html/CSeverity.php -%%WWWDIR%%/include/classes/html/CSeverityCheckBoxList.php %%WWWDIR%%/include/classes/html/CSimpleButton.php %%WWWDIR%%/include/classes/html/CSortable.php %%WWWDIR%%/include/classes/html/CSpan.php
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211282113.2ASLD3Uq008273>