Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package zabbix for openSUSE:Factory checked in at 2024-03-25 21:07:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zabbix (Old) and /work/SRC/openSUSE:Factory/.zabbix.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zabbix" Mon Mar 25 21:07:28 2024 rev:25 rq:1160721 version:6.0.27 Changes: -------- --- /work/SRC/openSUSE:Factory/zabbix/zabbix.changes 2023-12-25 19:06:15.215569593 +0100 +++ /work/SRC/openSUSE:Factory/.zabbix.new.1905/zabbix.changes 2024-03-25 21:09:08.875275266 +0100 @@ -1,0 +2,92 @@ +Fri Mar 22 16:11:33 UTC 2024 - Boris Manojlovic <[email protected]> + +- remove all firewalld definitions as they are part of firewald package already + +------------------------------------------------------------------- +Fri Mar 22 07:49:43 UTC 2024 - Boris Manojlovic <[email protected]> + +- update to latest release 6.0.27 +- replaced zabbix-agentd.firewall zabbix-java-gateway.firewall zabbix-proxy.firewall zabbix-server.firewall + with firewalld xml definitions zabbix-agentd.xml zabbix-java-gateway.xml zabbix-proxy.xml zabbix-server.xml +- New Features and Improvements + + ZBXNEXT-8983 Updated max supported MariaDB version to 11.2 + + ZBXNEXT-8984 Updated max supported MySQL version to 8.3 + + ZBXNEXT-8762 Added YugabyteDB by HTTP and YugabyteDB Cluster by HTTP templates + + ZBXNEXT-8891 Updated max supported MySQL version to 8.2 + + ZBXNEXT-8524 Added support for HTTP proxy in GCP templates + + ZBXNEXT-8759 Added dashboards in Azure templates + + ZBXNEXT-8580 Added new discovery rules, refactored discovery rules to dependent items + and made few minor changes in MSSQL by ODBC template + + ZBXNEXT-8730 Added Azure Cost Management by HTTP template + + -Bug Fixes + + ZBX-23124 Fixed items with disabled history being sometimes stuck in non-supported state + + ZBX-23586 Fixed filter evaluation type of organizations discovery in Cisco Meraki dashboard by HTTP template + + ZBX-23766 Updated Zabbix agent 2 Ceph plugin readme setup instructions + + ZBX-24094 Fixed network interfaces LLD filtering macro in Linux by Prom template + + ZBX-23202 Fixed unused tag value being saved in tag filter + + ZBX-22555 Updated regexp to case insensitive in Nginx templates + + ZBX-23973 Fixed trends being retrieved from database for new items and for items with infrequent update interval + + ZBX-22745 Removed incorrect description of network interfaces administrative status filter macro in SNMP templates + + ZBX-24015 Improved zabbix[queue] internal item not to block history syncers and pollers + + ZBX-23509 Fixed JSONPath of Keyspace discovery master item in Redis by Zabbix agent 2 template + + ZBX-24059 Fixed libmodbus unnecessary linking into all binaries + + ZBX-24055 Added missing API port macros in URL of script items in HPE Synergy by HTTP and HPE Primera by HTTP templates + + ZBX-20525 Fixed vfs.dir.size performance issues when walking through directory that has a lot of subdirs/files + + ZBX-23773 Improved trigger functionality for Acronis Cyber Protect Cloud MSP by HTTP template + + ZBX-23979 Improved trend recalculation performance by performing trend updates in own transaction + + ZBX-23688 Improved new item value retrieval performance by adding such items to value cache after configuration sync + + ZBX-22130 Changed JSONPath expression evaluator to treat null values as empty variants + + ZBX-23986 Added a license to the Go module + + ZBX-23587 Fixed widget input field selecting when clicking on label + + ZBX-23640 Fixed preload hints opening + + ZBX-22433 Fixed web scenario and web scenario step configuration field trimming and field sorting + + ZBX-23684 Fixed transactions query file for PostgreSQL by Zabbix agent template + + ZBX-22371 Fixed process tags option not adding tags for service events + + ZBX-17208 Fixed invalid command-line flag handling in Zabbix agent 2 + + ZBX-23937 Fixed JavaScript for AWS EC2 instances discovery + + ZBX-22715 Fixed map shape dimension changes on resizing in scaled browser mode + + ZBX-23722 Added garbage collection after executing JavaScript code + + ZBX-23740 Fixed netsnmp persistent state disabling without affecting its configuration + + ZBX-23257 Fixed log items not using MaxLinesPerSecond setting correctly for Zabbix agent 2 + + ZBX-23890 Removed non-existing headers from compiler checks: mtent.h and knlist.h + + ZBX-23912 Removed Jira with CustomFields media type in data.tmpl + + ZBX-23761 Fixed JavaScript in Jira media type + + ZBX-22558 Fixed trigger expression for retrieval of stub page in Nginx templates + + ZBX-23691 Fixed LLD filters evaluation type for devices discovery in Cisco SD-WAN by HTTP template + + ZBX-23540 Added error checks for RegisterMetrics calls + + ZBX-23605 Removed getting location buckets in AWS by HTTP template + added discovery filters for request metrics in AWS S3 bucket by HTTP template + + ZBX-23466 Fixed data aggregation errors in Graphs and Top hosts widgets with Elasticsearch backend + + ZBX-23835 Updated Meraki templates + + ZBX-23723 Fixed proxy params in JavaScript AWS templates + + ZBX-23733 Fixed error when downloading graph as .png image if item name contains multibyte characters + + ZBX-22983 Fixed ellipsed dropdown options in items mass update in preprocessing + + ZBX-23715 Fixed persistent directory path not following symlinks upon creation + + ZBX-23825 Fixed query_fields values for Acronis and Nomand templates + + ZBX-22055 Fixed map image of map widget not being updated when pressing Apply button + + ZBX-23629 Fixed interface icon cursor to pointer + + ZBX-22536 Fixed TimescaleDB compression detection for history.clear API method and proper error appearance in frontend + + ZBX-23145 Disabled deprecated automatic reconnection in MySQL + + ZBX-22933 Improved vfs.file.regmatch and vfs.file.regexp items to use buffered file read + + ZBX-23439 Fixed sorting of numeric items with/without aggregation enabled in Top hosts widget + + ZBX-21973 Changed deprecated X-Frame option allow-from to Content-Security-Policy frame-ancestors + + ZBX-23633 Fixed service alarms to be recovered with problem time in case of negative problem duration + + ZBX-23738 Fixed Zabbix backend sources for libxml2 2.12.0 version changes + + ZBX-23746 Fixed creation of tickets during escalation for Zammad media type + + ZBX-23561 Fixed spacing between filter and results table + + ZBX-18873 Fixed disabled chevrons color in problem view + + ZBX-23636 Fixed some fields in Administration section not being trimmed on form submit + +------------------------------------------------------------------- +Tue Feb 20 12:05:38 UTC 2024 - Dominique Leuenberger <[email protected]> + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + +------------------------------------------------------------------- +Sun Feb 4 09:27:45 UTC 2024 - Dirk Müller <[email protected]> + +- add group provides needed by RPM 4.19 + +------------------------------------------------------------------- Old: ---- zabbix-6.0.25.tar.gz zabbix-agentd.firewall zabbix-java-gateway.firewall zabbix-proxy.firewall zabbix-server.firewall New: ---- system-user-zabbix.conf zabbix-6.0.27.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zabbix.spec ++++++ --- /var/tmp/diff_new_pack.NmPsFm/_old 2024-03-25 21:09:10.651340477 +0100 +++ /var/tmp/diff_new_pack.NmPsFm/_new 2024-03-25 21:09:10.655340624 +0100 @@ -1,7 +1,7 @@ # # spec file for package zabbix # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,16 @@ %define server_user zabbixs %define server_group zabbixs -# keep zabbix user for backwards compatibility of agent %define agent_user zabbix %define agent_group zabbix -%define SUSEfirewall_services_dir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services + Name: zabbix -Version: 6.0.25 +Version: 6.0.27 Release: 0 Summary: Distributed monitoring system License: GPL-2.0-or-later Group: System/Monitoring -URL: http://www.zabbix.com +URL: https://www.zabbix.com Source0: https://cdn.zabbix.com/zabbix/sources/stable/6.0/zabbix-%{version}.tar.gz Source1: rn6.0.0.html Source2: zabbix-tmpfiles.conf @@ -36,15 +35,12 @@ Source4: zabbix-logrotate.in Source5: apache2-zabbix.conf Source6: README.SUSE -Source7: zabbix-server.firewall -Source8: zabbix-agentd.firewall -Source9: zabbix-proxy.firewall -Source10: zabbix-java-gateway.firewall Source11: zabbix-proxy.service Source12: zabbix-agentd.service Source13: zabbix-server.service Source14: zabbix-java-gateway.service Source15: README-SSL.SUSE +Source16: system-user-zabbix.conf # PATCH-FIX-OPENSUSE zabbix-6.0.12-netsnmp-fixes.patch fix for removed md5 auth protocol Patch3: zabbix-6.0.12-netsnmp-fixes.patch BuildRequires: apache-rpm-macros @@ -52,6 +48,7 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: fdupes +BuildRequires: firewall-macros BuildRequires: gcc BuildRequires: java-devel >= 1.6 BuildRequires: libmysqlclient-devel @@ -60,10 +57,8 @@ BuildRequires: net-snmp-devel BuildRequires: openldap2-devel BuildRequires: pkgconfig -%if 0%{?suse_version} >= 1600 || 0%{?sle_version} > 150100 -BuildRequires: postgresql-server-devel -%endif BuildRequires: systemd-rpm-macros +BuildRequires: sysuser-tools BuildRequires: unixODBC-devel BuildRequires: update-alternatives BuildRequires: pkgconfig(OpenIPMI) @@ -76,7 +71,12 @@ BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(zlib) +%sysusers_requires + %{?systemd_requires} +%if 0%{?suse_version} >= 1600 || 0%{?sle_version} > 150100 +BuildRequires: postgresql-server-devel +%endif %description Zabbix is a distributed monitoring system. @@ -102,6 +102,9 @@ Requires: logrotate Requires(pre): %fillup_prereq Requires(pre): shadow +Requires: update-alternatives +Requires: group(%{agent_group}) +Requires: user(%{agent_user}) Conflicts: zabbix-agent %description agent @@ -116,6 +119,8 @@ Requires: zabbix_server_binary = %{version}-%{release} Requires(pre): %fillup_prereq Requires(pre): shadow +Requires: group(%{server_group}) +Requires: user(%{server_user}) Conflicts: zabbix-server %description server @@ -130,6 +135,8 @@ Requires: zabbix_proxy_binary = %{version}-%{release} Requires(pre): %fillup_prereq Requires(pre): shadow +Requires: group(%{server_group}) +Requires: user(%{server_user}) Conflicts: zabbix-proxy %description proxy @@ -152,7 +159,9 @@ Suggests: php8-mysqli Suggests: php8-pgsql Conflicts: zabbix-phpfrontend +Provides: zabbix-phpfrontend Obsoletes: zabbix-phpfrontend < 6.0.0 +BuildArch: noarch %description ui The Zabbix PHP frontend allows access via standard web browsers. @@ -165,7 +174,7 @@ Requires: %{name}-server = %{version}-%{release} Requires: mariadb Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Conflicts: zabbix-server-mysql Provides: %{name} = %{version}-%{release} Provides: zabbix_server_binary = %{version}-%{release} @@ -179,7 +188,7 @@ Requires: %{name}-server = %{version}-%{release} Requires: postgresql Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Conflicts: zabbix-server-postgresql Provides: %{name} = %{version}-%{release} Provides: zabbix_server_binary = %{version}-%{release} @@ -193,7 +202,7 @@ Requires: %{name}-proxy = %{version}-%{release} Requires: mariadb Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Conflicts: zabbix-proxy-mysql Provides: %{name} = %{version}-%{release} Provides: zabbix_proxy_binary = %{version}-%{release} @@ -207,7 +216,7 @@ Requires: %{name}-proxy = %{version}-%{release} Requires: postgresql Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Conflicts: zabbix-proxy-postgresql Provides: %{name} = %{version}-%{release} Provides: zabbix_proxy_binary = %{version}-%{release} @@ -220,7 +229,7 @@ Group: System/Monitoring Requires: %{name}-proxy = %{version}-%{release} Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Conflicts: zabbix-proxy-sqlite Provides: %{name} = %{version}-%{release} Provides: zabbix_proxy_binary = %{version}-%{release} @@ -235,6 +244,9 @@ Requires(pre): shadow Conflicts: zabbix-java-gateway Provides: %{name} = %{version}-%{release} +Requires: group(%{server_group}) +Requires: user(%{server_user}) +BuildArch: noarch %description java-gateway JMX monitoring can be used to monitor JMX counters of a Java @@ -243,9 +255,21 @@ turn uses the JMX management API to query the application of interest remotely. +%package -n system-user-zabbix +Summary: Users and groups +Group: System +Requires(pre): pwdutils +Provides: group(%{agent_group}) +Provides: group(%{server_group}) +Provides: user(%{agent_user}) +Provides: user(%{server_user})%define server_user zabbixs +BuildArch: noarch + +%description -n system-user-zabbix +Zabbix users and groups required by zabbix packages + %prep -%setup -q -n zabbix-%{version} -%patch3 +%autosetup -p0 -n zabbix-%{version} cp %{SOURCE6} . # fix source & config files to respect adapted names @@ -295,6 +319,7 @@ cd - %build +%sysusers_generate_pre %{SOURCE1} zabbix system-user-zabbix.conf ZABBIX_BASIC_CONFIG="--enable-proxy --enable-server --enable-agent --sysconfdir=%{_sysconfdir}/zabbix \ --with-openipmi --enable-java --enable-ipv6 --with-ssh2 --with-ldap --with-unixodbc \ --with-libcurl --with-net-snmp --with-libxml2 --with-openssl --with-libpcre --with-libevent" @@ -302,23 +327,24 @@ # configure MySQL repo (here) autoreconf -fvi %configure $ZABBIX_BASIC_CONFIG --with-mysql --without-postgresql --without-sqlite3 -make %{?_smp_mflags} +%make_build # configure PostgreSQL repo cd ../zabbix-%{version}-postgresql autoreconf -fvi %configure $ZABBIX_BASIC_CONFIG --with-postgresql --without-mysql --without-sqlite3 -make %{?_smp_mflags} +%make_build cd - # configure SQLite repo cd ../zabbix-%{version}-sqlite autoreconf -fvi %configure $ZABBIX_BASIC_CONFIG --disable-server --enable-proxy --with-sqlite3 --without-postgresql --without-mysql -make %{?_smp_mflags} +%make_build cd - %install +install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-zabbix.conf # install the binaries %make_install -C ../zabbix-%{version}-sqlite @@ -366,14 +392,6 @@ %fdupes %{buildroot} -# install firewall description files for SLE 12 / Leap 42 -%if 0%{?suse_version} < 1500 -install -Dm 0644 %{SOURCE7} %{buildroot}%{SUSEfirewall_services_dir}/zabbix_server -install -Dm 0644 %{SOURCE8} %{buildroot}%{SUSEfirewall_services_dir}/zabbix_agentd -install -Dm 0644 %{SOURCE9} %{buildroot}%{SUSEfirewall_services_dir}/zabbix_proxy -install -Dm 0644 %{SOURCE10} %{buildroot}%{SUSEfirewall_services_dir}/zabbix-java-gateway -%endif - # install systemd unit files install -Dm 0644 %{SOURCE11} %{buildroot}%{_unitdir}/zabbix_proxy.service install -Dm 0644 %{SOURCE12} %{buildroot}%{_unitdir}/zabbix_agentd.service @@ -423,47 +441,41 @@ %pre server # Server daemon -%{_bindir}/getent group %{server_group} >/dev/null || %{_sbindir}/groupadd -r %{server_group} -%{_bindir}/getent passwd %{server_user} >/dev/null || %{_sbindir}/useradd -r -d %{_localstatedir}/lib/%{server_user} -s /bin/false -c "Zabbix Server Daemon" -g %{server_group} %{server_user} %service_add_pre zabbix_server.service -exit 0 %pre proxy # Proxy daemon -%{_bindir}/getent group %{server_group} >/dev/null || %{_sbindir}/groupadd -r %{server_group} -%{_bindir}/getent passwd %{server_user} >/dev/null || %{_sbindir}/useradd -r -d %{_localstatedir}/lib/%{server_user} -s /bin/false -c "Zabbix Proxy Daemon" -g %{server_group} %{server_user} %service_add_pre zabbix_proxy.service -exit 0 %pre agent # Agent daemon -%{_bindir}/getent group %{agent_group} >/dev/null || %{_sbindir}/groupadd -r %{agent_group} -%{_bindir}/getent passwd %{agent_user} >/dev/null || %{_sbindir}/useradd -r -d %{_localstatedir}/lib/%{agent_user} -s /bin/false -c "Zabbix Agent Daemon" -g %{agent_group} %{agent_user} %service_add_pre zabbix_agentd.service -exit 0 %pre java-gateway # Java daemon -%{_bindir}/getent group %{server_group} >/dev/null || %{_sbindir}/groupadd -r %{server_group} -%{_bindir}/getent passwd %{server_user} >/dev/null || %{_sbindir}/useradd -r -d %{_localstatedir}/lib/%{server_user} -s /bin/false -c "Zabbix Java Daemon" -g %{server_group} %{server_user} %service_add_pre zabbix-java-gateway.service -exit 0 + +%pre -n system-user-zabbix -f zabbix.pre %post server +%firewalld_reload %service_add_post zabbix_server.service %tmpfiles_create %{_tmpfilesdir}/zabbix_server.conf echo "Please read %{_docdir}/%{name}-server/README-SSL.SUSE to set up SSL on Zabbix server." %post proxy +%firewalld_reload %service_add_post zabbix_proxy.service %tmpfiles_create %{_tmpfilesdir}/zabbix_proxy.conf echo "Please read %{_docdir}/%{name}-proxy/README-SSL.SUSE to set up SSL on Zabbix proxy." %post java-gateway +%firewalld_reload %service_add_post zabbix-java-gateway.service %tmpfiles_create %{_tmpfilesdir}/zabbix-java-gateway.conf %post agent +%firewalld_reload %service_add_post zabbix_agentd.service %tmpfiles_create %{_tmpfilesdir}/zabbix_agentd.conf echo "Please read %{_docdir}/%{name}-agent/README-SSL.SUSE to set up SSL on Zabbix agent." @@ -534,9 +546,6 @@ %files server %doc AUTHORS ChangeLog database/mysql database/oracle database/postgresql database/sqlite3 rn6.0.0.html README-SSL.SUSE -%if 0%{?suse_version} < 1500 -%config %{SUSEfirewall_services_dir}/zabbix_server -%endif %dir %{_sysconfdir}/zabbix %config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix_server.conf %{_bindir}/zabbix_get @@ -558,9 +567,6 @@ %files proxy %doc README-SSL.SUSE -%if 0%{?suse_version} < 1500 -%config %{SUSEfirewall_services_dir}/zabbix_proxy -%endif %{_sbindir}/zabbix_proxy %{_sbindir}/zabbix-proxy %{_sbindir}/rczabbix_proxy @@ -578,9 +584,6 @@ %files agent %doc README-SSL.SUSE -%if 0%{?suse_version} < 1500 -%config %{SUSEfirewall_services_dir}/zabbix_agentd -%endif %dir %{_sysconfdir}/zabbix %config(noreplace) %attr(0640, root, %{agent_group}) %{_sysconfdir}/zabbix/zabbix_agent*.conf %{_sbindir}/rczabbix_agentd @@ -629,9 +632,6 @@ %ghost %{_sysconfdir}/alternatives/zabbix_proxy %files java-gateway -%if 0%{?suse_version} < 1500 -%config %{SUSEfirewall_services_dir}/zabbix-java-gateway -%endif %dir %{_sysconfdir}/zabbix %config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix-java-gateway.conf %config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix-java-gateway-log.xml @@ -648,3 +648,6 @@ %{_unitdir}/zabbix-java-gateway.service %{_tmpfilesdir}/zabbix-java-gateway.conf +%files -n system-user-zabbix +%{_sysusersdir}/system-user-zabbix.conf + ++++++ system-user-zabbix.conf ++++++ #Type Name ID GECOS Home directory Shell g zabbix - "Zabbix agent" g zabbixs - "Zabbix server" u zabbix - "Zabbix agent" /var/lib/zabbix - u zabbixs - "Zabbix agent" /var/lib/zabbixs - m zabbix zabbix m zabbixs zabbixs ++++++ zabbix-6.0.25.tar.gz -> zabbix-6.0.27.tar.gz ++++++ /work/SRC/openSUSE:Factory/zabbix/zabbix-6.0.25.tar.gz /work/SRC/openSUSE:Factory/.zabbix.new.1905/zabbix-6.0.27.tar.gz differ: char 14, line 1
