Hello community, here is the log from the commit of package netdata for openSUSE:Factory checked in at 2020-10-02 17:35:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/netdata (Old) and /work/SRC/openSUSE:Factory/.netdata.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "netdata" Fri Oct 2 17:35:04 2020 rev:22 rq:838874 version:1.25.0 Changes: -------- --- /work/SRC/openSUSE:Factory/netdata/netdata.changes 2020-08-29 20:37:33.997344573 +0200 +++ /work/SRC/openSUSE:Factory/.netdata.new.4249/netdata.changes 2020-10-02 17:35:10.754662621 +0200 @@ -1,0 +2,36 @@ +Wed Sep 23 07:15:40 UTC 2020 - Andreas Schneider <[email protected]> + +- Fix building with go support on openSUSE 15.2 + +------------------------------------------------------------------- +Tue Sep 22 07:30:36 UTC 2020 - Andreas Schneider <[email protected]> + +- Build with python3 +- Protect /etc/netdata as it contains sensitive data (passwords, secrets) + +------------------------------------------------------------------- +Wed Sep 16 11:31:06 UTC 2020 - Paolo Stivanin <[email protected]> + +- update to 1.25.0: +Improvements + * Add code to release memory used by the global GUID map (#9729, @stelfrag) + * Add check for spurious wakeups +Netdata Cloud + * Add v2 HTTP message with compression to ACLK (#9895, @underhood) + * Add version negotiation to ACLK (#9819, @underhood) + * Add claimed_id for child nodes streamed to their parents (#9804, @underhood) + * Update netdata-installer.sh to enable Netdata Cloud support in macOS (#9360, @mrbrutti) +Collectors + * Update go.d.plugin version to v0.22.0 (#9898, @ilyam8) + * Add support for IP ranges to Python-based isc_dhcpd collector (#9755, @vsc55) + * Add Network viewer charts to ebpf.plugin (#9591, @thiagoftsm) + * Add collecting active processes limit on Linux systems (#9843, @Ancairon) + * Improve eBPF plugin by removing unnecessary debug messages (#9754, @thiagoftsm) + * Add CAP_SYS_CHROOT for netdata service to read LXD network interfaces (#9726, @vlvkobal) + * Add collecting maxmemory to python.d/redis (#9767, @ilyam8) + * Add option for multiple storage backends in python.d/varnish (#9668, @florianmagnin) +* Dashboard + * Update dashboard v1.4.2 (#9837, @jacekkolasa) +* Lots of documentation improvements and bug fixes + +------------------------------------------------------------------- Old: ---- go.d.plugin-v0.19.2.tar.gz netdata-v1.24.0.tar.gz New: ---- go.d.plugin-v0.22.0.tar.gz netdata-v1.25.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ netdata.spec ++++++ --- /var/tmp/diff_new_pack.ziBXIu/_old 2020-10-02 17:35:14.234664696 +0200 +++ /var/tmp/diff_new_pack.ziBXIu/_new 2020-10-02 17:35:14.238664698 +0200 @@ -18,9 +18,9 @@ %define netdata_user netdata %define netdata_group netdata -%define godplugin_version 0.19.2 +%define godplugin_version 0.22.0 Name: netdata -Version: 1.24.0 +Version: 1.25.0 Release: 0 Summary: A system for distributed real-time performance and health monitoring # netdata is GPL-3.0+, other licenses refer to included third-party software (see REDISTRIBUTED.md) @@ -37,8 +37,12 @@ BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: git-core -%if 0%{?suse_version} > 1500 +# suse_version is set to 1500 even for 15.2 +%if 0%{?sle_version} >= 150200 BuildRequires: go >= 1.13 +BuildRequires: python3 +%else +BuildRequires: python2 %endif BuildRequires: judy-devel BuildRequires: pkgconfig @@ -56,9 +60,15 @@ Recommends: iproute-tc Recommends: lm_sensors Recommends: nmap-ncat curl openssl(cli) +%if 0%{?sle_version} >= 150200 +Recommends: python3 +Recommends: python3-PyMySQL +Recommends: python3-psycopg2 +%else Recommends: python Recommends: python2-PyMySQL Recommends: python2-psycopg2 +%endif Suggests: logrotate Suggests: nodejs %ifarch i586 x86_64 @@ -77,7 +87,9 @@ %patch2 -p1 sed -i 's,/usr/bin/env bash,/bin/bash,' claim/%{name}-claim.sh.in -%if 0%{?suse_version} > 1500 +%if 0%{?sle_version} >= 150200 +sed -i 's,^pybinary=.*,pybinary=/usr/bin/python3,' collectors/python.d.plugin/python.d.plugin.in + tar xf %{S:1} cd go.d.plugin-%{godplugin_version} tar xf %{S:2} @@ -98,7 +110,7 @@ %{?conf} %make_build -%if 0%{?suse_version} > 1500 +%if 0%{?sle_version} >= 150200 cd go.d.plugin-%{godplugin_version} go vet ./... @@ -128,7 +140,7 @@ # Hence, disable statistics by default. touch %{buildroot}%{_sysconfdir}/%{name}/.opt-out-from-anonymous-statistics -%if 0%{?suse_version} > 1500 +%if 0%{?sle_version} >= 150200 cd go.d.plugin-%{godplugin_version} cp -r config/* %{buildroot}%{_libdir}/%{name}/conf.d install -m0755 -p bin/go.d.plugin %{buildroot}%{_libexecdir}/%{name}/plugins.d/go.d.plugin @@ -160,10 +172,6 @@ %doc README.md CHANGELOG.md %license LICENSE REDISTRIBUTED.md -%dir %{_sysconfdir}/%{name} -%{_sysconfdir}/%{name}/edit-config -%config(noreplace) %{_sysconfdir}/%{name}/*.conf -%config(noreplace) %{_sysconfdir}/%{name}/.opt-out-from-anonymous-statistics %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %{_libexecdir}/%{name} @@ -173,19 +181,27 @@ %{_sbindir}/%{name}-claim.sh %{_sbindir}/%{name}cli %{_sbindir}/rc%{name} +%{_unitdir}/%{name}.service + +%attr(-,root,%{netdata_group}) %dir %{_datadir}/%{name} +%attr(-,root,%{netdata_group}) %{_datadir}/%{name}/web %attr(0750,%{netdata_user},root) %dir %{_localstatedir}/cache/%{name} %attr(0750,%{netdata_user},root) %dir %{_localstatedir}/log/%{name} %attr(0750,%{netdata_user},root) %dir %{_localstatedir}/lib/%{name} -%attr(-,root,%{netdata_group}) %dir %{_datadir}/%{name} +# Do not allow users to read netdata config dir and files as they can +# contain passwords! +%defattr(0640,root,%{netdata_group},0750) + +%dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/health.d %dir %{_sysconfdir}/%{name}/python.d %dir %{_sysconfdir}/%{name}/statsd.d -%{_unitdir}/%{name}.service +%config(noreplace) %{_sysconfdir}/%{name}/.opt-out-from-anonymous-statistics +%config(noreplace) %{_sysconfdir}/%{name}/*.conf -%defattr(0644,root,%{netdata_group},0755) -%{_datadir}/%{name}/web +%attr(0750,root,%{netdata_group}) %{_sysconfdir}/%{name}/edit-config %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.ziBXIu/_old 2020-10-02 17:35:14.274664720 +0200 +++ /var/tmp/diff_new_pack.ziBXIu/_new 2020-10-02 17:35:14.274664720 +0200 @@ -1,5 +1,5 @@ <services> <service name="go_modules" mode="disabled"> - <param name="archive">go.d.plugin-v0.19.2.tar.gz</param> + <param name="archive">go.d.plugin-v0.22.0.tar.gz</param> </service> </services> ++++++ go.d.plugin-v0.19.2.tar.gz -> go.d.plugin-v0.22.0.tar.gz ++++++ ++++ 23664 lines of diff (skipped) ++++++ netdata-v1.24.0.tar.gz -> netdata-v1.25.0.tar.gz ++++++ ++++ 11742 lines of diff (skipped) ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/netdata/vendor.tar.gz /work/SRC/openSUSE:Factory/.netdata.new.4249/vendor.tar.gz differ: char 1, line 1
