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.10.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ebf066efd00c
branches:  trunk
changeset: 652893:ebf066efd00c
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Jun 09 15:00:33 2015 +0000

description:
Update sysutils/rsyslog to 8.10.0.

Version 8.10.0 [v8-stable] 2015-05-19
- imfile: add capability to process multi-line messages based on regex
  input parameter "endmsg.regex" was added for that purpose. The new
  mode provides much more power in processing different multiline-formats.
- pmrfc3164: add new parameters
  * "detect.yearAfterTimestamp"
    This supports timestamps as generated e.g. by some Aruba Networks
    equipment.
  * "permit.squareBracesInHostname"
    Permits to use "hostnames" in the form of "[127.0.0.1]"; also seen in
    Aruba Networks equipment, but we strongly assume this can also happen
    in other cases, especially with IPv6.
- supplementary groups are now set when dropping privileges
  closes https://github.com/rsyslog/rsyslog/issues/296
  Thanks to Zach Lisinski for the patch.
- imfile: added brace glob expansion to wildcard
  Thanks to Zach Lisinski for the patch.
- zmq: add the ability for zeromq input and outputs to advertise their
  presence on UDP via the zbeacon API.
  Thanks to Brian Knox for the contribution.
- added omhttpfs: contributed module for writing to HDFS via HTTP
  Thanks to sskaje for the contribution.
- Configure option "--disable-debug-symbols" added which is disabled per
  default. If you set the new option, configure won't set the appropriate
  compiler flag to generate debug symbols anymore.
- When building from git source we now require rst2man and yacc (or a
  replacement like bison).
  That isn't any new requirement, we only added missing configure checks.
- Configure option "--enable-generate-man-pages" is now disabled for non git
  source builds per default but enforced when building from git source.
- mmpstrucdata: some code cleanup
  removed lots of early development debug outputs
- bugfix imuxsock: fix a crash when setting a hostname
  Setting a hostname via the legacy directive would lead to a crash
  during shutdown caused by a double-free.
  Thanks to Tomas Heinrich for the patch.
- bugfix: memory leak in mmpstrucdata
  Thanks to Gregoire Seux for reporting this issue.
  closes https://github.com/rsyslog/rsyslog/issues/310
- bugfix (minor): default action name: assigned number was one off
  see also https://github.com/rsyslog/rsyslog/pull/340
  Thanks to Tomas Heinrich for the patch.
- bugfix: memory leak in imfile
  A small leak happened each time a new file was monitored based on
  a wildcard. Depending on the rate of file creation, this could result
  in a serious memory leak.

diffstat:

 sysutils/rsyslog/Makefile.common                       |   4 +-
 sysutils/rsyslog/distinfo                              |  10 ++++----
 sysutils/rsyslog/patches/patch-plugins_imfile_imfile.c |  21 +++++++++++++++--
 3 files changed, 25 insertions(+), 10 deletions(-)

diffs (73 lines):

diff -r af1d2785fde1 -r ebf066efd00c sysutils/rsyslog/Makefile.common
--- a/sysutils/rsyslog/Makefile.common  Tue Jun 09 14:56:08 2015 +0000
+++ b/sysutils/rsyslog/Makefile.common  Tue Jun 09 15:00:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.10 2015/06/08 15:08:41 fhajny Exp $
+# $NetBSD: Makefile.common,v 1.11 2015/06/09 15:00:33 fhajny Exp $
 # used by sysutils/rsyslog/Makefile
 # used by sysutils/rsyslog-dbi/Makefile
 # used by sysutils/rsyslog-gnutls/Makefile
@@ -11,7 +11,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-DISTNAME=              rsyslog-8.9.0
+DISTNAME=              rsyslog-8.10.0
 CATEGORIES=            sysutils
 MASTER_SITES=          http://www.rsyslog.com/files/download/rsyslog/
 
diff -r af1d2785fde1 -r ebf066efd00c sysutils/rsyslog/distinfo
--- a/sysutils/rsyslog/distinfo Tue Jun 09 14:56:08 2015 +0000
+++ b/sysutils/rsyslog/distinfo Tue Jun 09 15:00:33 2015 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.5 2015/04/07 14:48:28 fhajny Exp $
+$NetBSD: distinfo,v 1.6 2015/06/09 15:00:33 fhajny Exp $
 
-SHA1 (rsyslog-8.9.0.tar.gz) = e8d767f0c3e0b7ed0e20bf3e2513d3c2d5c30239
-RMD160 (rsyslog-8.9.0.tar.gz) = 4e680813c99404db9d65ba784a9c48a8d9979ad7
-Size (rsyslog-8.9.0.tar.gz) = 2022294 bytes
+SHA1 (rsyslog-8.10.0.tar.gz) = 9fddcf1121e438e5291f738bb4619230de525e50
+RMD160 (rsyslog-8.10.0.tar.gz) = 7902285e72c47d14b9d21071ba6fe85f58ac2162
+Size (rsyslog-8.10.0.tar.gz) = 2013205 bytes
 SHA1 (patch-grammar_lexer.l) = d52518e8b962820a030e01fcf5d00c1e3f1377ec
 SHA1 (patch-platform_redhat_rsyslog.conf) = b2fc1dbeb2b679b82d6c1a86ec1e4e72ef460433
-SHA1 (patch-plugins_imfile_imfile.c) = 6909e68e700d61099d9200fd26072bd7f199639f
+SHA1 (patch-plugins_imfile_imfile.c) = 277d894673444caeb782a513c0d1cdd72c49a849
 SHA1 (patch-plugins_imptcp_imptcp.c) = 47f7184acf0279df4117924108f961529b22a21e
 SHA1 (patch-plugins_imuxsock_imuxsock.c) = a3c682d5a2132cd4796893f286193259087223da
 SHA1 (patch-plugins_mmexternal_mmexternal.c) = 12053abfd32553c4c29faa131b803e7edfaa3803
diff -r af1d2785fde1 -r ebf066efd00c sysutils/rsyslog/patches/patch-plugins_imfile_imfile.c
--- a/sysutils/rsyslog/patches/patch-plugins_imfile_imfile.c    Tue Jun 09 14:56:08 2015 +0000
+++ b/sysutils/rsyslog/patches/patch-plugins_imfile_imfile.c    Tue Jun 09 15:00:33 2015 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-plugins_imfile_imfile.c,v 1.2 2014/12/12 12:47:46 fhajny Exp $
+$NetBSD: patch-plugins_imfile_imfile.c,v 1.3 2015/06/09 15:00:33 fhajny Exp $
 
 Avoid unresolved symbol on inotify-less platforms.
---- plugins/imfile/imfile.c.orig       2014-12-02 10:15:16.000000000 +0000
+--- plugins/imfile/imfile.c.orig       2015-05-19 08:53:40.000000000 +0000
 +++ plugins/imfile/imfile.c
-@@ -1709,11 +1709,14 @@ BEGINrunInput
+@@ -1763,11 +1763,14 @@ BEGINrunInput
  CODESTARTrunInput
        DBGPRINTF("imfile: working in %s mode\n", 
                 (runModConf->opMode == OPMODE_POLLING) ? "polling" : "inotify");
@@ -19,3 +19,18 @@
        DBGPRINTF("imfile: terminating upon request of rsyslog core\n");
  ENDrunInput
  
+@@ -1869,12 +1872,14 @@ CODESTARTmodExit
+       objRelease(errmsg, CORE_COMPONENT);
+       objRelease(prop, CORE_COMPONENT);
+       objRelease(ruleset, CORE_COMPONENT);
++#if HAVE_INOTIFY_INIT
+       if(dirs != NULL) {
+               free(dirs->active.listeners);
+               free(dirs->configured.listeners);
+               free(dirs);
+       }
+       free(wdmap);
++#endif /* #if HAVE_INOTIFY_INIT */
+ ENDmodExit
+ 
+ 



Home | Main Index | Thread Index | Old Index