NetBSD Problem Report #56406
From www@netbsd.org Thu Sep 16 07:12:32 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 5170A1A921F
for <gnats-bugs@gnats.NetBSD.org>; Thu, 16 Sep 2021 07:12:32 +0000 (UTC)
Message-Id: <20210916071231.113681A923A@mollari.NetBSD.org>
Date: Thu, 16 Sep 2021 07:12:31 +0000 (UTC)
From: peter@czanik.hu
Reply-To: peter@czanik.hu
To: gnats-bugs@NetBSD.org
Subject: sysutils/syslog-ng outdated, I prepared an update
X-Send-Pr-Version: www-1.0
>Number: 56406
>Category: pkg
>Synopsis: sysutils/syslog-ng outdated, I prepared an update
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Sep 16 07:15:00 +0000 2021
>Closed-Date: Thu Sep 16 09:24:40 +0000 2021
>Last-Modified: Thu Sep 16 09:25:01 +0000 2021
>Originator: Peter Czanik
>Release: netbsd 9.2
>Organization:
One Identity
>Environment:
NetBSD localhost 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021
>Description:
Recently I tested syslog-ng on NetBSD. The sysutils/syslog-ng port in pkgsrc is outdated (version 3.17 instead of the currently available 3.34). My colleagues fixed a bug I found (the tcp() source now works as expected), and I helped to upstream a patch from pkgsrc, so system() source automatically configures now log sources on NetBSD. I even prepared an update for pkgsrc. Tested in a virtual machine on AMD64 running NetBSD 9.2. My update is available at https://github.com/czanik/netbsd I'm not sure if it complies with all pkgsrc rules, but it works. And this version of syslog-ng works a lot better than 3.17, currently available in pkgsrc.
Could you check my update and commit it to pkgsrc?
>How-To-Repeat:
install syslog-ng 3.17 from pkgsrc
>Fix:
update sysutils/syslog-ng based on the update I provided.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 16 Sep 2021 09:24:40 +0000
State-Changed-Why:
Committed, thanks!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/56406 CVS commit: pkgsrc/sysutils
Date: Thu, 16 Sep 2021 09:22:48 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Thu Sep 16 09:22:48 UTC 2021
Modified Files:
pkgsrc/sysutils: Makefile
pkgsrc/sysutils/py-syslog-ng: DESCR Makefile PLIST
pkgsrc/sysutils/syslog-ng: Makefile Makefile.common PLIST distinfo
pkgsrc/sysutils/syslog-ng-amqp: DESCR Makefile
pkgsrc/sysutils/syslog-ng-curl: DESCR Makefile
pkgsrc/sysutils/syslog-ng-mongodb: DESCR Makefile
pkgsrc/sysutils/syslog-ng-redis: DESCR Makefile
pkgsrc/sysutils/syslog-ng-smtp: DESCR Makefile
pkgsrc/sysutils/syslog-ng-sql: DESCR Makefile
pkgsrc/sysutils/syslog-ng/patches: patch-configure
patch-lib_signal-handler.c
Added Files:
pkgsrc/sysutils/syslog-ng: module.mk
Removed Files:
pkgsrc/sysutils/syslog-ng: Makefile.module
pkgsrc/sysutils/syslog-ng-geoip: DESCR Makefile PLIST
pkgsrc/sysutils/syslog-ng/patches:
patch-modules_system-source_system-source.c
Log Message:
syslog-ng: update to 3.34.1
Based on package provided by Peter Czanik in PR 56406.
Changes below are for 3.34.1 only, the other 16 releases before
that are not summarized.
3.34.1
======
## Highlights
* `regexp-parser()`: new parser that can parse messages with regular expressions
* `redis()`: `workers()` and batching support
The Redis driver now support the `workers()` option, which specifies the
number of parallel workers, and the `batch-lines()` option.
This could drastically increase the throughput of the Redis destination driver.
* `mqtt()`: TLS and WebSocket Secure support
The MQTT destination now supports TLS and WSS.
## Features
* `system()` source: added support for NetBSD
* `stats`: new statistics counter
* `mqtt()`: username/password authentication
* `mqtt()`: new option `http-proxy()` for specifying HTTP/HTTPS proxy for WebSocket connections
([#3747](https://github.com/syslog-ng/syslog-ng/pull/3747))
* `syslog-ng-ctl`: new flag for pruning statistics
* `disk-buffer()`: added a new option to reliable disk-buffer: `qout-size()`.
## Bugfixes
* `network(), syslog()`: fixed network sources on NetBSD
* `disk-buffer()`: fixed a very rare case, where the reliable disk-buffer never resumed
after triggering `flow-control`.
* `disk-buffer()`: fixed a rare memory leak that occurred when `mem-buf-length()`
or `mem-buf-size()` was configured incorrectly
* `redis()`: fixed command errors that were not detected and marked as successful delivery
To generate a diff of this commit:
cvs rdiff -u -r1.966 -r1.967 pkgsrc/sysutils/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/py-syslog-ng/DESCR \
pkgsrc/sysutils/py-syslog-ng/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/py-syslog-ng/Makefile
cvs rdiff -u -r1.39 -r1.40 pkgsrc/sysutils/syslog-ng/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/sysutils/syslog-ng/Makefile.common
cvs rdiff -u -r1.5 -r0 pkgsrc/sysutils/syslog-ng/Makefile.module
cvs rdiff -u -r1.17 -r1.18 pkgsrc/sysutils/syslog-ng/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/sysutils/syslog-ng/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/syslog-ng/module.mk
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/syslog-ng-amqp/DESCR
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/syslog-ng-amqp/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/syslog-ng-curl/DESCR
cvs rdiff -u -r1.22 -r1.23 pkgsrc/sysutils/syslog-ng-curl/Makefile
cvs rdiff -u -r1.1 -r0 pkgsrc/sysutils/syslog-ng-geoip/DESCR \
pkgsrc/sysutils/syslog-ng-geoip/Makefile \
pkgsrc/sysutils/syslog-ng-geoip/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/syslog-ng-mongodb/DESCR
cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/syslog-ng-mongodb/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/syslog-ng-redis/DESCR \
pkgsrc/sysutils/syslog-ng-redis/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/syslog-ng-smtp/DESCR
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/syslog-ng-smtp/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/syslog-ng-sql/DESCR \
pkgsrc/sysutils/syslog-ng-sql/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/syslog-ng/patches/patch-configure
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/sysutils/syslog-ng/patches/patch-lib_signal-handler.c
cvs rdiff -u -r1.2 -r0 \
pkgsrc/sysutils/syslog-ng/patches/patch-modules_system-source_system-source.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.