Hello community,

here is the log from the commit of package netdata for openSUSE:Factory checked 
in at 2019-02-27 17:28:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netdata (Old)
 and      /work/SRC/openSUSE:Factory/.netdata.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "netdata"

Wed Feb 27 17:28:54 2019 rev:7 rq:678173 version:1.12.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/netdata/netdata.changes  2018-03-30 
12:07:43.589075072 +0200
+++ /work/SRC/openSUSE:Factory/.netdata.new.28833/netdata.changes       
2019-02-27 17:28:59.195324272 +0100
@@ -1,0 +2,397 @@
+Fri Feb 22 06:31:15 UTC 2019 - Martin Herkt <[email protected]>
+
+- Drop GPG signature (no longer used)
+- Drop spec compatibility with old distro versions
+- Drop netdata-automake-no-dist-xz.patch
+- Refresh netdata-smartd-log-path.patch
+- Update to v1.12.1
+  Fixes:
+  * Fix SIGSEGV at startup: Don't free vars of charts that do not
+    exist #5455
+  * Prevent invalid Linux power supply alarms during startup #5447
+  * Correct duplicate flag enum in health.h #5441
+  * Remove extra 'v' for netdata version from Server response
+    header #5440 and spec URL #5427
+  * apcupsd - Treat ONBATT status the same as ONLINE #5435
+  * Fix #5430 - LogService._get_raw_data under python3 fails on
+    undecodable data #5431
+  * Correct version check in UI #5429
+  * Fix ERROR 405: Cannot download charts index from server -
+    cpuidle handle newlines in names #5425
+  * Fix clock_gettime() failures with the CLOCK_BOOTTIME argument
+    #5415
+  * Use netnsid for detecting cgroup networks; #5413
+  * Python module sensors fix #5406 (ilyam8)
+  * Fix ceph.chart.py for Python3 #5396 (GaetanF)
+  * Fix warning condition for mem.available #5353
+  * cups.plugin: Support older versions #5350
+  Improvements:
+  * Add driver-type option to the freeipmi plugin #5384
+  * Add support of tera-byte size for Linux bcache. #5373
+  * Split nfacct plugin into separate process #5361
+  * Add cgroup cpu and memory limits and alarms #5172
+  * Add message queue statistics #5115
+- Update to v1.12.0
+  Key improvements:
+  * Introducing netdata.cloud, the free netdata service for all
+    netdata users
+  * High performance plugins with go.d.plugin (data collection
+    orchestrator written in Go)
+  * 7 new data collectors and 11 rewrites of existing data
+    collectors for improved performance
+  * A new management API for all netdata servers
+  * Bind different functions of the netdata APIs to different ports
+
+  Management API:
+  Netdata now has a management API. We plan to provide a full set
+  of configuration commands using this API.
+  In this release, the management API supports disabling or
+  silencing alarms during maintenance periods.
+  For more information about the management API, check
+  https://docs.netdata.cloud/web/api/health/#health-management-api
+
+  Anonymous statistics:
+  Anonymous usage information can be collected and sent to Google
+  Analytics. This functionality is disabled by default in openSUSE.
+  Remove /etc/netdata/.opt-out-from-anonymous-statistics to enable.
+
+  The statistics calculated from this information will be used for:
+  1. Quality assurance, to help us understand if netdata behaves as
+     expected and help us identify repeating issues for certain
+     distributions or environment.
+  2. Usage statistics, to help us focus on the parts of netdata
+     that are used the most, or help us identify the extend our
+     development decisions influence the community.
+
+  Information is sent to Netdata via two different channels:
+  * Google Tag Manager is used when an agent's dashboard is
+    accessed.
+  * The script anonymous-statistics.sh is executed by the Netdata
+    daemon, when Netdata starts, stops cleanly, or fails.
+
+  Both methods are controlled via the same opt-out mechanism.
+  For more information, check
+  https://docs.netdata.cloud/docs/anonymous-statistics/
+
+  Data collection:
+  This release introduces a new Go plugin orchestrator.
+  This plugin has its own github repo
+  (https://github.com/netdata/go-orchestrator). It is open-source,
+  using the same license and we welcome contributions.
+  The orchestrator can also be used to build custom data collection
+  plugins written in Go. We have used the orchestrator to write
+  many new Go plugins in our go.d plugin github repo.
+  For more information, check
+  https://github.com/netdata/go-orchestrator#go-orchestrator-wip
+
+  New data collectors:
+  * Activemq (Go)
+  * Consul (Go)
+  * Lighttpd2 (Go)
+  * Solr (Go)
+  * Springboot2 (Go)
+  * mdstat - nonredundant arrays (C)
+  * CUPS printing system (C)
+
+  High performance versions of older data collectors:
+  * apache (Go)
+  * dns_query (Go)
+  * Freeradius (Go)
+  * Httpcheck (Go)
+  * Lighttpd (Go)
+  * Portcheck (Go)
+  * Nginx (Go)
+  * cpufreq (C)
+  * cpuidle (C)
+  * mdstat (C)
+  * power supply (C)
+
+  Other improved data collectors:
+  * Fix the python plugin clock (collectors falling behind).
+  * adaptec_raid: add to python.d.conf.
+  * apcupsd: Detect if UPS is online.
+  * apps: Fix process statistics collection for FreeBSD.
+  * apps: Properly lookup docker container name when running in ECS
+  * fail2ban: Add 'Restore Ban' action.
+  * go_expavar: Don't check for duplicate expvars.
+  * hddtemp: Don't use disk model as dim name.
+  * megacli: add to python.d.conf.
+  * nvidia_smi: handle N/A values.
+  * postgres: Fix integer out of range error on Postgres 11,
+    fix locks count.
+  * proc: Don't show zero charts for ZFS filesystem.
+  * proc; Fix cached memory calculation.
+  * sensors: Don't ignore 0 RPM fans on start.
+  * smartd_log: check() unhandled exception: list index out of
+    range.
+  * SNMP: Gracefully ignore the offset if the value is not a number
+
+  Health Monitoring:
+  * Add Prowl notifications for iOS users.
+  * Show count of active alarms per state in email notifications.
+  * Show evaluated expression and expression variable values in
+    email notifications.
+  * Improve support for slack recipients (channels/users).
+  * Custom notifications: Fix bug with alarm role recipients.
+
+  Dashboards:
+  * Server filtering in my-netdata menu when signed in to
+    netdata.cloud
+  * All units are now IEC-compliant abbreviations (KiB, MiB etc.).
+  * GUI: Make entire row clickable in the registry menu showing
+    the list of servers.
+
+  Backends:
+  * Do not report stale metrics to prometheus.
+
+  Other:
+  * Treat DT_UNKNOWN files as regular files.
+  * API: Stricter rules for URL separators.
+- Update to v1.11.1
+  Improved internal database:
+  Overflown incremental values (counters) do not show a zero point
+  at the charts. Netdata detects the width (8bit, 16bit, 32bit,
+  64bit) of each counter and properly calculates the delta when
+  the counter overflows.
+
+  The internal database format has been extended to support values
+  above 64bit.
+
+  New data collection plugins:
+  * openldap, to collect performance statistics from OpenLDAP
+    servers.
+  * tor, to collect traffic statistics from Tor.
+  * nvidia_smi to monitor NVIDIA GPUs.
+
+  Improved data collection plugins:
+  * BUG FIX: network interface names with colon (:) in them were
+    incorrectly parsed and resulted in faulty data collection
+    values.
+  * BUG FIX: smartd_log has been refactored, has better python v2
+    compatibility, and now supports SCSI smart attributes
+  * cpufreq has been re-written in C - since this module if common,
+    we decided to convert to an internal plugin to lower the
+    pressure on the python ones. There are a few more that will be
+    transitioned to C in the next release.
+  * BUG FIX: sensors got some compatibility fixes and improved
+    handling for lm-sensors errors.
+
+  Health monitoring:
+  * BUG FIX: max network interface speed data collection was
+    faulty, which resulted in false-positive alarms on systems with
+    multiple interfaces using different speeds (the speed of the
+    first network interface was used for all network interfaces).
+    Now the interface speed is shown as a badge.
+  * alerta.io notifications got a few improvements
+  * BUG FIX: conntrack_max alarm has been restored (was not working
+    due to an invalid variable name referenced)
+
+  Registry (my-netdata menu):
+  * It has been refactored a bit to reveal the URLs known for each
+    node and now it supports deleting individual URLs.
+- Update to 1.11.0
+  * Stock config files are now in /usr/lib/netdata; use the
+    /etc/netdata/edit-config script to copy and edit them.
+  * The query engine of netdata has been re-written to support
+    query plugins. We have already added the following algorithms
+    that are available for alarm, charts and badges:
++++ 200 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/netdata/netdata.changes
++++ and /work/SRC/openSUSE:Factory/.netdata.new.28833/netdata.changes

Old:
----
  netdata-1.10.0.tar.xz
  netdata-1.10.0.tar.xz.asc
  netdata-automake-no-dist-xz.patch
  netdata.keyring

New:
----
  netdata-v1.12.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ netdata.spec ++++++
--- /var/tmp/diff_new_pack.m1DhGd/_old  2019-02-27 17:29:00.551323786 +0100
+++ /var/tmp/diff_new_pack.m1DhGd/_new  2019-02-27 17:29:00.555323784 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package netdata
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,30 +24,28 @@
 %bcond_with    systemd
 %endif
 Name:           netdata
-Version:        1.10.0
+Version:        1.12.1
 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 LICENSE.md)
-License:        GPL-3.0-or-later AND MIT AND BSD-2-Clause AND BSD-3-Clause AND 
LGPL-2.1-only AND OFL-1.1 AND CC0-1.0
+# netdata is GPL-3.0+, other licenses refer to included third-party software 
(see REDISTRIBUTED.md)
+License:        GPL-3.0-or-later AND MIT AND BSD-2-Clause AND BSD-3-Clause AND 
LGPL-2.1-or-later AND OFL-1.1 AND CC-BY-4.0 AND Apache-2.0 AND WTFPL
 Group:          System/Monitoring
-Url:            http://my-netdata.io/
-Source0:        
https://github.com/firehol/netdata/releases/download/v%{version}/netdata-%{version}.tar.xz
-Source1:        
https://github.com/firehol/netdata/releases/download/v%{version}/netdata-%{version}.tar.xz.asc
-Source2:        netdata.keyring
+URL:            http://my-netdata.io/
+Source0:        
https://github.com/netdata/%{name}/releases/download/v%{version}/%{name}-v%{version}.tar.gz
 Source3:        netdata-rpmlintrc
 Patch0:         netdata-logrotate-su.patch
-Patch1:         netdata-automake-no-dist-xz.patch
 Patch2:         netdata-smartd-log-path.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  cups-devel
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
-BuildRequires:  libcap-devel
-BuildRequires:  libmnl-devel
-BuildRequires:  libuuid-devel
 BuildRequires:  pkgconfig
-BuildRequires:  xz
-BuildRequires:  zlib-devel
+BuildRequires:  pkgconfig(libcap)
+BuildRequires:  pkgconfig(libmnl)
+BuildRequires:  pkgconfig(libnetfilter_acct)
+BuildRequires:  pkgconfig(uuid)
+BuildRequires:  pkgconfig(zlib)
 Requires(pre):  shadow
 Recommends:     PyYAML
 Recommends:     curl
@@ -59,13 +57,8 @@
 Recommends:     python2-psycopg2
 Suggests:       logrotate
 Suggests:       nodejs
-%if 0%{?suse_version} > 1140
 %ifarch i586 x86_64
-BuildRequires:  freeipmi-devel
-%endif
-%endif
-%if 0%{?sle_version} >= 130000
-BuildRequires:  libnetfilter_acct-devel
+BuildRequires:  pkgconfig(libipmimonitoring)
 %endif
 
 %description
@@ -75,46 +68,44 @@
 using interactive web dashboards.
 
 %prep
-%setup -q
+%setup -q -n %{name}-v%{version}
 %patch0
-%patch1 -p1
 %patch2 -p1
-dos2unix web/lib/tableExport-1.6.0.min.js
-sed -i 's,^#!%{_bindir}/env bash,#!/bin/bash,' plugins.d/* python.d/*.sh
 
 %build
-autoreconf -fi
+autoreconf -fiv
 %configure \
        --docdir="%{_docdir}/%{name}-%{version}" \
-%if 0%{?sle_version} >= 130000
        --enable-plugin-nfacct \
+%ifarch i586 x86_64
+    --enable-plugin-freeipmi \
 %endif
+    --enable-plugin-cups \
        --with-zlib \
        --with-math \
        --with-user=%{netdata_user} \
        %{?conf}
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
 find %{buildroot} -name .keep -delete
+install -D -m 0644 system/%{name}.service 
%{buildroot}%{_unitdir}/%{name}.service
 install -D -m 0644 system/%{name}.logrotate 
%{buildroot}%{_sysconfdir}/logrotate.d/%{name}
 install -D -m 0644 system/%{name}.conf 
%{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
 
-%if %{with systemd}
-install -D -m 0644 system/%{name}.service 
%{buildroot}%{_unitdir}/%{name}.service
 ln -s -f %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
-%else
-%if 0%{?sle_version} >= 120000
-install -D -m 0755 system/%{name}-init-d 
%{buildroot}%{_sysconfdir}/init.d/%{name}
-%else
-install -D -m 0755 system/%{name}-lsb %{buildroot}%{_sysconfdir}/init.d/%{name}
-%endif
-ln -s -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
-%endif
 
+sed -i 's,^#!%{_bindir}/env bash,#!/bin/bash,;s,^#!%{_bindir}/env 
sh,#!/bin/sh,' \
+    %{buildroot}%{_libexecdir}/%{name}/plugins.d/* \
+    %{buildroot}%{_sysconfdir}/%{name}/edit-config
 %fdupes -s %{buildroot}
 
+# This should be opt-in, not opt-out. I do not believe most users would agree
+# with sending usage data to Google Analytics, whether anonymized or not.
+# Hence, disable statistics by default.
+touch %{buildroot}%{_sysconfdir}/%{name}/.opt-out-from-anonymous-statistics
+
 %pre
 getent group %{netdata_group} >/dev/null || \
        %{_sbindir}/groupadd -r %{netdata_group}
@@ -122,53 +113,29 @@
        %{_sbindir}/useradd -r -g %{netdata_group} -s /bin/false \
        -c "netdata daemon user" -d %{_localstatedir}/lib/empty %{netdata_user}
 %{_sbindir}/usermod -g %{netdata_group} %{netdata_user} >/dev/null
-%if %{with systemd}
 %service_add_pre %{name}.service
-%endif
 
 %post
-%if %{with systemd}
 %service_add_post %{name}.service
-%else
-%fillup_and_insserv %{name}
-%endif
 
 %preun
-%if %{with systemd}
 %service_del_preun %{name}.service
-%else
-%stop_on_removal %{name}
-%endif
 
 %postun
-%if %{with systemd}
 %service_del_postun %{name}.service
-%else
-%restart_on_update %{name}
-%insserv_cleanup
-%endif
 
 %files
-%doc ChangeLog README.md
-%if 0%{?sle_version} <= 130000
-%doc LICENSE.md COPYING
-%else
-%license LICENSE.md COPYING
-%endif
+%doc README.md
+%license LICENSE REDISTRIBUTED.md
 
 %dir %{_sysconfdir}/%{name}
-%dir %{_sysconfdir}/%{name}/charts.d
-%dir %{_sysconfdir}/%{name}/node.d
+%{_sysconfdir}/%{name}/edit-config
 %config(noreplace) %{_sysconfdir}/%{name}/*.conf
-%config(noreplace) %{_sysconfdir}/%{name}/charts.d/*.conf
-%config(noreplace) %{_sysconfdir}/%{name}/health.d/*.conf
-%config(noreplace) %{_sysconfdir}/%{name}/python.d/*.conf
-%config(noreplace) %{_sysconfdir}/%{name}/statsd.d/*.conf
+%config(noreplace) %{_sysconfdir}/%{name}/.opt-out-from-anonymous-statistics
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
 
-%{_sysconfdir}/%{name}/node.d/*.md
-
 %{_libexecdir}/%{name}
+%{_libdir}/%{name}
 
 %{_sbindir}/%{name}
 %{_sbindir}/rc%{name}
@@ -182,11 +149,7 @@
 %dir %{_sysconfdir}/%{name}/python.d
 %dir %{_sysconfdir}/%{name}/statsd.d
 
-%if %{with systemd}
 %{_unitdir}/%{name}.service
-%else
-%{_sysconfdir}/init.d/%{name}
-%endif
 
 %defattr(0644,root,%{netdata_group},0755)
 %{_datadir}/%{name}/web

++++++ netdata-smartd-log-path.patch ++++++
--- /var/tmp/diff_new_pack.m1DhGd/_old  2019-02-27 17:29:00.583323774 +0100
+++ /var/tmp/diff_new_pack.m1DhGd/_new  2019-02-27 17:29:00.583323774 +0100
@@ -1,14 +1,9 @@
-diff -ru netdata-1.9.0.orig/conf.d/python.d/smartd_log.conf 
netdata-1.9.0/conf.d/python.d/smartd_log.conf
---- netdata-1.9.0.orig/conf.d/python.d/smartd_log.conf 2017-12-17 
00:09:10.325358461 +0100
-+++ netdata-1.9.0/conf.d/python.d/smartd_log.conf      2017-12-18 
00:26:18.764485837 +0100
-@@ -67,7 +67,9 @@
- #    raw_values: yes                    # enable/disable raw values charts. 
Enabled by default.
- #    smart_attributes: '1 2 3 4 44'     # smart attributes charts. Default 
are ['1', '4', '5', '7', '9', '12', '193', '194', '197', '198', '200'].
- #    exclude_disks: 'PATTERN1 PATTERN2' # space separated patterns. If the 
pattern is in the drive name, the module will not collect data for it.
--#
+diff -ru 
netdata-v1.12.1.orig/collectors/python.d.plugin/smartd_log/smartd_log.conf 
netdata-v1.12.1/collectors/python.d.plugin/smartd_log/smartd_log.conf
+--- netdata-v1.12.1.orig/collectors/python.d.plugin/smartd_log/smartd_log.conf 
2019-02-21 19:43:46.764671505 +0100
++++ netdata-v1.12.1/collectors/python.d.plugin/smartd_log/smartd_log.conf      
2019-02-22 06:15:55.813201050 +0100
+@@ -65,3 +65,5 @@
+ #    exclude_disks: 'PATTERN1 PATTERN2'  # space separated patterns. If the 
pattern is in the drive name, the module will not collect data for it.
+ #
+ # ----------------------------------------------------------------------
 +
 +log_path: '/var/lib/smartmontools'
-+
- # ----------------------------------------------------------------------
- # Additional information
- #  Plugin reads smartd log files (-A option).


Reply via email to