pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/syslog-ng
Module Name: pkgsrc
Committed By: fhajny
Date: Tue Jan 10 18:54:16 UTC 2017
Modified Files:
pkgsrc/sysutils/syslog-ng: Makefile Makefile.common PLIST distinfo
pkgsrc/sysutils/syslog-ng/patches: patch-configure
Removed Files:
pkgsrc/sysutils/syslog-ng/patches:
patch-modules_afsocket_socket-options-inet.c
Log Message:
Update sysutils/syslog-ng to 3.9.1.
Features
- Improve parsing performance in case of keep-timestamp(no)
- TLS based transports will publish the peer's certificate in a set of
name-value pairs.
- Improve performance of the tcp() source, due to a bug, syslog-ng
attempted to apply position tracking to messages coming over a TCP
transport, which is used for file position tracking and causing
performance degradation.
- Make it possible to configure the listen-backlog() for any stream based
transports (unix-stream and tcp).
- Add a groupunset() rewrite rule that pairs up with groupset() but instead
of setting values it unsets them.
- Add support for Elastic Shield and SearchGuard
- kv-parser() is now able to cope with unquoted values with an embedded
space in them, it also trims whitespace from keys/values and is in
general more reliable in extracting key-value pairs from arbitrary log
messages.
- Improve performance for java based destinations.
- Add prefix() option to add-contextual-data()
Bugfixes
- Fix a potential crash in the file destination, in case it is a template
based filename and time-reap() is elapsed.
- Fix a potential ACK problem within syslog-ng that can cause input windows
to overflow queue sizes over time, effectively causing message drops that
shouldn't occur.
- Fix a heap corruption bug in the DNS cache, in case the maximum number of
DNS cache entries is reached.
- Fix timestamp for suppression messages.
- Fix add-contextual-data() to support CRLF line endings in its CSV input
files.
- Fixed key() option parsing in riemann() destinations.
- Find libsystemd-journal related functions in both libsystemd-journal.so
and libsystemd.so, as recent systemd versions bundled all systemd
related libs into the same library.
- Fixed the build-time detection of system-wide installed librabbitmq,
libmongoc and libcap.
- Fix the file source to repeatedly check for unexisting files, as a bug
caused syslog-ng to stop after two attempts previously.
- The performance testing tool "loggen" crashed if it was used to generate
messages on multiple threads over TLS. This was now fixed.
- Fix an issue in the syslog-parser() parser, so that timestamps parsed
earlier in the log path are properly overwritten.
- Due to a compilation issue, tcp-keepalive-time(), tcp-keepalive-intvl() and
tcp-keepalive-probes() were not working, now they are again.
- The --disable-shm-counters option is now passed to mongo-c-driver to work
around a minor security issue.
- Fix compilation issues on FreeBSD.
- Add support to month names in all caps in syslog timestamps. At least one
device seems to generate these.
- The options() option to java destination can now accept numbers and not
just strings.
- Fix a memory leak in the java destination driver, that may affect java
based destinations like ElasticSearch, Kafka & HDFS.
Other changes
- HDFS was updated to 2.7.3
- Elasticsearch was updated to 2.4.0
- Support was added for OpenSSL 1.1.x
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/sysutils/syslog-ng/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/syslog-ng/Makefile.common
cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/syslog-ng/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/syslog-ng/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/syslog-ng/patches/patch-configure
cvs rdiff -u -r1.1 -r0 \
pkgsrc/sysutils/syslog-ng/patches/patch-modules_afsocket_socket-options-inet.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/syslog-ng/Makefile
diff -u pkgsrc/sysutils/syslog-ng/Makefile:1.28 pkgsrc/sysutils/syslog-ng/Makefile:1.29
--- pkgsrc/sysutils/syslog-ng/Makefile:1.28 Sun Aug 21 20:22:30 2016
+++ pkgsrc/sysutils/syslog-ng/Makefile Tue Jan 10 18:54:15 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2016/08/21 20:22:30 fhajny Exp $
+# $NetBSD: Makefile,v 1.29 2017/01/10 18:54:15 fhajny Exp $
.include "../../sysutils/syslog-ng/Makefile.common"
@@ -34,6 +34,11 @@ PLIST_VARS+= systemd
PLIST.systemd= yes
.endif
+PKGCONFIG_OVERRIDE= libtest/syslog-ng-test.pc.in \
+ syslog-ng-add-contextual-data.pc.in \
+ syslog-ng-native-connector.pc.in \
+ syslog-ng.pc.in
+
post-install:
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/contrib/syslog-ng.conf.doc ${DESTDIR}${DOCDIR}
Index: pkgsrc/sysutils/syslog-ng/Makefile.common
diff -u pkgsrc/sysutils/syslog-ng/Makefile.common:1.4 pkgsrc/sysutils/syslog-ng/Makefile.common:1.5
--- pkgsrc/sysutils/syslog-ng/Makefile.common:1.4 Sun Aug 21 21:31:24 2016
+++ pkgsrc/sysutils/syslog-ng/Makefile.common Tue Jan 10 18:54:15 2017
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.4 2016/08/21 21:31:24 fhajny Exp $
+# $NetBSD: Makefile.common,v 1.5 2017/01/10 18:54:15 fhajny Exp $
# used by sysutils/syslog-ng/Makefile
# used by sysutils/syslog-ng/Makefile.module
-DISTNAME= syslog-ng-3.8.1
+DISTNAME= syslog-ng-3.9.1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=balabit/}
Index: pkgsrc/sysutils/syslog-ng/PLIST
diff -u pkgsrc/sysutils/syslog-ng/PLIST:1.9 pkgsrc/sysutils/syslog-ng/PLIST:1.10
--- pkgsrc/sysutils/syslog-ng/PLIST:1.9 Sun Aug 21 20:18:30 2016
+++ pkgsrc/sysutils/syslog-ng/PLIST Tue Jan 10 18:54:15 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2016/08/21 20:18:30 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.10 2017/01/10 18:54:15 fhajny Exp $
bin/dqtool
bin/loggen
bin/pdbtool
@@ -24,6 +24,7 @@ include/syslog-ng/compat/compat.h
include/syslog-ng/compat/getutent.h
include/syslog-ng/compat/glib.h
include/syslog-ng/compat/lfs.h
+include/syslog-ng/compat/openssl_support.h
include/syslog-ng/compat/pio.h
include/syslog-ng/compat/socket.h
include/syslog-ng/compat/string.h
@@ -105,6 +106,13 @@ include/syslog-ng/memtrace.h
include/syslog-ng/messages.h
include/syslog-ng/ml-batched-timer.h
include/syslog-ng/module-config.h
+include/syslog-ng/modules/add-contextual-data/add-contextual-data-parser.h
+include/syslog-ng/modules/add-contextual-data/add-contextual-data-selector.h
+include/syslog-ng/modules/add-contextual-data/add-contextual-data-template-selector.h
+include/syslog-ng/modules/add-contextual-data/add-contextual-data.h
+include/syslog-ng/modules/add-contextual-data/context-info-db.h
+include/syslog-ng/modules/add-contextual-data/contextual-data-record-scanner.h
+include/syslog-ng/modules/add-contextual-data/csv-contextual-data-record-scanner.h
include/syslog-ng/msg-format.h
include/syslog-ng/parse-number.h
include/syslog-ng/parser/parser-expr-parser.h
@@ -144,6 +152,8 @@ include/syslog-ng/stats/stats-registry.h
include/syslog-ng/stats/stats-syslog.h
include/syslog-ng/stats/stats.h
include/syslog-ng/str-format.h
+include/syslog-ng/str-repr/decode.h
+include/syslog-ng/str-repr/encode.h
include/syslog-ng/str-utils.h
include/syslog-ng/string-list.h
include/syslog-ng/syslog-names.h
@@ -180,6 +190,7 @@ include/syslog-ng/value-pairs/value-pair
include/syslog-ng/versioning.h
lib/libsyslog-ng-native-connector.a
lib/libsyslog-ng.la
+lib/pkgconfig/syslog-ng-add-contextual-data.pc
lib/pkgconfig/syslog-ng-native-connector.pc
lib/pkgconfig/syslog-ng-test.pc
lib/pkgconfig/syslog-ng.pc
Index: pkgsrc/sysutils/syslog-ng/distinfo
diff -u pkgsrc/sysutils/syslog-ng/distinfo:1.7 pkgsrc/sysutils/syslog-ng/distinfo:1.8
--- pkgsrc/sysutils/syslog-ng/distinfo:1.7 Sun Aug 21 20:18:30 2016
+++ pkgsrc/sysutils/syslog-ng/distinfo Tue Jan 10 18:54:15 2017
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.7 2016/08/21 20:18:30 fhajny Exp $
+$NetBSD: distinfo,v 1.8 2017/01/10 18:54:15 fhajny Exp $
-SHA1 (syslog-ng-3.8.1.tar.gz) = e66cc7538eec245b80dda4624671a61932c856c3
-RMD160 (syslog-ng-3.8.1.tar.gz) = 67357d1eeef54be78ceac16ae4eff0ce66ef65a6
-SHA512 (syslog-ng-3.8.1.tar.gz) = cdd07427e7ddf4aebc1e4ed9512a1d7718d49d5c0deadccdeb0b1d7762eae178c3018b2b48b475ff8c7aec999b75d1f1cc424fca823b543f607f4fc8872070a5
-Size (syslog-ng-3.8.1.tar.gz) = 8328391 bytes
+SHA1 (syslog-ng-3.9.1.tar.gz) = 1ca437393d8895654452bef8ac0b996fe73284f8
+RMD160 (syslog-ng-3.9.1.tar.gz) = 20bbcab38d02c369aa964c364fa2acdcfa86a673
+SHA512 (syslog-ng-3.9.1.tar.gz) = aade44fa6dffa7e84fc951aa20f0e40db2ee6438f46108c95244e465b1fafc08e6f9afab12c057576d601cc51dd7cefb16370183ca036af0d68046fdb29fdd02
+Size (syslog-ng-3.9.1.tar.gz) = 8312677 bytes
SHA1 (patch-ac) = 7d48f689b6ff69c68697baf729fba8be9aec5ce8
-SHA1 (patch-configure) = b68b36f8f443149f97c538571d95e894da7deb80
+SHA1 (patch-configure) = 2d8ef2285de44de016f44e51be47cd4c1178dfdb
SHA1 (patch-lib_ivykis_src_iv__fd__port.c) = a6b1feafd7c8031a1ed7d2cb0abc57ca3633fb5a
-SHA1 (patch-modules_afsocket_socket-options-inet.c) = a23103caea1c46dd2e405bd1a668fde0d3ceeeae
SHA1 (patch-modules_system-source_system-source.c) = f51ed8d2e6d603744b3e6636eeb9c68382e5cda6
Index: pkgsrc/sysutils/syslog-ng/patches/patch-configure
diff -u pkgsrc/sysutils/syslog-ng/patches/patch-configure:1.2 pkgsrc/sysutils/syslog-ng/patches/patch-configure:1.3
--- pkgsrc/sysutils/syslog-ng/patches/patch-configure:1.2 Sun Aug 21 20:18:30 2016
+++ pkgsrc/sysutils/syslog-ng/patches/patch-configure Tue Jan 10 18:54:15 2017
@@ -1,98 +1,10 @@
-$NetBSD: patch-configure,v 1.2 2016/08/21 20:18:30 fhajny Exp $
+$NetBSD: patch-configure,v 1.3 2017/01/10 18:54:15 fhajny Exp $
Portability.
---- configure.orig 2016-08-19 11:18:46.000000000 +0000
+--- configure.orig 2016-12-21 15:00:32.000000000 +0000
+++ configure
-@@ -15496,12 +15496,12 @@ if test -n "$LIBMONGO_CFLAGS"; then
- pkg_cv_LIBMONGO_CFLAGS="$LIBMONGO_CFLAGS"
- elif test -n "$PKG_CONFIG"; then
- if test -n "$PKG_CONFIG" && \
-- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmongoc >= \$LMC_MIN_VERSION\""; } >&5
-- ($PKG_CONFIG --exists --print-errors "libmongoc >= $LMC_MIN_VERSION") 2>&5
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmongoc-1.0 >= \$LMC_MIN_VERSION\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "libmongoc-1.0 >= $LMC_MIN_VERSION") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
-- pkg_cv_LIBMONGO_CFLAGS=`$PKG_CONFIG --cflags "libmongoc >= $LMC_MIN_VERSION" 2>/dev/null`
-+ pkg_cv_LIBMONGO_CFLAGS=`$PKG_CONFIG --cflags "libmongoc-1.0 >= $LMC_MIN_VERSION" 2>/dev/null`
- test "x$?" != "x0" && pkg_failed=yes
- else
- pkg_failed=yes
-@@ -15513,12 +15513,12 @@ if test -n "$LIBMONGO_LIBS"; then
- pkg_cv_LIBMONGO_LIBS="$LIBMONGO_LIBS"
- elif test -n "$PKG_CONFIG"; then
- if test -n "$PKG_CONFIG" && \
-- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmongoc >= \$LMC_MIN_VERSION\""; } >&5
-- ($PKG_CONFIG --exists --print-errors "libmongoc >= $LMC_MIN_VERSION") 2>&5
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmongoc-1.0 >= \$LMC_MIN_VERSION\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "libmongoc-1.0 >= $LMC_MIN_VERSION") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
-- pkg_cv_LIBMONGO_LIBS=`$PKG_CONFIG --libs "libmongoc >= $LMC_MIN_VERSION" 2>/dev/null`
-+ pkg_cv_LIBMONGO_LIBS=`$PKG_CONFIG --libs "libmongoc-1.0 >= $LMC_MIN_VERSION" 2>/dev/null`
- test "x$?" != "x0" && pkg_failed=yes
- else
- pkg_failed=yes
-@@ -15539,9 +15539,9 @@ else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
-- LIBMONGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmongoc >= $LMC_MIN_VERSION" 2>&1`
-+ LIBMONGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmongoc-1.0 >= $LMC_MIN_VERSION" 2>&1`
- else
-- LIBMONGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmongoc >= $LMC_MIN_VERSION" 2>&1`
-+ LIBMONGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmongoc-1.0 >= $LMC_MIN_VERSION" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LIBMONGO_PKG_ERRORS" >&5
-@@ -15568,12 +15568,12 @@ if test -n "$LIBMONGO_CFLAGS"; then
- pkg_cv_LIBMONGO_CFLAGS="$LIBMONGO_CFLAGS"
- elif test -n "$PKG_CONFIG"; then
- if test -n "$PKG_CONFIG" && \
-- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmongoc >= \$LMC_MIN_VERSION\""; } >&5
-- ($PKG_CONFIG --exists --print-errors "libmongoc >= $LMC_MIN_VERSION") 2>&5
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmongoc-1.0 >= \$LMC_MIN_VERSION\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "libmongoc-1.0 >= $LMC_MIN_VERSION") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
-- pkg_cv_LIBMONGO_CFLAGS=`$PKG_CONFIG --cflags "libmongoc >= $LMC_MIN_VERSION" 2>/dev/null`
-+ pkg_cv_LIBMONGO_CFLAGS=`$PKG_CONFIG --cflags "libmongoc-1.0 >= $LMC_MIN_VERSION" 2>/dev/null`
- test "x$?" != "x0" && pkg_failed=yes
- else
- pkg_failed=yes
-@@ -15585,12 +15585,12 @@ if test -n "$LIBMONGO_LIBS"; then
- pkg_cv_LIBMONGO_LIBS="$LIBMONGO_LIBS"
- elif test -n "$PKG_CONFIG"; then
- if test -n "$PKG_CONFIG" && \
-- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmongoc >= \$LMC_MIN_VERSION\""; } >&5
-- ($PKG_CONFIG --exists --print-errors "libmongoc >= $LMC_MIN_VERSION") 2>&5
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmongoc-1.0 >= \$LMC_MIN_VERSION\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "libmongoc-1.0 >= $LMC_MIN_VERSION") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
-- pkg_cv_LIBMONGO_LIBS=`$PKG_CONFIG --libs "libmongoc >= $LMC_MIN_VERSION" 2>/dev/null`
-+ pkg_cv_LIBMONGO_LIBS=`$PKG_CONFIG --libs "libmongoc-1.0 >= $LMC_MIN_VERSION" 2>/dev/null`
- test "x$?" != "x0" && pkg_failed=yes
- else
- pkg_failed=yes
-@@ -15611,9 +15611,9 @@ else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
-- LIBMONGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmongoc >= $LMC_MIN_VERSION" 2>&1`
-+ LIBMONGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmongoc-1.0 >= $LMC_MIN_VERSION" 2>&1`
- else
-- LIBMONGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmongoc >= $LMC_MIN_VERSION" 2>&1`
-+ LIBMONGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmongoc-1.0 >= $LMC_MIN_VERSION" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LIBMONGO_PKG_ERRORS" >&5
-@@ -16367,7 +16367,7 @@ $as_echo_n "checking for JAVA_VERSION...
+@@ -16463,7 +16463,7 @@ $as_echo_n "checking for JAVA_VERSION...
JAVA_HOME_CHECKER="/usr/libexec/java_home"
if test "x$JAVAC_BIN" != "x"; then
@@ -101,7 +13,7 @@ Portability.
JAVAC_BIN=`
READLINK_TARGET=$JAVAC_BIN
cd $(dirname "$READLINK_TARGET")
-@@ -16474,7 +16474,7 @@ $as_echo_n "checking for JAVA_VERSION...
+@@ -16570,7 +16570,7 @@ $as_echo_n "checking for JAVA_VERSION...
JAVA_HOME_CHECKER="/usr/libexec/java_home"
if test "x$JAVAC_BIN" != "x"; then
Home |
Main Index |
Thread Index |
Old Index