pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/rsyslog Update sysutils/rsyslog to 8.19.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a84e0c51a05
branches:  trunk
changeset: 348661:4a84e0c51a05
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Fri Jun 17 14:14:04 2016 +0000

description:
Update sysutils/rsyslog to 8.19.0.

Version 8.19.0 [v8-stable] 2016-05-31
- NEW BUILD REQUIREMENT: autoconf-archive
- omelasticsearch: add option to permit unsigned certs (experimentally)
  This adds plumbing as suggested by Joerg Heinemann and Radu Gheorghe,
  but is otherwise untested. Chances are good it works. If you use it,
  please let us know your experience and most importantly any bug
  reports you may have.
  closes https://github.com/rsyslog/rsyslog/issues/89
- imrelp: better error codes on unvailablity of TLS options
  Most importantly, we will tell the user in clear words if specific TLS
  options are not available due to too-old GnuTLS.
  closes https://github.com/rsyslog/rsyslog/issues/1019
- default stack size for inputs has been explicitely set to 4MiB
  for most platforms, this means a reduction from the default of 10MiB, hower
  it may mean an increas for micro-libc's (some may have as low as 80KiB by
  default).
- testbench: We are now using libfaketime instead of faketime command line
  tool. Make sure you have installed the library and not just the binary!
- refactor stringbuf
  * use only a single string buffer
    ... both for the internal representation as well as the C-String one.
    The module originally tried to support embedded NUL characters, which
    over time has prooven to be not necessary. Rsyslog always encodes
    NUL into escape sequences.
    Also, the dual buffers were used inconsistently, which could lead to
    subtle bugs. With the single buffer, this does no longer happen and
    we also get some improved performance (should be noticable)
    and reduced memory use (a bit).
    closes https://github.com/rsyslog/rsyslog/issues/1033
  * removed no longer used code
  * internal API changes to reflect new needs
  * performance improvements
  * miscellaneous minor cleanup
- fix: potential misadressing in template config processing
  This could cause segfault on startup. Happens when template name shorter
  than two chars and outname is not set. Once we are over startup, things
  work reliably.
- bugfix omfile: async output file writing does not respect flushing
  neither parameter flushInterval nor flushOnTXEnd="on" was respected.
  closes https://github.com/rsyslog/rsyslog/issues/1054
- bugfix imfile: corrupted multi-line message when state data was persisted
  see also https://github.com/rsyslog/rsyslog/issues/874
  Thanks to Magnus Hyllander for the analysis and a patch suggestion.
- bugfix imfile: missing newline after first line of multiline message
  see also https://github.com/rsyslog/rsyslog/issues/843
  Thanks to Magnus Hyllander for the patch.
- bugfix: dynstats unusedMetricTtl bug
  Thanks to Janmejay Singh for fixing this.
- bugfix build system: build was broken on SunOS
  Thanks to Filip Hajny for the patch.
- bugfix: afterRun entry point not correctly called
  The entry point was called at the wrong spot, only when the thread
  had not already terminated by itself. This could cause various
  cleanup to not be done. This affected e.g. imjournal.
  closes https://github.com/rsyslog/rsyslog/issues/882
- bugfix dynstats: do not leak file handles
  Thanks to Janmejay Singh for the patch.
- bugfix omelasticsearch: disable libCURL signal handling
  previously, this could lead to segfaults on connection timeout
  see also https://github.com/rsyslog/rsyslog/pull/1007
  Thanks to Sai Ke WANG for the patch.
- bugfix omelasticsearc: some regressions were fixed
  * error file was no longer written
  * fix for some potential misaddressings
- improved wording: gnutls error message points to potential cause
  What GnutTLS returns us is very unspecific and somehwat misleading, so
  we point to what it most probably is (broken connect).
  see also https://github.com/rsyslog/rsyslog/issues/846
- some general code improvements
  * "fixed" cosmetic memory leaks at shutdown
- build system bugfix: configure can't find gss_acquire_cred on Solaris
  Thanks to github user vlmarek for the patch.
- improvements to the CI environment
  * improvements on the non-raciness of some tests
  * imdiag: avoid races in detecting queue empty status
    This reslolves cases where the testbench terminated rsyslog too early,
    resulting in potential message loss and test failure.
  * omkafka has now dynamic tests
    Thanks to Janmejay Singh for implementing them.
  * try to merge PR to master and run tests; this guards against cross-PR
    regressions and wasn't caught previously. Note that we skip this test
    if we cannot successfully merge. So this is not a replacement for a
    daily full "all-project integration test run".
  * travis has finally enabled elasticsearch tests
    ES was unfortunately not being regularly tested for quite a while due to
    missing environment. This lead to some regressions becoming undetected.
    These were now discovered thanks to the new support on travis. Also, this
    guards against future regressions.
  * imfile has now additional tests and overall better coverage
  * omfile has now additional tests

diffstat:

 sysutils/rsyslog/Makefile.common                         |   4 ++--
 sysutils/rsyslog/distinfo                                |  12 +++++-------
 sysutils/rsyslog/patches/patch-plugins_ommysql_ommysql.c |  14 --------------
 sysutils/rsyslog/patches/patch-plugins_ompgsql_ompgsql.c |  14 --------------
 4 files changed, 7 insertions(+), 37 deletions(-)

diffs (80 lines):

diff -r 16e23ca0621a -r 4a84e0c51a05 sysutils/rsyslog/Makefile.common
--- a/sysutils/rsyslog/Makefile.common  Fri Jun 17 14:04:14 2016 +0000
+++ b/sysutils/rsyslog/Makefile.common  Fri Jun 17 14:14:04 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.20 2016/04/21 09:16:43 fhajny Exp $
+# $NetBSD: Makefile.common,v 1.21 2016/06/17 14:14:04 fhajny Exp $
 # used by sysutils/rsyslog/Makefile
 # used by sysutils/rsyslog-dbi/Makefile
 # used by sysutils/rsyslog-elasticsearch/Makefile
@@ -12,7 +12,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-DISTNAME=              rsyslog-8.18.0
+DISTNAME=              rsyslog-8.19.0
 CATEGORIES=            sysutils
 MASTER_SITES=          http://www.rsyslog.com/files/download/rsyslog/
 
diff -r 16e23ca0621a -r 4a84e0c51a05 sysutils/rsyslog/distinfo
--- a/sysutils/rsyslog/distinfo Fri Jun 17 14:04:14 2016 +0000
+++ b/sysutils/rsyslog/distinfo Fri Jun 17 14:14:04 2016 +0000
@@ -1,17 +1,15 @@
-$NetBSD: distinfo,v 1.17 2016/04/22 16:52:14 jperkin Exp $
+$NetBSD: distinfo,v 1.18 2016/06/17 14:14:04 fhajny Exp $
 
-SHA1 (rsyslog-8.18.0.tar.gz) = aea11258e2d25986c13541d2077f4913f28ce34e
-RMD160 (rsyslog-8.18.0.tar.gz) = 4b12d52db40a5cceff23ee71c5789f4902c73b5f
-SHA512 (rsyslog-8.18.0.tar.gz) = 6b159ba23100b4675576f5b247d2bf482bab0beaa071c26c692c99e50f202b0b272b7a64ba2b7c726390d663677b7a6d68666b06f73825e35605b13ae0930fc7
-Size (rsyslog-8.18.0.tar.gz) = 2261731 bytes
+SHA1 (rsyslog-8.19.0.tar.gz) = 3009080ac177d6293b8c460e920a1370075fcbf3
+RMD160 (rsyslog-8.19.0.tar.gz) = 07ca168cf97f65380e5d765691f8350ea7b884ff
+SHA512 (rsyslog-8.19.0.tar.gz) = 77c40c9d76591ed3561ec76242be2c647848533df5599320ea988cbc200614c47930e0b63f190d31a0c1cec2443d57ca374f07e0909f11eba8a4bd4b8eee0e44
+Size (rsyslog-8.19.0.tar.gz) = 2279714 bytes
 SHA1 (patch-grammar_lexer.l) = d52518e8b962820a030e01fcf5d00c1e3f1377ec
 SHA1 (patch-platform_redhat_rsyslog.conf) = b2fc1dbeb2b679b82d6c1a86ec1e4e72ef460433
 SHA1 (patch-plugins_imfile_imfile.c) = 65b56f6799e2b206e1a8c3d055a4e9dc22da88be
 SHA1 (patch-plugins_imptcp_imptcp.c) = 47f7184acf0279df4117924108f961529b22a21e
 SHA1 (patch-plugins_imuxsock_imuxsock.c) = a3c682d5a2132cd4796893f286193259087223da
 SHA1 (patch-plugins_mmexternal_mmexternal.c) = 09b8007f44abc9a20fed884a132e734c8b613fb4
-SHA1 (patch-plugins_ommysql_ommysql.c) = d3a1d3837d64a38a8e3064c30fb95bf3efb70877
-SHA1 (patch-plugins_ompgsql_ompgsql.c) = 549197b89efed1e8f45f536f58dafd67df3d462d
 SHA1 (patch-runtime_lookup.c) = cedb0531ff00063d44467029beba852ce4fbc0be
 SHA1 (patch-runtime_nsd__ptcp.c) = fcc8bdd5c5068cc0fb2f3b29d53a6bee41c7a437
 SHA1 (patch-tools_rsyslogd.8) = a3c79f551111b7bf5933ca5e0930b1f52875f341
diff -r 16e23ca0621a -r 4a84e0c51a05 sysutils/rsyslog/patches/patch-plugins_ommysql_ommysql.c
--- a/sysutils/rsyslog/patches/patch-plugins_ommysql_ommysql.c  Fri Jun 17 14:04:14 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-plugins_ommysql_ommysql.c,v 1.1 2016/04/21 09:16:44 fhajny Exp $
-
-Need netdb.h for MAXHOSTNAMELEN.
-
---- plugins/ommysql/ommysql.c.orig     2016-04-15 07:33:14.000000000 +0000
-+++ plugins/ommysql/ommysql.c
-@@ -33,6 +33,7 @@
- #include <signal.h>
- #include <errno.h>
- #include <time.h>
-+#include <netdb.h>
- #include <mysql.h>
- #include "conf.h"
- #include "syslogd-types.h"
diff -r 16e23ca0621a -r 4a84e0c51a05 sysutils/rsyslog/patches/patch-plugins_ompgsql_ompgsql.c
--- a/sysutils/rsyslog/patches/patch-plugins_ompgsql_ompgsql.c  Fri Jun 17 14:04:14 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-plugins_ompgsql_ompgsql.c,v 1.1 2016/04/21 09:16:44 fhajny Exp $
-
-Need netdb.h for MAXHOSTNAMELEN.
-
---- plugins/ompgsql/ompgsql.c.orig     2016-04-15 07:33:14.000000000 +0000
-+++ plugins/ompgsql/ompgsql.c
-@@ -39,6 +39,7 @@
- #include <signal.h>
- #include <errno.h>
- #include <time.h>
-+#include <netdb.h>
- #include <libpq-fe.h>
- #include "conf.h"
- #include "syslogd-types.h"



Home | Main Index | Thread Index | Old Index