collectd: update to 5.5.3
authorHannu Nyman <redacted>
Thu, 22 Dec 2016 15:25:05 +0000 (17:25 +0200)
committerHannu Nyman <redacted>
Thu, 22 Dec 2016 15:25:05 +0000 (17:25 +0200)
Update collectd to 5.5.3

Release notes at https://github.com/collectd/collectd/releases/tag/collectd-5.5.3

Signed-off-by: Hannu Nyman <redacted>
utils/collectd/Makefile
utils/collectd/patches/200-fix-git-describe-error.patch
utils/collectd/patches/600-fix-libmodbus-detection.patch
utils/collectd/patches/900-add-iwinfo-plugin.patch
utils/collectd/patches/920-fix-ping-droprate.patch

index 70c055a5490a71ebbd9d00bb4dd5eed1c0d1c40a..70921245eab5624d29c067ae56fb19ad7616e430 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=collectd
-PKG_VERSION:=5.5.2
-PKG_RELEASE:=4
+PKG_VERSION:=5.5.3
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://collectd.org/files/
-PKG_MD5SUM:=40b83343f72089e0330f53965f1140bd
+PKG_MD5SUM:=6f10633d0f73f99ef61472a8e377d4a058de161e80f3353b4b17d394c68f2f44
 
 PKG_FIXUP:=autoreconf
 PKG_REMOVE_FILES:=aclocal.m4 libltdl/aclocal.m4
index 8f570cb48b66de085515257a25acb47627b9d0b5..71f20360cdb3c3c244a9afd18974afe3c51176d8 100644 (file)
@@ -2,7 +2,7 @@
 +++ b/version-gen.sh
 @@ -2,7 +2,7 @@
  
- DEFAULT_VERSION="5.5.2.git"
+ DEFAULT_VERSION="5.5.3.git"
  
 -VERSION="`git describe 2> /dev/null | grep collectd | sed -e 's/^collectd-//'`"
 +#VERSION="`git describe 2> /dev/null | grep collectd | sed -e 's/^collectd-//'`"
index dd0198a511add866be0b3d3cf55006f89bfb4d4d..aacf182fbff9370c5a634c0f471be80c66792e44 100644 (file)
@@ -18,7 +18,7 @@ Reversed patch to be applied:
 
 --- a/configure.ac
 +++ b/configure.ac
-@@ -2626,7 +2626,7 @@ then
+@@ -2627,7 +2627,7 @@ then
        SAVE_CPPFLAGS="$CPPFLAGS"
        CPPFLAGS="$CPPFLAGS $with_libmodbus_cflags"
  
@@ -29,12 +29,12 @@ Reversed patch to be applied:
  fi
 --- a/src/modbus.c
 +++ b/src/modbus.c
-@@ -27,7 +27,7 @@
- #include <netdb.h>
+@@ -26,7 +26,7 @@
+ #include "configfile.h"
+ #include "plugin.h"
  
 -#include <modbus.h>
 +#include <modbus/modbus.h>
+ #include <netdb.h>
+ #include <sys/socket.h>
  
- #ifndef LIBMODBUS_VERSION_CHECK
- /* Assume version 2.0.3 */
index 7f8c1e130b651e4b306b5a78b0f58aa751a72747..d23b09ea1fc3bf2cf67d5500d80a6595b54c734c 100644 (file)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -704,6 +704,9 @@ AC_CHECK_HEADERS(net/pfvar.h,
+@@ -705,6 +705,9 @@ AC_CHECK_HEADERS(net/pfvar.h,
  have_termios_h="no"
  AC_CHECK_HEADERS(termios.h, [have_termios_h="yes"])
  
@@ -67,7 +67,7 @@
  #     JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
 --- a/src/collectd.conf.pod
 +++ b/src/collectd.conf.pod
-@@ -2606,6 +2606,27 @@ and all other interrupts are collected.
+@@ -2612,6 +2612,27 @@ and all other interrupts are collected.
  
  =back
  
index 96a5c22bd38e042e1d8ef0a342fac688e7d220ac..947dc546bab056b216f643298265e11e68c044b8 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/ping.c
 +++ b/src/ping.c
-@@ -658,7 +658,7 @@ static int ping_read (void) /* {{{ */
+@@ -655,7 +655,7 @@ static int ping_read (void) /* {{{ */
            / ((double) (pkg_recv * (pkg_recv - 1))));
  
      /* Calculate drop rate. */
git clone https://git.99rst.org/PROJECT