Revisions of collectd

Christian Vögl's avatar Christian Vögl (cvoegl) accepted request 768330 from Dominique Leuenberger's avatar Dominique Leuenberger (dimstar) (revision 161)
- Cleanup BuildRequires that are not actually in use:
  pkgconfig(devmapper),  pkgconfig(freetype2), pkgconfig(gail),
  pkgconfig(gdk-2.0),  pkgconfig(gtk+-2.0), pkgconfig(libart-2.0).
buildservice-autocommit accepted request 751118 from Christian Vögl's avatar Christian Vögl (cvoegl) (revision 160)
baserev update by copy to link target
Christian Vögl's avatar Christian Vögl (cvoegl) accepted request 751116 from Christian Vögl's avatar Christian Vögl (cvoegl) (revision 159)
correct typo in changelog, add forgotten jira tag
buildservice-autocommit accepted request 751020 from Christian Vögl's avatar Christian Vögl (cvoegl) (revision 158)
baserev update by copy to link target
Christian Vögl's avatar Christian Vögl (cvoegl) accepted request 750839 from Christian Vögl's avatar Christian Vögl (cvoegl) (revision 157)
- Update to 5.10.0:
 -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
buildservice-autocommit accepted request 709935 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 156)
baserev update by copy to link target
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 709801 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 155)
- Update to 5.9.0:
+- Drop patches (fixed by upstream):
+  * 0001-gps-plugin-fix-build-with-newer-gpsd.patch
+  * Removed-checks-for-upper-limit-of-SENSORS_API_VERSION.patch
+- Add new subpackages:
+  * plugin-pcie
+  * plugin-write_stackdriver
+  * plugin-write_syslog
+
+-------------------------------------------------------------------
 Sun Apr 14 12:37:27 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
 
 - Update to 5.8.1:
Index: collectd.spec
===================================================================
--- collectd.spec (revision 154)
+++ collectd.spec (revision 9)
@@ -42,7 +42,7 @@
 %define sensors_plugin %{nil}
 %endif
 Name:           collectd
-Version:        5.8.1
+Version:        5.9.0
 Release:        0
 Summary:        Statistics Collection Daemon for filling RRD Files
 License:        GPL-2.0-only AND MIT
@@ -62,8 +62,6 @@
 Patch6:         collectd-fix_spamassassin_doc.patch
 Patch7:         collectd-fix_collectd_config_path_in_snmp_probe.patch
 Patch8:         9e36cd85a2bb_sigrok_Update_to_support_libsigrok_0_4.patch
-Patch9:         0001-gps-plugin-fix-build-with-newer-gpsd.patch
-Patch10:        Removed-checks-for-upper-limit-of-SENSORS_API_VERSION.patch
 # PATCH-FIX-OPENSUSE avoid-pg-config.patch avoid pg_config if possible
 Patch11:        avoid-pg-config.patch
 # for /etc/apache2/... ownership (rpmlint):
@@ -110,7 +108,6 @@
 BuildRequires:  pkgconfig(libatasmart)
 BuildRequires:  pkgconfig(libcurl)
 BuildRequires:  pkgconfig(libevent)
-#BuildRequires:  pkgconfig(libgpsd)
 BuildRequires:  pkgconfig(libgps)
 BuildRequires:  pkgconfig(libiptc)
 BuildRequires:  pkgconfig(libmemcached)
@@ -251,6 +248,14 @@
 %description plugin-lvm
 This plugin collects information from lvm.
 
+%package plugin-pcie
+Summary:        PCIe Monitoring Plugin for %{name}
+Group:          System/Monitoring
+Requires:       %{name} = %{version}-%{release}
+
+%description plugin-pcie
+Optional %{name} plugin to monitor PCIe errors.
+
 %package plugin-postgresql
 Summary:        PostgreSQL Monitoring Plugin for %{name}
 Group:          System/Monitoring
@@ -371,6 +376,22 @@
 %description plugin-synproxy
 Optional %{name} plugin to monitor Synproxy stats.
 
+%package plugin-write_stackdriver
+Summary:        Write Stackdriver plugin for %{name}
+Group:          System/Monitoring
+Requires:       %{name} = %{version}-%{release}
+
+%description plugin-write_stackdriver
+Optional %{name} plugin to to write to Google Stackdriver.
+
+%package plugin-write_syslog
+Summary:        Write Syslog plugin for %{name}
+Group:          System/Monitoring
+Requires:       %{name} = %{version}-%{release}
+
+%description plugin-write_syslog
+Optional %{name} plugin to write values lists as syslog messages.
+
 %package plugins-all
 Summary:        All Monitoring Plugins for %{name}
 Group:          System/Monitoring
@@ -387,6 +408,7 @@
 Requires:       %{name}-plugin-notify-desktop = %{version}-%{release}
 Requires:       %{name}-plugin-openldap = %{version}-%{release}
 Requires:       %{name}-plugin-ovs = %{version}-%{release}
+Requires:       %{name}-plugin-pcie = %{version}-%{release}
 Requires:       %{name}-plugin-pinba = %{version}-%{release}
 Requires:       %{name}-plugin-postgresql = %{version}-%{release}
 Requires:       %{name}-plugin-python3 = %{version}-%{release}
@@ -395,6 +417,8 @@
 Requires:       %{name}-plugin-snmp = %{version}-%{release}
 Requires:       %{name}-plugin-synproxy = %{version}-%{release}
 Requires:       %{name}-plugin-virt = %{version}-%{release}
+Requires:       %{name}-plugin-write_stackdriver = %{version}-%{release}
+Requires:       %{name}-plugin-write_syslog = %{version}-%{release}
 Requires:       %{name}-web = %{version}-%{release}
 Requires:       %{name}-web-js = %{version}-%{release}
 %if 0%{?suse_version} >= 1330
@@ -447,8 +471,6 @@
 %if 0%{?suse_version} > 1320
 %patch8 -p1
 %endif
-%patch9 -p1
-%patch10 -p1
 %patch11 -p1
 
 sed -i 's|@@VERSION@@|%{version}|g' configure.ac
@@ -678,6 +700,10 @@
 %{_libdir}/collectd/mysql.so
 %{_libdir}/collectd/mysql.la
 
+%files plugin-pcie
+%{_libdir}/collectd/pcie_errors.so
+%{_libdir}/collectd/pcie_errors.la
+
 %files plugin-postgresql
 %{_libdir}/collectd/postgresql.so
 %{_libdir}/collectd/postgresql.la
@@ -740,6 +766,14 @@
 %{_libdir}/collectd/synproxy.so
 %{_libdir}/collectd/synproxy.la
 
+%files plugin-write_stackdriver
+%{_libdir}/collectd/write_stackdriver.so
+%{_libdir}/collectd/write_stackdriver.la
+
+%files plugin-write_syslog
+%{_libdir}/collectd/write_syslog.so
+%{_libdir}/collectd/write_syslog.la
+
 %if 0%{?suse_version} >= 1330
 %files plugin-nut
 %{_libdir}/collectd/nut.so
Index: collectd-5.9.0.tar.bz2
===================================================================
Binary file collectd-5.9.0.tar.bz2 (revision 9) added
Index: 0001-gps-plugin-fix-build-with-newer-gpsd.patch
===================================================================
--- 0001-gps-plugin-fix-build-with-newer-gpsd.patch (revision 154)
+++ 0001-gps-plugin-fix-build-with-newer-gpsd.patch (deleted)
@@ -1,41 +0,0 @@
-From d5ec9075510601537cc76be4417ab337364506d0 Mon Sep 17 00:00:00 2001
-From: Baruch Siach <baruch@tkos.co.il>
-Date: Tue, 9 Oct 2018 19:57:21 +0300
-Subject: [PATCH] gps plugin: fix build with newer gpsd
-
-gpsd version 3.18 changed the prototype of gps_read(). Make the
-gps_read() call depend on GPSD_API_MAJOR_VERSION to fix that.
-
-This fixes build failures like:
-
-gps.c: In function 'cgps_thread':
-gps.c:144:11: error: too few arguments to function 'gps_read'
-       if (gps_read(&gpsd_conn) == -1) {
-		   ^~~~~~~~
-
-(cherry picked from commit 991a6d3fd38c2435d94de3853fda36b3330cf6ab)
----
- src/gps.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/src/gps.c b/src/gps.c
-index 1d32d049..b22c3a2e 100644
---- a/src/gps.c
-+++ b/src/gps.c
-@@ -141,7 +141,12 @@ static void *cgps_thread(void *pData) {
-         continue;
-       }
- 
--      if (gps_read(&gpsd_conn) == -1) {
-+#if GPSD_API_MAJOR_VERSION > 6
-+      if (gps_read(&gpsd_conn, NULL, 0) == -1)
-+#else
-+      if (gps_read(&gpsd_conn) == -1)
-+#endif
-+      {
-         WARNING("gps plugin: incorrect data! (err_count: %d)", err_count);
-         err_count++;
- 
--- 
-2.16.4
-
Index: Removed-checks-for-upper-limit-of-SENSORS_API_VERSION.patch
===================================================================
--- Removed-checks-for-upper-limit-of-SENSORS_API_VERSION.patch (revision 154)
+++ Removed-checks-for-upper-limit-of-SENSORS_API_VERSION.patch (deleted)
@@ -1,83 +0,0 @@
-From d5a3c020d33cc33ee8049f54c7b4dffcd123bf83 Mon Sep 17 00:00:00 2001
-From: Pavel Rochnyack <pavel2000@ngs.ru>
-Date: Mon, 3 Dec 2018 18:34:14 +0700
-Subject: [PATCH] sensors: Removed checks for upper limit of
- SENSORS_API_VERSION
-
-That makes no more sense after lm-sensors got new maintainers.
-
-Closes: #3006
----
- src/sensors.c | 17 ++++++-----------
- 1 file changed, 6 insertions(+), 11 deletions(-)
-
-diff --git a/src/sensors.c b/src/sensors.c
-index f4ecda5e49..33982e061a 100644
---- a/src/sensors.c
-+++ b/src/sensors.c
-@@ -149,7 +149,7 @@ typedef struct featurelist {
- static char *conffile = SENSORS_CONF_PATH;
- /* #endif SENSORS_API_VERSION < 0x400 */
- 
--#elif (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500)
-+#elif (SENSORS_API_VERSION >= 0x400)
- typedef struct featurelist {
-   const sensors_chip_name *chip;
-   const sensors_feature *feature;
-@@ -159,11 +159,6 @@ typedef struct featurelist {
- 
- static char *conffile = NULL;
- static _Bool use_labels = 0;
--/* #endif (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500) */
--
--#else /* if SENSORS_API_VERSION >= 0x500 */
--#error "This version of libsensors is not supported yet. Please report this " \
--	"as bug."
- #endif
- 
- static featurelist_t *first_feature = NULL;
-@@ -223,7 +218,7 @@ static int sensors_config(const char *key, const char *value) {
-     if (IS_TRUE(value))
-       ignorelist_set_invert(sensor_list, 0);
-   }
--#if (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500)
-+#if (SENSORS_API_VERSION >= 0x400)
-   else if (strcasecmp(key, "UseLabels") == 0) {
-     use_labels = IS_TRUE(value) ? 1 : 0;
-   }
-@@ -353,7 +348,7 @@ static int sensors_load_conf(void) {
-   }   /* while sensors_get_detected_chips */
- /* #endif SENSORS_API_VERSION < 0x400 */
- 
--#elif (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500)
-+#elif (SENSORS_API_VERSION >= 0x400)
-   chip_num = 0;
-   while ((chip = sensors_get_detected_chips(NULL, &chip_num)) != NULL) {
-     const sensors_feature *feature;
-@@ -410,7 +405,7 @@ static int sensors_load_conf(void) {
-       } /* while (subfeature) */
-     }   /* while (feature) */
-   }     /* while (chip) */
--#endif /* (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500) */
-+#endif /* (SENSORS_API_VERSION >= 0x400) */
- 
-   if (first_feature == NULL) {
-     sensors_cleanup();
-@@ -485,7 +480,7 @@ static int sensors_read(void) {
-   } /* for fl = first_feature .. NULL */
- /* #endif SENSORS_API_VERSION < 0x400 */
- 
--#elif (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500)
-+#elif (SENSORS_API_VERSION >= 0x400)
-   for (featurelist_t *fl = first_feature; fl != NULL; fl = fl->next) {
-     double value;
-     int status;
-@@ -528,7 +523,7 @@ static int sensors_read(void) {
- 
-     sensors_submit(plugin_instance, type, type_instance, value);
-   } /* for fl = first_feature .. NULL */
--#endif /* (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500) */
-+#endif /* (SENSORS_API_VERSION >= 0x400) */
- 
-   return 0;
- } /* int sensors_read */
Index: collectd-5.8.1.tar.bz2
===================================================================
Binary file collectd-5.8.1.tar.bz2 (revision 154) deleted
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 694073 from Christophe Giboudeaux's avatar Christophe Giboudeaux (cgiboudeaux) (revision 154)
Update to 5.8.1
Add patch to fix the psql detection on Factory builds.
buildservice-autocommit accepted request 661974 from Lars Vogdt's avatar Lars Vogdt (lrupp) (revision 153)
baserev update by copy to link target
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 661966 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 152)
- Add patch:
  * 0001-gps-plugin-fix-build-with-newer-gpsd.patch
buildservice-autocommit accepted request 615438 from Lars Vogdt's avatar Lars Vogdt (lrupp) (revision 151)
baserev update by copy to link target
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 614917 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 150)
- Fix BuildRequires for collectd-web
- Make apache configuration files compatible with Apache v2.2 and v2.4
buildservice-autocommit accepted request 558934 from Lars Vogdt's avatar Lars Vogdt (lrupp) (revision 149)
baserev update by copy to link target
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 556716 from Stefan Brüns's avatar Stefan Brüns (StefanBruens) (revision 148)
- Buildrequires for gpsd changed, upstream renamed the pkgconfig
  file in gpsd 3.17.
buildservice-autocommit accepted request 537437 from Lars Vogdt's avatar Lars Vogdt (lrupp) (revision 147)
baserev update by copy to link target
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 532580 from Stefan Brüns's avatar Stefan Brüns (StefanBruens) (revision 146)
- Sort list of plugins bundled in main package, add line breaks
- Add BuildRequires for libsigrok and create a sigrok plugin
  subpackage
- Add 9e36cd85a2bb_sigrok_Update_to_support_libsigrok_0_4.patch
  Apply patch conditionally for libsigrok >= 0.4.0, the API
  is different from the libsigrok 0.3.0 API.
buildservice-autocommit accepted request 514040 from Yuchen Lin's avatar Yuchen Lin (maxlin_factory) (revision 145)
baserev update by copy to link target
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 510091 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 144)
- Disable NUT plugin on older distros (broken NUT devel package)
- Make sure we build lvm plugin
- Disable turbostat plugin as it does not work with new kernels
  https://github.com/collectd/collectd/issues/2311
- Version update to 5.7.2:
  * Various small fixes around, notable fix for CVE-2017-7401
- Update buildrequires to include dependencies not detected by
  configure.ac (like python3)
- Disable Werror
- List all the modules in files and thus stick to --enable-all passed
  to configure to avoid having to name them all
- Switch to python3 from python2 as plugin can be built only once...
- Fix build on Factory
- Remove unused collectd-pthread.pc SOURCE file as it does not
  need to be done anymore

- Remove all the always true conditionals for readability
- Convert to pkgconfig style dependencies
- Remove never applied patch collectd-pkgconfig_libnotify_add_gtk.patch

- Disable libdb collectd integration as we would like to reduce
  libdb exposure everywhere. There are other db backends in collectd
  anyway
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 498235 from Jan Engelhardt's avatar Jan Engelhardt (jengelh) (revision 143)
- Trim filler wording from descriptions, resolve orthographic
  errors, and shorten a find–delete call.
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 493297 from Benoît Monin's avatar Benoît Monin (benoit_monin) (revision 142)
- update to version 5.7.1
- refresh patches:
  * collectd-fix_broken_perl-5.10.patch
  * collectd-split_README.patch
  * collectd-version.patch
- drop patch collectd-5.5.2-exec-no-output.diff: fixed upstream
- remove plugin write_riemann: not built anymore
- add new plugins chrony, cpusleep, hugepages, notify_nagios
- add lua-devel as BuildRequires and create a sub-package for the lua plugin
- add gpsd-devel as BuildRequires and create a sub-package for the gps plugin
Displaying revisions 21 - 40 of 181
openSUSE Build Service is sponsored by