pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils Update sysutils/rsyslog to 8.22.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f00533c21c63
branches: trunk
changeset: 354122:f00533c21c63
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Thu Oct 20 10:05:11 2016 +0000
description:
Update sysutils/rsyslog to 8.22.0.
Version 8.22.0 [v8-stable] 2016-10-04
- ompgsql: add template support
Thanks to Radu Gheorghe for implementing this.
- generate somewhat better error message on config file syntax error
a common case (object at invalid location) has received it's own error
message; for the rest we still rely on the generic flex/bison handler
- bugfix:omhiredis reconnects after failure
previously it could loose messages under such conditions.
Thanks to Bob Gregory for the patch.
- general cleanup and code improvement
mostly guided by compiler warnings induced by newer opensuse builbot
environment
------------------------------------------------------------------------------
Version 8.21.0 [v8-stable] 2016-08-23
- CHANGE OF BEHAVIOUR:
by default, internal messages are no longer logged via the internal
bridge to rsyslog but via the syslog() API call [either directly or
via liblogging). For the typical single-rsyslogd-instance installation this
is mostly unnoticable (except for some additional latency). If multiple
instances are run, only the "main" (the one processing system log messages)
will see all messages. To return to the old behaviour, do either of those
two:
1) add in rsyslog.conf:
global(processInternalMessages="on")
2) export the environment variable RSYSLOG_DFLT_LOG_INTERNAL=1
This will set a new default - the value can still be overwritten via
rsyslog.conf (method 1). Note that the environment variable must be
set in your **startup script**.
For more information, please visit
http://www.rsyslog.com/rsyslog-error-reporting-improved/
- slightly improved TLS syslog error messages
- queue subsystem: improved robustness
The .qi file is now persisted whenever an existing queue file is fully
written and a new file is begun. This helps with rsyslog aborts, including
the common case where the OS issues kill -9 because of insufficiently
configured termination timout (this is an OS config error, but a frequent
one). Also, a situation where an orphaned empty file could be left in the
queue work directory has been fixed. We expect that this change causes
fewer permanent queue failures.
- bugfix: build failed on some platforms due to missing include files
diffstat:
sysutils/rsyslog-elasticsearch/Makefile | 6 +++---
sysutils/rsyslog-gnutls/Makefile | 3 +--
sysutils/rsyslog-pgsql/Makefile | 3 +--
sysutils/rsyslog/Makefile.common | 4 ++--
sysutils/rsyslog/distinfo | 12 ++++++------
sysutils/rsyslog/patches/patch-tools_rsyslogd.c | 12 ++++++------
6 files changed, 19 insertions(+), 21 deletions(-)
diffs (122 lines):
diff -r 9c431afc2acc -r f00533c21c63 sysutils/rsyslog-elasticsearch/Makefile
--- a/sysutils/rsyslog-elasticsearch/Makefile Thu Oct 20 09:02:42 2016 +0000
+++ b/sysutils/rsyslog-elasticsearch/Makefile Thu Oct 20 10:05:11 2016 +0000
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.4 2016/10/07 18:26:11 adam Exp $
+# $NetBSD: Makefile,v 1.5 2016/10/20 10:05:11 fhajny Exp $
#
RSYSLOG_MOD= elasticsearch
PKGNAME= ${DISTNAME:S/rsyslog/rsyslog-${RSYSLOG_MOD}/}
-PKGREVISION= 1
DEPENDS+= rsyslog>=${PKGVERSION_NOREV}:../../sysutils/rsyslog
.include "../../sysutils/rsyslog/Makefile.common"
CONFIGURE_ARGS+= --enable-elasticsearch
-BUILD_DIRS= plugins/omelasticsearch
+
+BUILD_DIRS= plugins/omelasticsearch
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 9c431afc2acc -r f00533c21c63 sysutils/rsyslog-gnutls/Makefile
--- a/sysutils/rsyslog-gnutls/Makefile Thu Oct 20 09:02:42 2016 +0000
+++ b/sysutils/rsyslog-gnutls/Makefile Thu Oct 20 10:05:11 2016 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2016/09/19 13:04:28 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2016/10/20 10:05:11 fhajny Exp $
#
RSYSLOG_MOD= gnutls
PKGNAME= ${DISTNAME:S/rsyslog/rsyslog-${RSYSLOG_MOD}/}
-PKGREVISION= 1
DEPENDS+= rsyslog>=${PKGVERSION_NOREV}:../../sysutils/rsyslog
diff -r 9c431afc2acc -r f00533c21c63 sysutils/rsyslog-pgsql/Makefile
--- a/sysutils/rsyslog-pgsql/Makefile Thu Oct 20 09:02:42 2016 +0000
+++ b/sysutils/rsyslog-pgsql/Makefile Thu Oct 20 10:05:11 2016 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2016/10/09 21:42:03 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2016/10/20 10:05:11 fhajny Exp $
#
RSYSLOG_MOD= pgsql
PKGNAME= ${DISTNAME:S/rsyslog/rsyslog-${RSYSLOG_MOD}/}
-PKGREVISION= 1
DEPENDS+= rsyslog>=${PKGVERSION_NOREV}:../../sysutils/rsyslog
diff -r 9c431afc2acc -r f00533c21c63 sysutils/rsyslog/Makefile.common
--- a/sysutils/rsyslog/Makefile.common Thu Oct 20 09:02:42 2016 +0000
+++ b/sysutils/rsyslog/Makefile.common Thu Oct 20 10:05:11 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2016/08/09 11:55:41 fhajny Exp $
+# $NetBSD: Makefile.common,v 1.23 2016/10/20 10:05:11 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.20.0
+DISTNAME= rsyslog-8.22.0
CATEGORIES= sysutils
MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/
diff -r 9c431afc2acc -r f00533c21c63 sysutils/rsyslog/distinfo
--- a/sysutils/rsyslog/distinfo Thu Oct 20 09:02:42 2016 +0000
+++ b/sysutils/rsyslog/distinfo Thu Oct 20 10:05:11 2016 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.19 2016/08/09 11:55:41 fhajny Exp $
+$NetBSD: distinfo,v 1.20 2016/10/20 10:05:11 fhajny Exp $
-SHA1 (rsyslog-8.20.0.tar.gz) = 1863ce688d2e5cc134677f4f98c63b756dc908d7
-RMD160 (rsyslog-8.20.0.tar.gz) = e5ad874894e132648f6fbf1c2d8c56ec7e6748da
-SHA512 (rsyslog-8.20.0.tar.gz) = 179b61e4d5393633909bf718cf9b187d34161e9e4395fa2577cfc4f2c35a50e3f9128de376b1a0bb9dc3dd112857d377e553f10e5332719df35e98f9cd631e2b
-Size (rsyslog-8.20.0.tar.gz) = 2287709 bytes
+SHA1 (rsyslog-8.22.0.tar.gz) = 4805628cfed4c6fa6941e7b988886ecd3d911966
+RMD160 (rsyslog-8.22.0.tar.gz) = 44c28fdaecade5a6f5b893657f9f6aa4b3726e2c
+SHA512 (rsyslog-8.22.0.tar.gz) = 105c7a81bd96c6b68b9e9f4d1ae06e63bf531afe4dfd91efb73b2a96e8264270579ccacc6a1bf77ad284913fb7f4bac55f83c5b38f7fa7675f6c4a6fa9b2f3ca
+Size (rsyslog-8.22.0.tar.gz) = 2259652 bytes
SHA1 (patch-grammar_lexer.l) = d52518e8b962820a030e01fcf5d00c1e3f1377ec
SHA1 (patch-platform_redhat_rsyslog.conf) = b2fc1dbeb2b679b82d6c1a86ec1e4e72ef460433
SHA1 (patch-plugins_imfile_imfile.c) = 65b56f6799e2b206e1a8c3d055a4e9dc22da88be
@@ -13,5 +13,5 @@
SHA1 (patch-runtime_lookup.c) = cedb0531ff00063d44467029beba852ce4fbc0be
SHA1 (patch-runtime_nsd__ptcp.c) = fcc8bdd5c5068cc0fb2f3b29d53a6bee41c7a437
SHA1 (patch-tools_rsyslogd.8) = a3c79f551111b7bf5933ca5e0930b1f52875f341
-SHA1 (patch-tools_rsyslogd.c) = 5d480bc32f44ee308acad76588b250f8a56d894f
+SHA1 (patch-tools_rsyslogd.c) = 116f75e4e3edf32f339a2e66591b8a3d681d804f
SHA1 (patch-tools_syslogd.c) = 6855271d05da979d53ae7cee167163a563922b00
diff -r 9c431afc2acc -r f00533c21c63 sysutils/rsyslog/patches/patch-tools_rsyslogd.c
--- a/sysutils/rsyslog/patches/patch-tools_rsyslogd.c Thu Oct 20 09:02:42 2016 +0000
+++ b/sysutils/rsyslog/patches/patch-tools_rsyslogd.c Thu Oct 20 10:05:11 2016 +0000
@@ -1,18 +1,18 @@
-$NetBSD: patch-tools_rsyslogd.c,v 1.3 2015/01/16 16:58:28 fhajny Exp $
+$NetBSD: patch-tools_rsyslogd.c,v 1.4 2016/10/20 10:05:11 fhajny Exp $
Need errno.h on NetBSD. Default PID file path.
---- tools/rsyslogd.c.orig 2015-01-12 08:49:44.000000000 +0000
+--- tools/rsyslogd.c.orig 2016-08-23 12:15:33.000000000 +0000
+++ tools/rsyslogd.c
-@@ -29,7 +29,7 @@
- #ifdef HAVE_LIBLOGGING_STDLOG
- # include <liblogging/stdlog.h>
+@@ -32,7 +32,7 @@
+ #else
+ # include <syslog.h>
#endif
-#ifdef OS_SOLARIS
+#if defined(OS_SOLARIS) || defined(OS_BSD)
# include <errno.h>
#else
# include <sys/errno.h>
-@@ -87,7 +87,7 @@ void rsyslogdDoDie(int sig);
+@@ -89,7 +89,7 @@ void rsyslogdDoDie(int sig);
#ifndef PATH_PIDFILE
Home |
Main Index |
Thread Index |
Old Index