summaryrefslogtreecommitdiff
path: root/sysutils/py-syslog-ng
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2021-09-16 09:22:46 +0000
committerwiz <wiz@pkgsrc.org>2021-09-16 09:22:46 +0000
commitbad85c228dec82659fede439963c669f55a52a3b (patch)
treef023345674e059d29517601e51a59e737552569a /sysutils/py-syslog-ng
parent7b3a5dc9930456b703a6549ff68bafbdcae0bec3 (diff)
downloadpkgsrc-bad85c228dec82659fede439963c669f55a52a3b.tar.gz
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 (limited to 'sysutils/py-syslog-ng')
-rw-r--r--sysutils/py-syslog-ng/DESCR2
-rw-r--r--sysutils/py-syslog-ng/Makefile8
-rw-r--r--sysutils/py-syslog-ng/PLIST4
3 files changed, 11 insertions, 3 deletions
diff --git a/sysutils/py-syslog-ng/DESCR b/sysutils/py-syslog-ng/DESCR
index 03d56de759f..dc0e505a92d 100644
--- a/sysutils/py-syslog-ng/DESCR
+++ b/sysutils/py-syslog-ng/DESCR
@@ -4,3 +4,5 @@ Syslog-ng tries to fill the gaps original syslogd's were lacking:
* message integrity, message encryption
* portability
* better network forwarding
+
+This package contains the python bindings.
diff --git a/sysutils/py-syslog-ng/Makefile b/sysutils/py-syslog-ng/Makefile
index 205edfa90f9..11766d4deab 100644
--- a/sysutils/py-syslog-ng/Makefile
+++ b/sysutils/py-syslog-ng/Makefile
@@ -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 @@ SYSLOG_MOD_TARGET= mod-python
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 --git a/sysutils/py-syslog-ng/PLIST b/sysutils/py-syslog-ng/PLIST
index 05106053e5b..e8cc5f0d9ca 100644
--- a/sysutils/py-syslog-ng/PLIST
+++ b/sysutils/py-syslog-ng/PLIST
@@ -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.py
${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