pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils
Module Name: pkgsrc
Committed By: wiz
Date: Thu Dec 15 10:09:44 UTC 2022
Modified Files:
pkgsrc/sysutils/syslog-ng: Makefile Makefile.common PLIST distinfo
pkgsrc/sysutils/syslog-ng-amqp: Makefile
pkgsrc/sysutils/syslog-ng-curl: Makefile
pkgsrc/sysutils/syslog-ng-geoip2: Makefile
pkgsrc/sysutils/syslog-ng-mongodb: Makefile
pkgsrc/sysutils/syslog-ng-redis: Makefile
pkgsrc/sysutils/syslog-ng-smtp: Makefile
pkgsrc/sysutils/syslog-ng-snmp: Makefile
Log Message:
syslog-ng*: update to 3.38.1
snmp module untested since net-snmp doesn't currently build on NetBSD-current
Changes:
3.38.1
======
## Highlights
### Sneak peek into syslog-ng v4.0
syslog-ng v4.0 is right around the corner.
This release (v3.38.1) contains all major changes, however, they are
currently all hidden behind a feature flag.
To enable and try those features, you need to specify `@version: 4.0` at the
top of the configuration file.
You can find out more about the 4.0 changes and features
[here](https://github.com/syslog-ng/syslog-ng/blob/master/NEWS-4.0.md).
Read our practical introduction to typing at
[syslog-ng-future.blog](https://syslog-ng-future.blog/syslog-ng-4-progress-3-38-1-release/).
## Features
* `grouping-by()`: added `inject-mode(aggregate-only)`
This inject mode will drop individual messages that make up the correlation
context (`key()` groups) and would only yield the aggregate messages
(e.g. the results of the correlation).
([#3998](https://github.com/syslog-ng/syslog-ng/pull/3998))
* `add-contextual-data()`: add support for type propagation, e.g. set the
type of name-value pairs as they are created/updated to the value returned
by the template expression that we use to set the value.
The 3rd column in the CSV file (e.g. the template expression) now supports
specifying a type-hint, in the format of "type-hint(template-expr)".
Example line in the CSV database:
selector-value,name-value-pair-to-be-created,list(foo,bar,baz)
([#4051](https://github.com/syslog-ng/syslog-ng/pull/4051))
* `$(format-json)`: add --key-delimiter option to reconstruct JSON objects
using an alternative structure separator, that was created using the
key-delimiter() option of json-parser().
([#4093](https://github.com/syslog-ng/syslog-ng/pull/4093))
* `json-parser()`: add key-delimiter() option to extract JSON structure
members into name-value pairs, so that the names are flattened using the
character specified, instead of dot.
Example:
Input: {"foo":{"key":"value"}}
Using json-parser() without key-delimiter() this is extracted to:
foo.key="value"
Using json-parser(key-delimiter("~")) this is extracted to:
foo~key="value"
This feature is useful in case the JSON keys contain dots themselves, in
those cases the syslog-ng representation is ambigious.
([#4093](https://github.com/syslog-ng/syslog-ng/pull/4093))
## Bugfixes
* Fixed buffer handling of syslog and timestamp parsers
Multiple buffer out-of-bounds issues have been fixed, which could cause
hangs, high CPU usage, or other undefined behavior.
([#4110](https://github.com/syslog-ng/syslog-ng/pull/4110))
* Fixed building with LibreSSL
([#4081](https://github.com/syslog-ng/syslog-ng/pull/4081))
* `network()`: Fixed a bug, where syslog-ng halted the input instead of skipping a character
in case of a character conversion error.
([#4084](https://github.com/syslog-ng/syslog-ng/pull/4084))
* `redis()`: Fixed bug where using redis driver without the `batch-lines` option caused program crash.
([#4114](https://github.com/syslog-ng/syslog-ng/pull/4114))
* `pdbtool`: fix a SIGABRT on FreeBSD that was triggered right before pdbtool
exits. Apart from being an ugly crash that produces a core file,
functionally the tool behaved correctly and this case does not affect
syslog-ng itself.
([#4037](https://github.com/syslog-ng/syslog-ng/pull/4037))
* `regexp-parser()`: due to a change introduced in 3.37, named capture groups
are stored indirectly in the LogMessage to avoid copying of the value. In
this case the name-value pair created with the regexp is only stored as a
reference (name + length of the original value), which improves performance
and makes such name-value pairs use less memory. One omission in the
original change in 3.37 is that syslog-ng does not allow builtin values to
be stored indirectly (e.g. $MESSAGE and a few of others) and this case
causes an assertion to fail and syslog-ng to crash with a SIGABRT. This
abort is now fixed. Here's a sample config that reproduces the issue:
regexp-parser(patterns('(?<MESSAGE>.*)'));
([#4043](https://github.com/syslog-ng/syslog-ng/pull/4043))
* set-tag: fix cloning issue when string literal were used (see #4062)
([#4065](https://github.com/syslog-ng/syslog-ng/pull/4065))
* `add-contextual-data()`: fix high memory usage when using large CSV files
([#4067](https://github.com/syslog-ng/syslog-ng/pull/4067))
## Other changes
* The `json-c` library is no longer bundled in the syslog-ng source tarball
Since all known OS package managers provide json-c packages nowadays, the json-c
submodule has been removed from the source tarball.
The `--with-jsonc=internal` option of the `configure` script has been removed
accordingly, system libraries will be used instead. For special cases, the JSON
support can be disabled by specifying `--with-jsonc=no`.
([#4078](https://github.com/syslog-ng/syslog-ng/pull/4078))
* platforms: Dropped support for ubuntu-impish as it became EOL
([#4088](https://github.com/syslog-ng/syslog-ng/pull/4088))
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/sysutils/syslog-ng/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/sysutils/syslog-ng/Makefile.common \
pkgsrc/sysutils/syslog-ng/distinfo
cvs rdiff -u -r1.18 -r1.19 pkgsrc/sysutils/syslog-ng/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/syslog-ng-amqp/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/sysutils/syslog-ng-curl/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/syslog-ng-geoip2/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/sysutils/syslog-ng-mongodb/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/syslog-ng-redis/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/syslog-ng-smtp/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/syslog-ng-snmp/Makefile
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.43 pkgsrc/sysutils/syslog-ng/Makefile:1.44
--- pkgsrc/sysutils/syslog-ng/Makefile:1.43 Thu Jun 30 11:18:52 2022
+++ pkgsrc/sysutils/syslog-ng/Makefile Thu Dec 15 10:09:43 2022
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.43 2022/06/30 11:18:52 nia Exp $
+# $NetBSD: Makefile,v 1.44 2022/12/15 10:09:43 wiz Exp $
-PKGREVISION= 2
.include "../../sysutils/syslog-ng/Makefile.common"
CONFIGURE_ARGS+= --enable-stomp
@@ -47,5 +46,4 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/contrib/syslog2ng ${DESTDIR}${PREFIX}/bin
.include "../../security/tcp_wrappers/buildlink3.mk"
-.include "../../textproc/json-c/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/syslog-ng/Makefile.common
diff -u pkgsrc/sysutils/syslog-ng/Makefile.common:1.21 pkgsrc/sysutils/syslog-ng/Makefile.common:1.22
--- pkgsrc/sysutils/syslog-ng/Makefile.common:1.21 Fri Sep 17 09:39:54 2021
+++ pkgsrc/sysutils/syslog-ng/Makefile.common Thu Dec 15 10:09:43 2022
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.21 2021/09/17 09:39:54 wiz Exp $
+# $NetBSD: Makefile.common,v 1.22 2022/12/15 10:09:43 wiz Exp $
# used by sysutils/syslog-ng/Makefile
# used by sysutils/syslog-ng/module.mk
-DISTNAME= syslog-ng-3.34.1
+DISTNAME= syslog-ng-3.38.1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=syslog-ng/}
@@ -46,11 +46,6 @@ CONFIGURE_ARGS+= --with-pidfile-dir=${VA
CONFIGURE_ARGS.SunOS+= --enable-dynamic-linking
CONFIGURE_ARGS.SunOS+= ac_cv_func_inotify_init=no
-SUBST_CLASSES+= unamepath
-SUBST_STAGE.unamepath= post-configure
-SUBST_FILES.unamepath= contrib/syslog2ng
-SUBST_SED.unamepath= -e s,/bin/uname,${UNAME},
-
PYTHON_VERSIONS_INCOMPATIBLE= 27
REPLACE_AWK+= contrib/syslog2ng
@@ -71,4 +66,5 @@ post-extract:
.include "../../devel/pcre/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/json-c/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
Index: pkgsrc/sysutils/syslog-ng/distinfo
diff -u pkgsrc/sysutils/syslog-ng/distinfo:1.21 pkgsrc/sysutils/syslog-ng/distinfo:1.22
--- pkgsrc/sysutils/syslog-ng/distinfo:1.21 Tue Oct 26 11:20:16 2021
+++ pkgsrc/sysutils/syslog-ng/distinfo Thu Dec 15 10:09:43 2022
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.21 2021/10/26 11:20:16 nia Exp $
+$NetBSD: distinfo,v 1.22 2022/12/15 10:09:43 wiz Exp $
-BLAKE2s (syslog-ng-3.34.1.tar.gz) = 3e341d0822818efffb3227aa7727dd5784b575f04bb66cf0f7dc8046a4094221
-SHA512 (syslog-ng-3.34.1.tar.gz) = f4df871f780b2e55e847d3ac108d0647659cac2493180d29436f04a4b75d38b90aba8adcd38f6337dce8f69d6aba9ff33fd3d8dc0f86021a29f60a21747e9a10
-Size (syslog-ng-3.34.1.tar.gz) = 5903489 bytes
+BLAKE2s (syslog-ng-3.38.1.tar.gz) = bfd89e26655c086a503f954116cbd2a07b437f22a1cf77e51d5be145e71e2374
+SHA512 (syslog-ng-3.38.1.tar.gz) = 3a3ef5c72d8c211ed2914791380061dcd48ea1ea95f636a1a8649dc5dee731a11e9ae000a37cbeeba624f4053b623b697e6c7f945a81153106c2365f4f09a847
+Size (syslog-ng-3.38.1.tar.gz) = 5405048 bytes
SHA1 (patch-ac) = 1f70075860999e854629faa7f293ef51243b398d
SHA1 (patch-configure) = d4ae0c21ac4287b765bc4411db9873be8bdb0853
SHA1 (patch-lib_signal-handler.c) = 440a9d0df0da613817c943b8244e98e50c92bbb2
Index: pkgsrc/sysutils/syslog-ng/PLIST
diff -u pkgsrc/sysutils/syslog-ng/PLIST:1.18 pkgsrc/sysutils/syslog-ng/PLIST:1.19
--- pkgsrc/sysutils/syslog-ng/PLIST:1.18 Thu Sep 16 09:22:47 2021
+++ pkgsrc/sysutils/syslog-ng/PLIST Thu Dec 15 10:09:43 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2021/09/16 09:22:47 wiz Exp $
+@comment $NetBSD: PLIST,v 1.19 2022/12/15 10:09:43 wiz Exp $
bin/dqtool
bin/loggen
bin/pdbtool
@@ -51,8 +51,11 @@ include/syslog-ng/compat/socket.h
include/syslog-ng/compat/string.h
include/syslog-ng/compat/time.h
include/syslog-ng/compat/un.h
+include/syslog-ng/control/control-command-thread.h
include/syslog-ng/control/control-commands.h
+include/syslog-ng/control/control-connection.h
include/syslog-ng/control/control-main.h
+include/syslog-ng/control/control-server-unix.h
include/syslog-ng/control/control-server.h
include/syslog-ng/control/control.h
include/syslog-ng/crypto.h
@@ -80,6 +83,7 @@ include/syslog-ng/filter/filter-pri.h
include/syslog-ng/filter/filter-re.h
include/syslog-ng/filter/filter-tags.h
include/syslog-ng/find-crlf.h
+include/syslog-ng/generic-number.h
include/syslog-ng/gprocess.h
include/syslog-ng/gsockaddr.h
include/syslog-ng/gsocket.h
@@ -104,6 +108,7 @@ include/syslog-ng/logmsg/serialization.h
include/syslog-ng/logmsg/tags-serialize.h
include/syslog-ng/logmsg/tags.h
include/syslog-ng/logmsg/timestamp-serialize.h
+include/syslog-ng/logmsg/type-hinting.h
include/syslog-ng/logpipe.h
include/syslog-ng/logproto/logproto-buffered-server.h
include/syslog-ng/logproto/logproto-builtins.h
@@ -131,6 +136,7 @@ include/syslog-ng/logwriter.h
include/syslog-ng/mainloop-call.h
include/syslog-ng/mainloop-control.h
include/syslog-ng/mainloop-io-worker.h
+include/syslog-ng/mainloop-threaded-worker.h
include/syslog-ng/mainloop-worker.h
include/syslog-ng/mainloop.h
include/syslog-ng/memtrace.h
@@ -161,12 +167,15 @@ include/syslog-ng/resolved-configurable-
include/syslog-ng/rewrite/rewrite-expr-parser.h
include/syslog-ng/rewrite/rewrite-expr.h
include/syslog-ng/rewrite/rewrite-groupset.h
+include/syslog-ng/rewrite/rewrite-rename.h
include/syslog-ng/rewrite/rewrite-set-facility.h
+include/syslog-ng/rewrite/rewrite-set-matches.h
include/syslog-ng/rewrite/rewrite-set-pri.h
include/syslog-ng/rewrite/rewrite-set-severity.h
include/syslog-ng/rewrite/rewrite-set-tag.h
include/syslog-ng/rewrite/rewrite-set.h
include/syslog-ng/rewrite/rewrite-subst.h
+include/syslog-ng/rewrite/rewrite-unset-matches.h
include/syslog-ng/rewrite/rewrite-unset.h
include/syslog-ng/ringbuffer.h
include/syslog-ng/run-id.h
@@ -240,7 +249,6 @@ include/syslog-ng/transport/transport-pi
include/syslog-ng/transport/transport-socket.h
include/syslog-ng/transport/transport-tls.h
include/syslog-ng/transport/transport-udp-socket.h
-include/syslog-ng/type-hinting.h
include/syslog-ng/userdb.h
include/syslog-ng/utf8utils.h
include/syslog-ng/uuid.h
@@ -282,6 +290,7 @@ lib/syslog-ng/libkvformat.la
lib/syslog-ng/liblinux-kmsg-format.la
lib/syslog-ng/libmap-value-pairs.la
lib/syslog-ng/libpseudofile.la
+lib/syslog-ng/librate-limit-filter.la
lib/syslog-ng/libregexp-parser.la
${PLIST.systemd}lib/syslog-ng/libsdjournal.la
lib/syslog-ng/libsecure-logging.la
@@ -336,11 +345,13 @@ share/syslog-ng/include/scl/iptables/ipt
share/syslog-ng/include/scl/junos/plugin.conf
share/syslog-ng/include/scl/kafka/kafka-java.conf
share/syslog-ng/include/scl/kafka/kafka.conf
+share/syslog-ng/include/scl/kubernetes/kubernetes.conf
share/syslog-ng/include/scl/linux-audit/linux-audit.conf
share/syslog-ng/include/scl/loadbalancer/gen-loadbalancer.sh
share/syslog-ng/include/scl/loadbalancer/plugin.conf
share/syslog-ng/include/scl/loggly/loggly.conf
share/syslog-ng/include/scl/logmatic/logmatic.conf
+share/syslog-ng/include/scl/mariadb/audit.conf
share/syslog-ng/include/scl/mbox/mbox.conf
share/syslog-ng/include/scl/netskope/plugin.conf
share/syslog-ng/include/scl/nodejs/plugin.conf
Index: pkgsrc/sysutils/syslog-ng-amqp/Makefile
diff -u pkgsrc/sysutils/syslog-ng-amqp/Makefile:1.4 pkgsrc/sysutils/syslog-ng-amqp/Makefile:1.5
--- pkgsrc/sysutils/syslog-ng-amqp/Makefile:1.4 Wed Dec 8 16:06:37 2021
+++ pkgsrc/sysutils/syslog-ng-amqp/Makefile Thu Dec 15 10:09:43 2022
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2021/12/08 16:06:37 adam Exp $
+# $NetBSD: Makefile,v 1.5 2022/12/15 10:09:43 wiz Exp $
SYSLOG_MOD= afamqp
SYSLOG_MOD_TARGET= afamqp
COMMENT= Syslog-ng RabbitMQ module
-PKGREVISION= 1
.include "../../sysutils/syslog-ng/module.mk"
Index: pkgsrc/sysutils/syslog-ng-curl/Makefile
diff -u pkgsrc/sysutils/syslog-ng-curl/Makefile:1.26 pkgsrc/sysutils/syslog-ng-curl/Makefile:1.27
--- pkgsrc/sysutils/syslog-ng-curl/Makefile:1.26 Wed Oct 26 10:32:01 2022
+++ pkgsrc/sysutils/syslog-ng-curl/Makefile Thu Dec 15 10:09:43 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2022/10/26 10:32:01 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2022/12/15 10:09:43 wiz Exp $
SYSLOG_MOD= http
COMMENT= Syslog-ng curl module
-PKGREVISION= 3
.include "../../sysutils/syslog-ng/module.mk"
Index: pkgsrc/sysutils/syslog-ng-geoip2/Makefile
diff -u pkgsrc/sysutils/syslog-ng-geoip2/Makefile:1.2 pkgsrc/sysutils/syslog-ng-geoip2/Makefile:1.3
--- pkgsrc/sysutils/syslog-ng-geoip2/Makefile:1.2 Wed Dec 8 16:06:38 2021
+++ pkgsrc/sysutils/syslog-ng-geoip2/Makefile Thu Dec 15 10:09:43 2022
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2021/12/08 16:06:38 adam Exp $
+# $NetBSD: Makefile,v 1.3 2022/12/15 10:09:43 wiz Exp $
SYSLOG_MOD= geoip2
SYSLOG_MOD_TARGET= geoip2-plugin
COMMENT= Syslog-ng GeoIP module
-PKGREVISION= 1
.include "../../sysutils/syslog-ng/module.mk"
Index: pkgsrc/sysutils/syslog-ng-mongodb/Makefile
diff -u pkgsrc/sysutils/syslog-ng-mongodb/Makefile:1.12 pkgsrc/sysutils/syslog-ng-mongodb/Makefile:1.13
--- pkgsrc/sysutils/syslog-ng-mongodb/Makefile:1.12 Wed Nov 23 16:21:09 2022
+++ pkgsrc/sysutils/syslog-ng-mongodb/Makefile Thu Dec 15 10:09:43 2022
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2022/11/23 16:21:09 adam Exp $
+# $NetBSD: Makefile,v 1.13 2022/12/15 10:09:43 wiz Exp $
SYSLOG_MOD= mongodb
SYSLOG_MOD_DIR= afmongodb
COMMENT= Syslog-ng MongoDB module
-PKGREVISION= 3
.include "../../sysutils/syslog-ng/module.mk"
Index: pkgsrc/sysutils/syslog-ng-redis/Makefile
diff -u pkgsrc/sysutils/syslog-ng-redis/Makefile:1.3 pkgsrc/sysutils/syslog-ng-redis/Makefile:1.4
--- pkgsrc/sysutils/syslog-ng-redis/Makefile:1.3 Wed Dec 8 16:06:38 2021
+++ pkgsrc/sysutils/syslog-ng-redis/Makefile Thu Dec 15 10:09:43 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2021/12/08 16:06:38 adam Exp $
+# $NetBSD: Makefile,v 1.4 2022/12/15 10:09:43 wiz Exp $
SYSLOG_MOD= redis
COMMENT= Syslog-ng Redis module
-PKGREVISION= 1
.include "../../sysutils/syslog-ng/module.mk"
Index: pkgsrc/sysutils/syslog-ng-smtp/Makefile
diff -u pkgsrc/sysutils/syslog-ng-smtp/Makefile:1.6 pkgsrc/sysutils/syslog-ng-smtp/Makefile:1.7
--- pkgsrc/sysutils/syslog-ng-smtp/Makefile:1.6 Wed Dec 8 16:06:38 2021
+++ pkgsrc/sysutils/syslog-ng-smtp/Makefile Thu Dec 15 10:09:43 2022
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2021/12/08 16:06:38 adam Exp $
+# $NetBSD: Makefile,v 1.7 2022/12/15 10:09:43 wiz Exp $
SYSLOG_MOD= smtp
SYSLOG_MOD_DIR= afsmtp
COMMENT= Syslog-ng SMTP module
-PKGREVISION= 1
.include "../../sysutils/syslog-ng/module.mk"
Index: pkgsrc/sysutils/syslog-ng-snmp/Makefile
diff -u pkgsrc/sysutils/syslog-ng-snmp/Makefile:1.2 pkgsrc/sysutils/syslog-ng-snmp/Makefile:1.3
--- pkgsrc/sysutils/syslog-ng-snmp/Makefile:1.2 Wed Dec 8 16:06:38 2021
+++ pkgsrc/sysutils/syslog-ng-snmp/Makefile Thu Dec 15 10:09:44 2022
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2021/12/08 16:06:38 adam Exp $
+# $NetBSD: Makefile,v 1.3 2022/12/15 10:09:44 wiz Exp $
SYSLOG_MOD= snmp
SYSLOG_MOD_DIR= afsnmp
COMMENT= Syslog-ng AFSNMP module
-PKGREVISION= 1
.include "../../sysutils/syslog-ng/module.mk"
Home |
Main Index |
Thread Index |
Old Index