collectd: update to 5.9.2
authorHannu Nyman <redacted>
Wed, 9 Oct 2019 17:56:21 +0000 (20:56 +0300)
committerHannu Nyman <redacted>
Wed, 9 Oct 2019 17:56:21 +0000 (20:56 +0300)
Update collectd to 5.9.2

Mainly bug fixes:
https://github.com/collectd/collectd/blob/dfb9dd09fe3a6864c8cf85eb92e826c289e6d6d2/ChangeLog

Signed-off-by: Hannu Nyman <redacted>
utils/collectd/Makefile
utils/collectd/patches/300-delay-first-read-cycle.patch
utils/collectd/patches/600-fix-libmodbus-detection.patch
utils/collectd/patches/700-disable-sys-capability-check.patch
utils/collectd/patches/900-add-iwinfo-plugin.patch

index 02b1b53972205aa8163f85edfa13f7d71d151ee4..fc3695c78bc3b6dfc2b20e9bbd8acacdeebc0985 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=collectd
-PKG_VERSION:=5.9.0
-PKG_RELEASE:=7
+PKG_VERSION:=5.9.2
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://collectd.org/files/ \
        https://github.com/collectd/collectd/releases/download/collectd-$(PKG_VERSION)
-PKG_HASH:=7b220f8898a061f6e7f29a8c16697d1a198277f813da69474a67911097c0626b
+PKG_HASH:=917c483608b9b38438b121737b510c3d68f335c091bc286aa6ebcc0c8e372a09
 
 PKG_FIXUP:=autoreconf
 PKG_REMOVE_FILES:=aclocal.m4 libltdl/aclocal.m4
index 6c6d1b116cca473cb5e0f7e3b1c6fe9dd1e3ceb8..2554ba8304c631b402c3c2fbe9a900c3dd560f22 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/daemon/plugin.c
 +++ b/src/daemon/plugin.c
-@@ -1085,7 +1085,7 @@ static int plugin_insert_read(read_func_
+@@ -1087,7 +1087,7 @@ static int plugin_insert_read(read_func_
    int status;
    llentry_t *le;
  
index 7b22b6a8955d5df9bd8c42db33967d446589c09b..8c5d1722582a4dc7536f0c6b8ccaeda30951f71f 100644 (file)
@@ -18,7 +18,7 @@ Reversed patch to be applied:
 
 --- a/configure.ac
 +++ b/configure.ac
-@@ -3399,9 +3399,9 @@ if test "x$with_libmodbus" = "xyes"; the
+@@ -3393,9 +3393,9 @@ if test "x$with_libmodbus" = "xyes"; the
    SAVE_CPPFLAGS="$CPPFLAGS"
    CPPFLAGS="$CPPFLAGS $with_libmodbus_cflags"
  
index c5126731efcab8e612065faf8892702b049a69ba..8b3068707625c8ecc121921495a393c0fa87f888 100644 (file)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -531,11 +531,7 @@ if test "x$ac_system" = "xLinux"; then
+@@ -532,11 +532,7 @@ if test "x$ac_system" = "xLinux"; then
      [have_cpuid_h="no (cpuid.h not found)"]
    )
  
index ff0269b8388702cb9a099edb89e44cc3b980714b..e10528df80f1d67073b6f3453c09fe7d96512259 100644 (file)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -721,6 +721,11 @@ AC_CACHE_CHECK([whether clock_boottime a
+@@ -712,6 +712,11 @@ AC_CACHE_CHECK([whether clock_boottime a
    ]
  )
  
@@ -12,7 +12,7 @@
  
  #
  # Checks for typedefs, structures, and compiler characteristics.
-@@ -6392,6 +6397,7 @@ plugin_ipc="no"
+@@ -6394,6 +6399,7 @@ plugin_ipc="no"
  plugin_ipmi="no"
  plugin_ipvs="no"
  plugin_irq="no"
@@ -20,7 +20,7 @@
  plugin_load="no"
  plugin_log_logstash="no"
  plugin_mcelog="no"
-@@ -6826,6 +6832,7 @@ AC_PLUGIN([ipmi],                [$plugi
+@@ -6828,6 +6834,7 @@ AC_PLUGIN([ipmi],                [$plugi
  AC_PLUGIN([iptables],            [$with_libiptc],             [IPTables rule counters])
  AC_PLUGIN([ipvs],                [$plugin_ipvs],              [IPVS connection statistics])
  AC_PLUGIN([irq],                 [$plugin_irq],               [IRQ statistics])
@@ -28,7 +28,7 @@
  AC_PLUGIN([java],                [$with_java],                [Embed the Java Virtual Machine])
  AC_PLUGIN([load],                [$plugin_load],              [System load])
  AC_PLUGIN([log_logstash],        [$plugin_log_logstash],      [Logstash json_event compatible logging])
-@@ -7193,6 +7200,7 @@ AC_MSG_RESULT([    libyajl . . . . . . .
+@@ -7197,6 +7204,7 @@ AC_MSG_RESULT([    libyajl . . . . . . .
  AC_MSG_RESULT([    oracle  . . . . . . . $with_oracle])
  AC_MSG_RESULT([    protobuf-c  . . . . . $have_protoc_c])
  AC_MSG_RESULT([    protoc 3  . . . . . . $have_protoc3])
@@ -36,7 +36,7 @@
  AC_MSG_RESULT()
  AC_MSG_RESULT([  Features:])
  AC_MSG_RESULT([    daemon mode . . . . . $enable_daemon])
-@@ -7253,6 +7261,7 @@ AC_MSG_RESULT([    ipmi  . . . . . . . .
+@@ -7257,6 +7265,7 @@ AC_MSG_RESULT([    ipmi  . . . . . . . .
  AC_MSG_RESULT([    iptables  . . . . . . $enable_iptables])
  AC_MSG_RESULT([    ipvs  . . . . . . . . $enable_ipvs])
  AC_MSG_RESULT([    irq . . . . . . . . . $enable_irq])
 +}
 --- a/src/types.db
 +++ b/src/types.db
-@@ -240,6 +240,7 @@ voltage_threshold       value:GAUGE:U:U,
+@@ -240,6 +240,7 @@ snr                     value:GAUGE:0:U
  spam_check              value:GAUGE:0:U
  spam_score              value:GAUGE:U:U
  spl                     value:GAUGE:U:U
  tcp_connections         value:GAUGE:0:4294967295
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -1149,6 +1149,14 @@ irq_la_LDFLAGS = $(PLUGIN_LDFLAGS)
+@@ -1150,6 +1150,14 @@ irq_la_LDFLAGS = $(PLUGIN_LDFLAGS)
  irq_la_LIBADD = libignorelist.la
  endif
  
git clone https://git.99rst.org/PROJECT