pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils syslog-ng: update to 3.34.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d2f1e953fb3
branches:  trunk
changeset: 458448:7d2f1e953fb3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Sep 16 09:22:46 2021 +0000

description:
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

diffstat:

 sysutils/Makefile                                                      |    4 +-
 sysutils/py-syslog-ng/DESCR                                            |    2 +
 sysutils/py-syslog-ng/Makefile                                         |    8 +-
 sysutils/py-syslog-ng/PLIST                                            |    4 +-
 sysutils/syslog-ng-amqp/DESCR                                          |    2 +
 sysutils/syslog-ng-amqp/Makefile                                       |    5 +-
 sysutils/syslog-ng-curl/DESCR                                          |    2 +
 sysutils/syslog-ng-curl/Makefile                                       |    5 +-
 sysutils/syslog-ng-geoip/DESCR                                         |    6 -
 sysutils/syslog-ng-geoip/Makefile                                      |   12 -
 sysutils/syslog-ng-geoip/PLIST                                         |    2 -
 sysutils/syslog-ng-mongodb/DESCR                                       |    2 +
 sysutils/syslog-ng-mongodb/Makefile                                    |    5 +-
 sysutils/syslog-ng-redis/DESCR                                         |    2 +
 sysutils/syslog-ng-redis/Makefile                                      |    4 +-
 sysutils/syslog-ng-smtp/DESCR                                          |    2 +
 sysutils/syslog-ng-smtp/Makefile                                       |    5 +-
 sysutils/syslog-ng-sql/DESCR                                           |    2 +
 sysutils/syslog-ng-sql/Makefile                                        |    4 +-
 sysutils/syslog-ng/Makefile                                            |    4 +-
 sysutils/syslog-ng/Makefile.common                                     |   16 +-
 sysutils/syslog-ng/Makefile.module                                     |   30 --
 sysutils/syslog-ng/PLIST                                               |  105 ++++++++--
 sysutils/syslog-ng/distinfo                                            |   15 +-
 sysutils/syslog-ng/module.mk                                           |   30 ++
 sysutils/syslog-ng/patches/patch-configure                             |   17 +-
 sysutils/syslog-ng/patches/patch-lib_signal-handler.c                  |   18 +-
 sysutils/syslog-ng/patches/patch-modules_system-source_system-source.c |   17 -
 28 files changed, 189 insertions(+), 141 deletions(-)

diffs (truncated from 813 to 300 lines):

diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/Makefile
--- a/sysutils/Makefile Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/Makefile Thu Sep 16 09:22:46 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.966 2021/09/04 20:28:42 maya Exp $
+# $NetBSD: Makefile,v 1.967 2021/09/16 09:22:46 wiz Exp $
 #
 
 COMMENT=       System utilities
@@ -662,7 +662,7 @@
 SUBDIR+=       syslog-ng
 SUBDIR+=       syslog-ng-amqp
 SUBDIR+=       syslog-ng-curl
-SUBDIR+=       syslog-ng-geoip
+SUBDIR+=       syslog-ng-geoip2
 SUBDIR+=       syslog-ng-mongodb
 SUBDIR+=       syslog-ng-redis
 SUBDIR+=       syslog-ng-smtp
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/py-syslog-ng/DESCR
--- a/sysutils/py-syslog-ng/DESCR       Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/py-syslog-ng/DESCR       Thu Sep 16 09:22:46 2021 +0000
@@ -4,3 +4,5 @@
        * message integrity, message encryption
        * portability
        * better network forwarding
+
+This package contains the python bindings.
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/py-syslog-ng/Makefile
--- a/sysutils/py-syslog-ng/Makefile    Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/py-syslog-ng/Makefile    Thu Sep 16 09:22:46 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2017/01/15 13:06:04 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2021/09/16 09:22:46 wiz Exp $
 
 PKGNAME=               ${PYPKGPREFIX}-${DISTNAME}
 SYSLOG_MOD=            python
@@ -6,12 +6,16 @@
 COMMENT=               Syslog-ng Python module
 GITHUB_PROJECT=                syslog-ng
 
-.include "../../sysutils/syslog-ng/Makefile.module"
+.include "../../sysutils/syslog-ng/module.mk"
 
 CONFIGURE_ARGS+=       --with-python=${PYVERSSUFFIX}
 
 INSTALL_TARGET+=       install-pylib
 PY_PATCHPLIST=         yes
 
+INSTALLATION_DIRS+=    ${PYSITELIB}
+post-install:
+       mv ${DESTDIR}${PREFIX}/lib/syslog-ng/python/* ${DESTDIR}${PREFIX}/${PYSITELIB}
+
 .include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/py-syslog-ng/PLIST
--- a/sysutils/py-syslog-ng/PLIST       Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/py-syslog-ng/PLIST       Thu Sep 16 09:22:46 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2015/11/01 19:08:22 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/09/16 09:22:46 wiz Exp $
 ${PYSITELIB}/syslogng/__init__.py
 ${PYSITELIB}/syslogng/__init__.pyc
 ${PYSITELIB}/syslogng/debuggercli/__init__.py
@@ -13,6 +13,8 @@
 ${PYSITELIB}/syslogng/debuggercli/completerlang.pyc
 ${PYSITELIB}/syslogng/debuggercli/debuggercli.py
 ${PYSITELIB}/syslogng/debuggercli/debuggercli.pyc
+${PYSITELIB}/syslogng/debuggercli/editline.py
+${PYSITELIB}/syslogng/debuggercli/editline.pyc
 ${PYSITELIB}/syslogng/debuggercli/debuglang.py
 ${PYSITELIB}/syslogng/debuggercli/debuglang.pyc
 ${PYSITELIB}/syslogng/debuggercli/getoptlexer.py
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-amqp/DESCR
--- a/sysutils/syslog-ng-amqp/DESCR     Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng-amqp/DESCR     Thu Sep 16 09:22:46 2021 +0000
@@ -4,3 +4,5 @@
        * message integrity, message encryption
        * portability
        * better network forwarding
+
+This package contains the amqp module.
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-amqp/Makefile
--- a/sysutils/syslog-ng-amqp/Makefile  Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng-amqp/Makefile  Thu Sep 16 09:22:46 2021 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2020/01/18 21:50:59 jperkin Exp $
+# $NetBSD: Makefile,v 1.3 2021/09/16 09:22:47 wiz Exp $
 
 SYSLOG_MOD=            afamqp
 SYSLOG_MOD_TARGET=     afamqp
 COMMENT=               Syslog-ng RabbitMQ module
-PKGREVISION=           1
 
-.include "../../sysutils/syslog-ng/Makefile.module"
+.include "../../sysutils/syslog-ng/module.mk"
 
 CONFIGURE_ARGS+=       --enable-amqp
 CONFIGURE_ARGS+=       --with-librabbitmq-client=system
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-curl/DESCR
--- a/sysutils/syslog-ng-curl/DESCR     Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng-curl/DESCR     Thu Sep 16 09:22:46 2021 +0000
@@ -4,3 +4,5 @@
        * message integrity, message encryption
        * portability
        * better network forwarding
+
+This package contains the curl module.
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-curl/Makefile
--- a/sysutils/syslog-ng-curl/Makefile  Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng-curl/Makefile  Thu Sep 16 09:22:46 2021 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.22 2021/04/21 13:25:25 adam Exp $
+# $NetBSD: Makefile,v 1.23 2021/09/16 09:22:47 wiz Exp $
 
 SYSLOG_MOD=            http
 COMMENT=               Syslog-ng curl module
-PKGREVISION=           11
 
-.include "../../sysutils/syslog-ng/Makefile.module"
+.include "../../sysutils/syslog-ng/module.mk"
 
 CONFIGURE_ARGS+=       --enable-http
 CONFIGURE_ARGS+=       --with-libcurl=${BUILDLINK_PREFIX.curl}
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-geoip/DESCR
--- a/sysutils/syslog-ng-geoip/DESCR    Thu Sep 16 08:39:15 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-Syslog-ng tries to fill the gaps original syslogd's were lacking:
-       * powerful configurability
-       * filtering based on message content
-       * message integrity, message encryption
-       * portability
-       * better network forwarding
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-geoip/Makefile
--- a/sysutils/syslog-ng-geoip/Makefile Thu Sep 16 08:39:15 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-# $NetBSD: Makefile,v 1.1 2015/10/29 16:34:14 fhajny Exp $
-
-SYSLOG_MOD=            geoip
-SYSLOG_MOD_TARGET=     geoip-plugin
-COMMENT=               Syslog-ng GeoIP module
-
-.include "../../sysutils/syslog-ng/Makefile.module"
-
-CONFIGURE_ENV+=                GEOIP_LIBS="-L${BUILDLINK_PREFIX.GeoIP}/lib -lGeoIP"
-
-.include "../../net/GeoIP/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-geoip/PLIST
--- a/sysutils/syslog-ng-geoip/PLIST    Thu Sep 16 08:39:15 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2015/10/29 16:34:14 fhajny Exp $
-lib/syslog-ng/libgeoip-plugin.la
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-mongodb/DESCR
--- a/sysutils/syslog-ng-mongodb/DESCR  Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng-mongodb/DESCR  Thu Sep 16 09:22:46 2021 +0000
@@ -4,3 +4,5 @@
        * message integrity, message encryption
        * portability
        * better network forwarding
+
+This package contains the mongodb module.
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-mongodb/Makefile
--- a/sysutils/syslog-ng-mongodb/Makefile       Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng-mongodb/Makefile       Thu Sep 16 09:22:46 2021 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.8 2021/04/21 11:42:44 adam Exp $
+# $NetBSD: Makefile,v 1.9 2021/09/16 09:22:47 wiz Exp $
 
 SYSLOG_MOD=            mongodb
 SYSLOG_MOD_DIR=                afmongodb
 COMMENT=               Syslog-ng MongoDB module
-PKGREVISION=           6
 
-.include "../../sysutils/syslog-ng/Makefile.module"
+.include "../../sysutils/syslog-ng/module.mk"
 
 CONFIGURE_ARGS+=       --with-mongoc=system
 
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-redis/DESCR
--- a/sysutils/syslog-ng-redis/DESCR    Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng-redis/DESCR    Thu Sep 16 09:22:46 2021 +0000
@@ -4,3 +4,5 @@
        * message integrity, message encryption
        * portability
        * better network forwarding
+
+This package contains the redis module.
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-redis/Makefile
--- a/sysutils/syslog-ng-redis/Makefile Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng-redis/Makefile Thu Sep 16 09:22:46 2021 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2015/10/29 16:34:14 fhajny Exp $
+# $NetBSD: Makefile,v 1.2 2021/09/16 09:22:47 wiz Exp $
 
 SYSLOG_MOD=            redis
 COMMENT=               Syslog-ng Redis module
 
-.include "../../sysutils/syslog-ng/Makefile.module"
+.include "../../sysutils/syslog-ng/module.mk"
 
 CONFIGURE_ARGS+=       --with-libhires=${BUILDLINK_PREFIX.hiredis}
 
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-smtp/DESCR
--- a/sysutils/syslog-ng-smtp/DESCR     Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng-smtp/DESCR     Thu Sep 16 09:22:46 2021 +0000
@@ -4,3 +4,5 @@
        * message integrity, message encryption
        * portability
        * better network forwarding
+
+This package contains the smtp module.
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-smtp/Makefile
--- a/sysutils/syslog-ng-smtp/Makefile  Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng-smtp/Makefile  Thu Sep 16 09:22:46 2021 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.4 2020/01/18 21:50:59 jperkin Exp $
+# $NetBSD: Makefile,v 1.5 2021/09/16 09:22:48 wiz Exp $
 
 SYSLOG_MOD=            smtp
 SYSLOG_MOD_DIR=                afsmtp
 COMMENT=               Syslog-ng SMTP module
-PKGREVISION=           1
 
-.include "../../sysutils/syslog-ng/Makefile.module"
+.include "../../sysutils/syslog-ng/module.mk"
 
 CONFIGURE_ARGS+=       --with-libesmtp=${BUILDLINK_PREFIX.libesmtp}
 
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-sql/DESCR
--- a/sysutils/syslog-ng-sql/DESCR      Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng-sql/DESCR      Thu Sep 16 09:22:46 2021 +0000
@@ -4,3 +4,5 @@
        * message integrity, message encryption
        * portability
        * better network forwarding
+
+This package contains the sql module.
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng-sql/Makefile
--- a/sysutils/syslog-ng-sql/Makefile   Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng-sql/Makefile   Thu Sep 16 09:22:46 2021 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2015/10/29 16:34:14 fhajny Exp $
+# $NetBSD: Makefile,v 1.2 2021/09/16 09:22:48 wiz Exp $
 
 SYSLOG_MOD=            sql
 SYSLOG_MOD_DIR=                afsql
 COMMENT=               Syslog-ng SQL module
 
-.include "../../sysutils/syslog-ng/Makefile.module"
+.include "../../sysutils/syslog-ng/module.mk"
 .include "../../databases/libdbi/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng/Makefile
--- a/sysutils/syslog-ng/Makefile       Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng/Makefile       Thu Sep 16 09:22:46 2021 +0000
@@ -1,9 +1,7 @@
-# $NetBSD: Makefile,v 1.39 2020/05/31 17:30:17 rillig Exp $
+# $NetBSD: Makefile,v 1.40 2021/09/16 09:22:46 wiz Exp $
 
 .include "../../sysutils/syslog-ng/Makefile.common"
 
-PKGREVISION=           4
-
 CONFIGURE_ARGS+=       --enable-stomp
 CONFIGURE_ARGS+=       --enable-tcp-wrapper
 CONFIGURE_ARGS+=       --with-jsonc=system
diff -r c2f34c139e48 -r 7d2f1e953fb3 sysutils/syslog-ng/Makefile.common
--- a/sysutils/syslog-ng/Makefile.common        Thu Sep 16 08:39:15 2021 +0000
+++ b/sysutils/syslog-ng/Makefile.common        Thu Sep 16 09:22:46 2021 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile.common,v 1.18 2021/01/18 10:19:47 nia Exp $
+# $NetBSD: Makefile.common,v 1.19 2021/09/16 09:22:46 wiz Exp $
 # used by sysutils/syslog-ng/Makefile
 # used by sysutils/syslog-ng/Makefile.module
 
-DISTNAME=      syslog-ng-3.17.2
+DISTNAME=      syslog-ng-3.34.1
 CATEGORIES=    sysutils
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=balabit/}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=syslog-ng/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.syslog-ng.org/
+HOMEPAGE=      http://www.syslog-ng.com/
 COMMENT=       Highly portable log management solution
 LICENSE=       gnu-gpl-v2
 
@@ -17,7 +17,7 @@
 DISTINFO_FILE= ${.CURDIR}/../../sysutils/syslog-ng/distinfo
 
 USE_LANGUAGES= c c99
-USE_TOOLS+=    flex pkg-config gmake awk:run yacc
+USE_TOOLS+=    flex pkg-config gmake awk:run bison
 USE_LIBTOOL=   yes
 GNU_CONFIGURE= yes
 USE_FEATURES+= strnlen
@@ -25,7 +25,6 @@



Home | Main Index | Thread Index | Old Index