Commit Graph

40 Commits

Author SHA1 Message Date
Josef Schlehofer d8e88ef51e syslog-ng: update to version 3.34.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-10-17 10:14:00 -07:00
Josef Schlehofer 4b06f9ff4c
syslog-ng: update to version 3.33.2
Changelog:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.33.2

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-07-21 23:28:23 +02:00
Josef Schlehofer e319e89fde
syslog-ng: disable mqtt
For now, disable mqtt as it was automatically enabled as the build
system finds compiled libpaho-mqtt-c and requires dependency.

---
Here is the output:
Package syslog-ng is missing dependencies for the following libraries:
libpaho-mqtt3c.so.1
---

This is a new feature since syslog-ng 3.33.1 and if anyone is interested
in it, it can be enabled.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-07-12 16:16:57 +02:00
Josef Schlehofer 2b4be08a8c
syslog-ng: update to version 3.33.1
- Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.33.1

- Bump version in config
It fixes:
WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.33 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file; config-version='3.31'

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-07-11 20:23:28 +02:00
W. Michael Petullo f93ef64793 syslog-ng: update to 3.32.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-05-10 23:29:40 +02:00
Josef Schlehofer 3d817e968e
syslog-ng: update to version 3.31.2
Bump config file

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-03-22 11:19:12 +01:00
Josef Schlehofer e0f76cfa82
syslog-ng: update to version 3.30.1
Bump version also in config file

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-12-02 01:10:16 +01:00
Josef Schlehofer 1607774df4
syslog-ng: bump version in config file
This fixes issues:
syslog-ng[3895]: WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.29 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file; config-version='3.26'

Fixes: 06f3ac21b4 ("syslog-ng: update to
version 3.29.1")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-02 11:29:24 +02:00
Karel Kočí 7b7d074c8d
syslog-ng: tweak shell code of network_localhost little bit
We can get rid of pipe with -n flag to sysctl.

Signed-off-by: Karel Kočí <cynerd@email.cz>
2020-09-13 11:29:43 +02:00
Josef Schlehofer 06f3ac21b4
syslog-ng: update to version 3.29.1
Changelog: https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.29.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-09-12 11:10:28 +02:00
Karel Kočí 43a8f7072e
syslog-ng: detect disabled IPv6 on loopback and fallback to IPv4
Binding in default to IPv6 is preferable but it can be disabled in
kernel and that prevents syslog-ng to start. This setup should not be
that common but syslog is very important service and should survive
that.

This introduces new plugin defining source generator
`network_localhost`. This is used instead of original network source.

Signed-off-by: Karel Kočí <cynerd@email.cz>
2020-06-26 13:04:46 +02:00
Josef Schlehofer d4db36ea09
syslog-ng: update to version 3.27.1
snmp-dest was moved to afsnmp

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-05-17 17:54:04 +02:00
Philip Prindeville f8443ae829 syslog-ng: including user settings after system settings
Initially we included user-specific settings last, so that they
could turn off or replace system settings... otherwise we only get
to change what's NOT explicitly set by the system.  This is overly
constraining.

Restore the original functionality of allowing the user to
override settings defined by the distribution's configuration.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2020-05-02 17:22:50 -06:00
Josef Schlehofer fe165eeb94
syslog-ng: update to version 3.26.1
- Bump version also in the config file
- Move logread to /sbin location instead of /usr/sbin
Because package logd in OpenWrt's ubox Makefile uses /sbin folder and LuCI has
the same path hardcoded in
modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json and using
different location results that LuCI is not able to load log data as it
is not found.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-03-08 07:53:35 +01:00
Alexander Traud a4553b2efe syslog-ng: listen not globally but just locally
Beside that, listen not only on IPv4 but also on IPv6 = Dual Stack.

Signed-off-by: Alexander Traud <pabstraud@compuserve.com>
2020-01-27 21:39:26 +01:00
Josef Schlehofer ac4870f205
syslog-ng: Update to version 3.25.1
Bump version in config

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-12-18 21:44:37 +01:00
Josef Schlehofer 72f8cda2a5
syslog-ng: Update to version 3.24.1
Bump version also in config file

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-10-14 09:06:29 +02:00
Josef Schlehofer d4eed8c422
syslog-ng: Add GPL license for plugins
- Correct SPDX License Identifier
- Move DEPENDS under URL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-01 16:24:32 +02:00
Josef Schlehofer 298a91364c
syslog-ng: Update to version 3.23.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-01 16:19:58 +02:00
Josef Schlehofer e07cc320d8
syslog-ng: update to version 3.22.1
- Bump version in the config and improve a link for documentation
- Disable snmp destination for now

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-04 07:29:22 +02:00
Karel Kočí 44a16ca325
syslog-ng: improve init and fix service stop
This fixes service stop. Problem was that in default syslog-ng forks to
background which causes procd to loose track of it. It no longer has in
such case PID of syslog-ng process and is unable to stop it. This means
that instance for such process hangs in procd and also it is not
possible to stop it as daemon. Fix is simple. syslog-ng is now
instructed to run in foreground.

This commit also drops unnecessary reload section. In default reload
calls restart and restart in default is implemented as calling stop and
start. This means that effectively it is implemented same as in case of
this init reload service implementation.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-06-10 09:53:18 +02:00
Josef Schlehofer 960dae682a
syslog-ng: update to version 3.21.1
Bump also version in config

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-05-13 21:48:34 +02:00
Karel Kočí 00d3817b04
syslog-ng: disable geoip2 support
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-03-25 00:51:41 +01:00
Josef Schlehofer d4aa683306
syslog-ng: superseded current maintainer by me
Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
2019-03-08 15:36:32 +01:00
Josef Schlehofer a074090fcf syslog-ng: update to version 3.20.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-03-08 19:39:03 +08:00
Josef Schlehofer b03c977755
syslog-ng: remove psmisc dependency
Because it's not in OpenWrt since 2014.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-01-29 22:04:32 +01:00
Dirk Brenken a00c1a3f4e
syslog-ng: add logread wrapper
Many (LuCI) packages require logread. Otherwise, for example, System Log tab in LuCI is empty

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-01-28 22:38:15 +01:00
Josef Schlehofer 5f07bb1094
syslog-ng: update to version 3.19.1
Makefile
- Changed URL
- Added LICENSE, CPE ID, more dependencies, postint and prerm scripts
- Enabled by default JSON and HTTP (would be good to split them in future
to sub-packages); Disabled java-modules, tcp wrapper
- Re-ordered CONFIGURE_ARGS as they occur when executing
- Resorted section: define Package/syslog-ng/install

syslog-ng.conf
- include scl.conf
- have a more specific one than upstream (they have it really simple)
- document it

Patch:
remove the unnecessary one

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-01-28 06:11:23 +01:00
Karel Kočí 2740cb8f57
syslog-ng: Add /etc/syslog-ng.d/.keep
This should ensure that updater/opkg won't remove /etc/syslog-ng.d
directory, which would cause syslog-ng to fail to start.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-01-18 00:18:21 +01:00
Philip Prindeville c7f5e3111c syslog-ng: stop service when uninstalling/updating
This avoids the possibility of the service getting reloaded and
a previously running instance trying to re-dynamically link to
more modern plugins.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-10-20 13:39:45 -06:00
W. Michael Petullo a86bcd3cb3 syslog-ng: update to 3.17.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-09-22 08:39:38 -04:00
Philip Prindeville a5b01432fc syslog-ng: disable tests as Travis is timing out
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-08-25 18:31:35 -06:00
W. Michael Petullo 7e9c044f1f syslog-ng: update to 3.16.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-07-15 20:18:24 -04:00
Philip Prindeville 07a6e8bc73 syslog-ng: add customization directory
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-26 11:54:06 -06:00
Philip Prindeville 237b77002c syslog-ng: retire PKG_MD5SUM
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-26 11:54:06 -06:00
Philip Prindeville f3a8766954 syslog-ng: fix openssl callbacks to not require backward compatibility
The functions for registering callbacks for threads has changed
in OpenSSL 1.0.0.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-03-29 09:47:14 -06:00
Philip Prindeville 165fc3eaf7 syslog-ng: bump to 3.9.1 and fix typo
Likewise fix default configuration to use SOCK_DGRAM and not SOCK_STREAM
as we currently do.

Add sha256 digest.

Rather than have the users replace syslog-ng.conf (which lately is
changing fairly frequently) and have them miss an important fix or
improvement, instead have them localize /etc/custom-logs.conf and
ship that as an empty file.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-02-05 19:34:01 -07:00
Daniel Engberg 372fe29d0a admin/syslog-ng: Fix accidental inclusion of libs
Disable SMTP and Redis support
Error generated by buildbots.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-09 16:21:21 +01:00
Philip Prindeville 84b136cdb4 syslog-ng: fix various install problems such as missing plugins, etc
Install the plugins as various functionality is no longer in the
utility itself but is packaged as a .so plugin instead. Disable
plugins with too many dependencies (or too exotic).

Bump the version number on the config file to agree with the package's
version number.

Clean up any .la files from libtool.

Start much earlier so that logging doesn't miss startup messages from
other services.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-01-09 02:05:20 -07:00
W. Michael Petullo ef0fef50fb syslog-ng: import from oldpackages
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2017-01-06 07:51:50 -05:00