Hello community,

here is the log from the commit of package collectd for openSUSE:Factory 
checked in at 2019-11-26 17:09:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/collectd (Old)
 and      /work/SRC/openSUSE:Factory/.collectd.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "collectd"

Tue Nov 26 17:09:59 2019 rev:32 rq:751020 version:5.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/collectd/collectd.changes        2019-06-19 
21:09:49.998592857 +0200
+++ /work/SRC/openSUSE:Factory/.collectd.new.26869/collectd.changes     
2019-11-26 17:10:15.271884992 +0100
@@ -1,0 +2,97 @@
+Mon Nov 25 14:02:12 UTC 2019 - Christian Vögl <cvo...@suse.de>
+
+- Update to 5.10.0:
+  * turbostat plugin: Power metrics update for recent server CPUs. Thanks
+    to Chris MacNamara. #3276
+  * turbostat plugin: Fix warnings generated by the turbostat plugin.
+    Thanks to Ryan Mccabe. #3340
+  * ZFS ARC plugin: New cache values are now read on Linux. Thanks to
+    Jan-Philipp Litza. #3247, #2843
+  * connectivity plugin: monitor the network interface up/down status via
+    the netlink library. Thanks to Andrew Bays. #2622
+  * sysevent plugin: A new plugin that monitors rsyslog for system events.
+    Thanks to Andrew Bays. #2624
+  * procevent plugin: A new plugin that monitors process starts/stops via
+    netlink library. Thanks to Andrew Bays. #2623
+  * daemon: Check if plugin actually loaded before reporting configuration
+    issues. Thanks to Pavel Rochnyak. #3217
+  * daemon: Recover setlocale() call in src/daemon/collectd.c do_init().
+    Thanks to Pavel Rochnyak. #3181, #3214
+  * Build System: Only include <sys/sysctl.h> when needed. Thanks to Ruben
+    Kerkhof. #3298
+  * Build System: Link to libnsl.so if needed for inet_ntop(). Thanks to
+    Dagobert Michelsen. #3291
+  * Build System: Remove double "without" added by commit b781871. Thanks
+    to Fabrice Fontaine. #3261
+  * Build System: fix compile time issues. Thanks to Matthias Runge.
+    #3179, #3242, #3245
+  * Build System: Fix activation of snmp_agent. Thanks to Fabrice
+    Fontaine. #3241
+  * Build System: Fix bug that leads to CPPFLAGS gets overridden with
+    CFLAGS when libxmms is enabled. Thanks to Dagobert Michelsen. #3207
+  * perl module: Collectd::Plugins::Openvz: Fix indentation of some
+    closing curlies. Thanks to Christian Bartolomäus. #3239
+  * tree-wide: Fix a few issues found with LGTM. Thanks to Ruben Kerkhof.
+    #3252
+  * tree-wide: fix ssnprintf wrapper. Thanks to Fabien Wernli.
+    #3237, #3232, #3235, #3236
+  * tree-wide: Fix make check. Thanks to Ruben Kerkhof. #3306
+  * CI System: Travis: switch to Bionic. Thanks to Ruben Kerkhof. #3307
+  * CI System: Travis improvements for MacOS. Thanks to Ruben Kerkhof.
+    #3308
+  * MySQL plugin: Minor documentation improvements. Thanks to Christian
+    Bartolomäus. #3288
+  * Java plugin: Fix typo in an error message. Thanks to Matthias Runge.
+    #3285, #3286
+  * sysevent plugin: Add a few missing calloc result checks in the
+    sysevent_init function. Thanks to Andrew Bays. #3282
+  * ZFS ARC plugin: A bug that caused the first to values to be skipped
+    was fixed. Thanks to Jan-Philipp Litza. #3246
+  * SysLog plugin: restore previous behaviour: fallback to info for
+    unsupported level. Thanks to Fabien Wernli. #3236, #3238
+  * virt plugin: Fix memory leak with libvirt MetadataXPath enabled.
+    Thanks to Pavel Rochnyak. #3225, #3228
+  * GPU NVidia plugin: Fix build of the plugin. Thanks to Ruben Kerkhof.
+    #3320
+- Changes from 5.9.2:
+* syslog plugin: Don't fail if syslog loglevel doesn't match. Thanks to
+    Fabien Wernli. #3236 #3238
+  * collectd: Fix ssnprintf wrapper. Thanks to Fabien Wernli. #3237
+  * rdt plugin: Fix compile time issues. Thanks to Matthias Runge. #3245
+- Changes from 5.9.1:
+  * collectd: regex match: Fix unexpected match with empty meta data .
+    Thanks to Takuro Ashie. #3178
+  * collectd: Fix return value or loglevel for several plugins. Thanks to
+    Fabien Wernli. #3182
+  * collectd: Add standard include early or _FILE_OFFSET_BITS will have
+    definition … . Thanks to Dagobert Michelsen. #3193
+  * collectd: Use GCC-specific flags only when compiling with GCC. Thanks
+    to Dagobert Michelsen. #3195
+  * Use test_utils_proc_pids only when compiling the plugin that uses it.
+    Thanks to Dagobert Michelsen. #3197
+  * DNS plugin: Do not use headers from glibc. Thanks to Pavel Rochnyak.
+    #3156, #3145
+  * collectd: Add missing definitions for libnetsnmpagent. Thanks to
+    Dagobert Michelsen. #3203
+  * collectd: Move Makefile rules for pid_test inside conditional for
+    code. Thanks to Dagobert Michelsen. #3206
+  * collectd: Recover setlocale() call in src/daemon/collectd.c do_init().
+    Thanks to Pavel Rochnyak. #3214, #3181
+  * collectd: Add snprintf wrapper for GCC 8.2/3. Thanks to zebity. #3153,
+    #2895, #3038
+  * collectd: Fix bug that leads to CPPFLAGS gets overridden with CFLAGS
+    when libxmms is enabled. Thanks to Dagobert Michelsen. #3207
+  * Write_Riemann plugin: Copy MetaData to Riemann events in
+    write_riemann. Thanks to Romain Tartière. #3158
+  * virt plugin: Fix memory leak with libvirt MetadataXPath enabled.
+    Thanks to Pavel Rochnyak. #3225, #3230
+-Disabled Plugins due to missing dependencies:
+  * lvm on Factory, Tumbleweed, Leap15.3 and SLES_15-SP3
+  * gps and sigrok on SLES_15 and later
+-Removed libstatgrab from buildrequires: only needed for non-Linux systems.
+-Rebased patch 9e36cd85a2bb_sigrok_Update_to_support_libsigrok_0_4.patch
+-Add new subpackages:
+  * plugin-sysevent
+  * plugin-procevent
+  * plugin-uptime
+  -------------------------------------------------------------------

Old:
----
  collectd-5.9.0.tar.bz2

New:
----
  collectd-5.10.0.tar.bz2

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

Other differences:
------------------
++++++ collectd.spec ++++++
--- /var/tmp/diff_new_pack.WmIyem/_old  2019-11-26 17:10:16.843884449 +0100
+++ /var/tmp/diff_new_pack.WmIyem/_new  2019-11-26 17:10:16.843884449 +0100
@@ -34,6 +34,20 @@
   wireless write_graphite write_http write_log write_sensu write_tsdb 
write_prometheus \\\
   zfs_arc zookeeper
 
+%if !0%{?is_opensuse}
+%if 0%{?sle_version} <= 150100
+%define lvm2app 1
+%else
+%define lvm2app 0
+%endif
+%else
+%if !0%{?suse_version} > 1500
+%define lvm2app 1
+%else
+%define lvm2app 0
+%endif
+%endif
+
 %ifnarch s390 s390x
 %define sensors    1
 %define sensors_plugin sensors
@@ -42,7 +56,7 @@
 %define sensors_plugin %{nil}
 %endif
 Name:           collectd
-Version:        5.9.0
+Version:        5.10.0
 Release:        0
 Summary:        Statistics Collection Daemon for filling RRD Files
 License:        GPL-2.0-only AND MIT
@@ -97,7 +111,11 @@
 BuildRequires:  xfsprogs-devel
 BuildRequires:  pkgconfig(OpenIPMI)
 BuildRequires:  pkgconfig(OpenIPMIpthread)
+%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
 BuildRequires:  pkgconfig(Qgpsmm)
+BuildRequires:  pkgconfig(libgps)
+BuildRequires:  pkgconfig(libsigrok)
+%endif
 BuildRequires:  pkgconfig(dbi)
 BuildRequires:  pkgconfig(devmapper)
 BuildRequires:  pkgconfig(freetype2)
@@ -108,7 +126,6 @@
 BuildRequires:  pkgconfig(libatasmart)
 BuildRequires:  pkgconfig(libcurl)
 BuildRequires:  pkgconfig(libevent)
-BuildRequires:  pkgconfig(libgps)
 BuildRequires:  pkgconfig(libiptc)
 BuildRequires:  pkgconfig(libmemcached)
 BuildRequires:  pkgconfig(libmicrohttpd)
@@ -117,14 +134,14 @@
 BuildRequires:  pkgconfig(liboping)
 BuildRequires:  pkgconfig(libpq)
 BuildRequires:  pkgconfig(librrd)
-BuildRequires:  pkgconfig(libsigrok)
-BuildRequires:  pkgconfig(libstatgrab)
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(libupsclient)
 BuildRequires:  pkgconfig(libvirt)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(lua)
+%if %{?lvm2app}
 BuildRequires:  pkgconfig(lvm2app)
+%endif
 BuildRequires:  pkgconfig(python3)
 BuildRequires:  pkgconfig(xtables)
 BuildRequires:  pkgconfig(zlib)
@@ -240,6 +257,7 @@
 This plugin for collectd provides Network UPS Tools support.
 %endif
 
+%if %{?lvm2app}
 %package plugin-lvm
 Summary:        LVM plugin for collectd
 Group:          System/Monitoring
@@ -247,6 +265,7 @@
 
 %description plugin-lvm
 This plugin collects information from lvm.
+%endif
 
 %package plugin-pcie
 Summary:        PCIe Monitoring Plugin for %{name}
@@ -317,6 +336,7 @@
 Optional %{name} plugin to receive and dispatch timing values from Pinba, a
 profiling extension for PHP.
 
+%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
 %package plugin-sigrok
 Summary:        Sigrok Monitoring Plugin for %{name}
 Group:          System/Monitoring
@@ -325,6 +345,7 @@
 %description plugin-sigrok
 Optional %{name} plugin to collect measurements from
 various devices supported by libsigrok.
+%endif
 
 %package plugin-smart
 Summary:        SMART Monitoring Plugin for %{name}
@@ -344,6 +365,7 @@
 %description plugin-lua
 Optional %{name} Lua API in order to write %{name} plugins in Lua.
 
+%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
 %package plugin-gps
 Summary:        GPSD monitoring plugin for %{name}
 Group:          System/Monitoring
@@ -351,6 +373,7 @@
 
 %description plugin-gps
 Optional %{name} plugin to monitor gpsd.
+%endif
 
 %package plugin-mcelog
 Summary:        Machine Check Exceptions plugin for %{name}
@@ -392,16 +415,56 @@
 %description plugin-write_syslog
 Optional %{name} plugin to write values lists as syslog messages.
 
+%package plugin-uptime
+Summary:        Uptime plugin for %{name}
+Group:          System/Monitoring
+Requires:       %{name} = %{version}-%{release}
+
+%description plugin-uptime
+Optional %{name} plugin to collect system uptime statistics.
+
+%package plugin-connectivity
+Summary:        Connectivity plugin for %{name}
+Group:          System/Monitoring
+Requires:       %{name} = %{version}-%{release}
+
+%description plugin-connectivity
+Optional %{name} plugin to collect Event-based interface status.
+
+
+%package plugin-procevent
+Summary:        Procevent plugin for %{name}
+Group:          System/Monitoring
+Requires:       %{name} = %{version}-%{release}
+
+%description plugin-procevent
+Optional %{name} plugin to listen for process starts and exits via netlink.
+
+
+%package plugin-sysevent
+Summary:        Sysevent plugin for %{name}
+Group:          System/Monitoring
+Requires:       %{name} = %{version}-%{release}
+
+%description plugin-sysevent
+Optional %{name} plugin to listen to rsyslog events and submit matched values.
+.
+
 %package plugins-all
 Summary:        All Monitoring Plugins for %{name}
 Group:          System/Monitoring
 Requires:       %{name} = %{version}-%{release}
+Requires:       %{name}-plugin-connectivity = %{version}-%{release}
 Requires:       %{name}-plugin-dbi = %{version}-%{release}
+%if 0%{?sle_version} < 150000  || 0%{?is_opensuse}
 Requires:       %{name}-plugin-gps = %{version}-%{release}
+%endif
 Requires:       %{name}-plugin-ipmi = %{version}-%{release}
 Requires:       %{name}-plugin-java = %{version}-%{release}
 Requires:       %{name}-plugin-lua = %{version}-%{release}
+%if %{?lvm2app}
 Requires:       %{name}-plugin-lvm = %{version}-%{release}
+%endif
 Requires:       %{name}-plugin-mcelog = %{version}-%{release}
 Requires:       %{name}-plugin-memcachec = %{version}-%{release}
 Requires:       %{name}-plugin-mysql = %{version}-%{release}
@@ -411,11 +474,16 @@
 Requires:       %{name}-plugin-pcie = %{version}-%{release}
 Requires:       %{name}-plugin-pinba = %{version}-%{release}
 Requires:       %{name}-plugin-postgresql = %{version}-%{release}
+Requires:       %{name}-plugin-procevent = %{version}-%{release}
 Requires:       %{name}-plugin-python3 = %{version}-%{release}
+%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
 Requires:       %{name}-plugin-sigrok = %{version}-%{release}
+%endif
 Requires:       %{name}-plugin-smart = %{version}-%{release}
 Requires:       %{name}-plugin-snmp = %{version}-%{release}
 Requires:       %{name}-plugin-synproxy = %{version}-%{release}
+Requires:       %{name}-plugin-sysevent = %{version}-%{release}
+Requires:       %{name}-plugin-uptime = %{version}-%{release}
 Requires:       %{name}-plugin-virt = %{version}-%{release}
 Requires:       %{name}-plugin-write_stackdriver = %{version}-%{release}
 Requires:       %{name}-plugin-write_syslog = %{version}-%{release}
@@ -688,9 +756,11 @@
 %{_libdir}/collectd/snmp*.la
 %{_mandir}/man5/collectd-snmp.5%{?ext_man}
 
+%if %{?lvm2app}
 %files plugin-lvm
 %{_libdir}/collectd/lvm.so
 %{_libdir}/collectd/lvm.la
+%endif
 
 %files plugin-pinba
 %{_libdir}/collectd/pinba.so
@@ -733,10 +803,18 @@
 %{_libdir}/collectd/memcachec.so
 %{_libdir}/collectd/memcachec.la
 
+%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
+
 %files plugin-sigrok
 %{_libdir}/collectd/sigrok.so
 %{_libdir}/collectd/sigrok.la
 
+%files plugin-gps
+%{_libdir}/collectd/gps.so
+%{_libdir}/collectd/gps.la
+
+%endif
+
 %files plugin-smart
 %{_libdir}/collectd/smart.so
 %{_libdir}/collectd/smart.la
@@ -746,10 +824,6 @@
 %{_libdir}/collectd/lua.la
 %{_mandir}/man5/collectd-lua.5%{?ext_man}
 
-%files plugin-gps
-%{_libdir}/collectd/gps.so
-%{_libdir}/collectd/gps.la
-
 %files plugin-openldap
 %{_libdir}/collectd/openldap.so
 %{_libdir}/collectd/openldap.la
@@ -774,6 +848,22 @@
 %{_libdir}/collectd/write_syslog.so
 %{_libdir}/collectd/write_syslog.la
 
+%files plugin-uptime
+%{_libdir}/collectd/check_uptime.la
+%{_libdir}/collectd/check_uptime.so
+
+%files plugin-connectivity
+%{_libdir}/collectd/connectivity.la
+%{_libdir}/collectd/connectivity.so
+
+%files plugin-procevent
+%{_libdir}/collectd/procevent.la
+%{_libdir}/collectd/procevent.so
+
+%files plugin-sysevent
+%{_libdir}/collectd/sysevent.la
+%{_libdir}/collectd/sysevent.so
+
 %if 0%{?suse_version} >= 1330
 %files plugin-nut
 %{_libdir}/collectd/nut.so

++++++ 9e36cd85a2bb_sigrok_Update_to_support_libsigrok_0_4.patch ++++++
--- /var/tmp/diff_new_pack.WmIyem/_old  2019-11-26 17:10:16.879884437 +0100
+++ /var/tmp/diff_new_pack.WmIyem/_new  2019-11-26 17:10:16.879884437 +0100
@@ -34,11 +34,11 @@
 @@ -127,22 +127,22 @@ static int sigrok_config(oconfig_item_t *ci) {
    return 0;
  }
- 
+
 -static const char *sigrok_value_type(const struct sr_datafeed_analog *analog) 
{
 +static const char *sigrok_value_type(const struct sr_analog_meaning *meaning) 
{
    const char *s;
- 
+
 -  if (analog->mq == SR_MQ_VOLTAGE)
 +  if (meaning->mq == SR_MQ_VOLTAGE)
      s = "voltage";
@@ -70,9 +70,9 @@
 +          sr_dev_inst_driver_get(sdi)->name);
      return;
    }
- 
+
 @@ -191,11 +191,11 @@ static void sigrok_feed_callback(const struct 
sr_dev_inst *sdi,
- 
+
    /* Ignore all but the first sample on the first probe. */
    analog = packet->payload;
 -  vl.values = &(value_t){.gauge = analog->data[0]};
@@ -82,39 +82,39 @@
    sstrncpy(vl.plugin_instance, cfdev->name, sizeof(vl.plugin_instance));
 -  sstrncpy(vl.type, sigrok_value_type(analog), sizeof(vl.type));
 +  sstrncpy(vl.type, sigrok_value_type(&analog->meaning[0]), sizeof(vl.type));
- 
+
    plugin_dispatch_values(&vl);
    cfdev->last_dispatch = cdtime();
 @@ -207,6 +207,7 @@ static void sigrok_free_drvopts(struct sr_config *src) {
  }
- 
+
  static int sigrok_init_driver(struct config_device *cfdev,
 +                              struct sr_session *session,
                                struct sr_dev_driver *drv) {
    struct sr_config *src;
    GSList *devlist, *drvopts;
-@@ -248,21 +249,22 @@ static int sigrok_init_driver(struct config_device 
*cfdev,
+@@ -248,21 +249,22 @@
    cfdev->sdi = devlist->data;
    g_slist_free(devlist);
-   snprintf(hwident, sizeof(hwident), "%s %s %s",
--           cfdev->sdi->vendor ? cfdev->sdi->vendor : "",
--           cfdev->sdi->model ? cfdev->sdi->model : "",
--           cfdev->sdi->version ? cfdev->sdi->version : "");
-+           sr_dev_inst_vendor_get(cfdev->sdi),
-+           sr_dev_inst_model_get(cfdev->sdi),
-+           sr_dev_inst_version_get(cfdev->sdi));
+   ssnprintf(hwident, sizeof(hwident), "%s %s %s",
+-            cfdev->sdi->vendor ? cfdev->sdi->vendor : "",
+-            cfdev->sdi->model ? cfdev->sdi->model : "",
+-            cfdev->sdi->version ? cfdev->sdi->version : "");
++          sr_dev_inst_vendor_get(cfdev->sdi),
++          sr_dev_inst_model_get(cfdev->sdi),
++          sr_dev_inst_version_get(cfdev->sdi));
    INFO("sigrok plugin: Device \"%s\" is a %s", cfdev->name, hwident);
- 
+
    if (sr_dev_open(cfdev->sdi) != SR_OK)
      return -1;
- 
+
 -  if (sr_session_dev_add(cfdev->sdi) != SR_OK)
 +  if (sr_session_dev_add(session, cfdev->sdi) != SR_OK)
      return -1;
- 
+
    return 1;
  }
- 
+
  static void *sigrok_read_thread(void *arg __attribute__((unused))) {
 +  struct sr_session *session;
    struct sr_dev_driver *drv, **drvlist;
@@ -123,11 +123,11 @@
 @@ -277,11 +279,11 @@ static void *sigrok_read_thread(void *arg 
__attribute__((unused))) {
      return NULL;
    }
- 
+
 -  if (!sr_session_new())
 +  if (!sr_session_new(sr_ctx, &session))
      return NULL;
- 
+
    num_devices = 0;
 -  drvlist = sr_driver_list();
 +  drvlist = sr_driver_list(sr_ctx);
@@ -137,38 +137,38 @@
 @@ -296,7 +298,7 @@ static void *sigrok_read_thread(void *arg 
__attribute__((unused))) {
        return NULL;
      }
- 
+
 -    if ((ret = sigrok_init_driver(cfdev, drv)) < 0)
 +    if ((ret = sigrok_init_driver(cfdev, session, drv)) < 0)
        /* Error was already logged. */
        return NULL;
- 
+
 @@ -305,21 +307,22 @@ static void *sigrok_read_thread(void *arg 
__attribute__((unused))) {
- 
+
    if (num_devices > 0) {
      /* Do this only when we're sure there's hardware to talk to. */
 -    if (sr_session_datafeed_callback_add(sigrok_feed_callback, NULL) != SR_OK)
 +    if (sr_session_datafeed_callback_add(session, sigrok_feed_callback,
 +                                         NULL) != SR_OK)
        return NULL;
- 
+
      /* Start acquisition on all devices. */
 -    if (sr_session_start() != SR_OK)
 +    if (sr_session_start(session) != SR_OK)
        return NULL;
- 
+
      /* Main loop, runs forever. */
 -    sr_session_run();
 +    sr_session_run(session);
- 
+
 -    sr_session_stop();
 -    sr_session_dev_remove_all();
 +    sr_session_stop(session);
 +    sr_session_dev_remove_all(session);
    }
- 
+
 -  sr_session_destroy();
 +  sr_session_destroy(session);
- 
+
    sr_exit(sr_ctx);
- 
+

++++++ collectd-5.9.0.tar.bz2 -> collectd-5.10.0.tar.bz2 ++++++
++++ 36209 lines of diff (skipped)


Reply via email to