aboutsummaryrefslogtreecommitdiff
path: root/admin/syslog-ng
Commit message (Collapse)AuthorAge
* syslog-ng: update to version 4.7.1Josef Schlehofer2024-04-26
| | | | | | | | | | Release notes: - https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.7.0 - https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.7.1 Also bump version in the config file to avoid warning Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: enable http module based on zlib support in curlJosef Schlehofer2024-03-19
| | | | | | | | | | | | | | | | | Since version 4.4.0, syslog-ng added compression to http() destination using zlib from curl. [1] However, zlib is currently disabled in curl [2] and it prevented syslog-ng to start. This commit changes the configuration opinion to enable http module only if zlib support is enabled for curl and as well it adds dependency for zlib (in that case). If the zlib is disabled, then it disables http module, so syslog-ng can start and thus zlib dependency is not required. [1] https://gitlab.nic.cz/turris/os/packages/-/issues/932 [2] https://github.com/openwrt/packages/blob/93cbaacbfb13048ad378520a7afea7c9027dd1d6/net/curl/Config.in#L134 Fixes: 4dd49d7c3cd571107958154f1ed1ec8d8dba7464 ("syslog-ng: update to version 4.4.0") Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: update to version 4.6.0Josef Schlehofer2024-03-05
| | | | | | | | | 1. Bump version config to 4.6 2. Updated to 4.6.0 version https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.6.0 https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.5.0 Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: conf: fix deprecated stats_freqSergey Ponomarev2024-03-05
| | | | | | | | | The deprecated stats_freq() replaced with stats(freq(0)). Also make comments shorter. Fix tabs. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* syslog-ng: update to version 4.4.0Josef Schlehofer2023-10-04
| | | | | | | | | - Release notes: https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.4.0 - Bump version in config file Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: update to version 4.3.1Josef Schlehofer2023-09-15
| | | | | | | | | | | | | | Makefile changes: - Since version 4.3.0, there is required to use pcre2 instead of pcre Reference: https://github.com/syslog-ng/syslog-ng/pull/4537 - Disable c++ support by default to avoid picking libstdcpp dependency Reference: https://github.com/syslog-ng/syslog-ng/pull/4484 Config changes: - Bump version in config file Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* treewide: change my no longer used emailJosef Schlehofer2023-09-04
| | | | | | | | | Since February 2023, I decided to no longer work with Turris, I mean CZ.NIC company due to some reasons how the development goes and since that day my work address is not available and not sure if there is some redirect to someone else, but if anyone wants to reach me, use my email address, where they can find me. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: update to 4.2.0W. Michael Petullo2023-05-20
| | | | Signed-off-by: W. Michael Petullo <mike@flyn.org>
* treewide: remove AUTORELEASEPaul Fertser2023-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
* syslog-ng: update to version 4.1.1Josef Schlehofer2023-04-12
| | | | | | | | | - Release notes: https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.1.1 - Updated version in config Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: update to version 3.38.1Josef Schlehofer2022-09-07
| | | | | | | | | | | | - Release notes: https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.38.1 - Update the configuration file to use version 4.0 as mentioned in the release notes to try the latest changes Fixes: CVE-2022-38725 Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: fix OOM issues by adding support for logrotatePetr Štetiar2022-08-26
| | | | | | | | | | | | | | | | | With heavy system logging which goes by default into `/var/log/messages` log file which is usually placed in tmpfs/RAM one can trigger OOM killer fairly easily, thus killing random processes and in some cases making system unusable. This is likely happening due to the fact, that Linux by default uses 1/2 of available RAM for tmpfs, which might be for example an issue on low RAM devices with ath10k wireless. So let's fix it by adding logrotate functionality which should limit the size of `/var/log/messages` log file to 1M by default, but could be tweaked by config knob if needed be. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* syslog-ng: update to version 3.37.1Josef Schlehofer2022-06-24
| | | | | | | | | - Changelog: https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.37.1 - Bump config version Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: update to version 3.36.1Josef Schlehofer2022-03-10
| | | | | | | | | - Bump version in config file Release notes: https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.36.1 Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: fix build on macosSergey V. Lobanov2022-01-26
| | | | | | | | | | configure script detects Darwin and uses flags incompatible with Linux target build. This patch uses fakeuname tool if host OS is MacOS to avoid Darwin detection on target build. Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
* syslog-ng: update to version 3.35.1Josef Schlehofer2021-11-16
| | | | | | | | | Also bump the version in syslog-ng config file. Removes this warning: Nov 16 14:19:41 turris syslog-ng[15159]: WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.35 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.33' Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: update to version 3.34.1Josef Schlehofer2021-10-17
| | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: update to version 3.33.2Josef Schlehofer2021-07-21
| | | | | | | Changelog: https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.33.2 Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: disable mqttJosef Schlehofer2021-07-12
| | | | | | | | | | | | | | | | 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>
* syslog-ng: update to version 3.33.1Josef Schlehofer2021-07-11
| | | | | | | | | | | - 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>
* syslog-ng: update to 3.32.1W. Michael Petullo2021-05-10
| | | | Signed-off-by: W. Michael Petullo <mike@flyn.org>
* syslog-ng: update to version 3.31.2Josef Schlehofer2021-03-22
| | | | | | Bump config file Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: update to version 3.30.1Josef Schlehofer2020-12-02
| | | | | | Bump version also in config file Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: bump version in config fileJosef Schlehofer2020-10-02
| | | | | | | | | | 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: 06f3ac21b4d7be5a31f6739ab57e140260cdcd95 ("syslog-ng: update to version 3.29.1") Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: tweak shell code of network_localhost little bitKarel Kočí2020-09-13
| | | | | | We can get rid of pipe with -n flag to sysctl. Signed-off-by: Karel Kočí <cynerd@email.cz>
* syslog-ng: update to version 3.29.1Josef Schlehofer2020-09-12
| | | | | | Changelog: https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.29.1 Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: detect disabled IPv6 on loopback and fallback to IPv4Karel Kočí2020-06-26
| | | | | | | | | | | | 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>
* Merge pull request #12197 from BKPepe/syslog-ngRosen Penev2020-05-19
|\ | | | | syslog-ng: update to version 3.27.1
| * syslog-ng: update to version 3.27.1Josef Schlehofer2020-05-17
| | | | | | | | | | | | snmp-dest was moved to afsnmp Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | Merge pull request #12091 from pprindeville/syslog-ng-restore-reloadJosef Schlehofer2020-05-17
|\ \ | |/ |/| syslog-ng: restore service "reload" to actually working
| * syslog-ng: restore service "reload" to actually workingPhilip Prindeville2020-05-06
| | | | | | | | | | | | | | | | | | | | Commit 44a16ca broke syslog-ng such that it no longer works with logrotate, for example. Yes, you can manually stop and start the service, but (1) you shouldn't have to and (2) it creates a window where you potentially lose messages if the syslog UDP socket overruns. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* | syslog-ng: including user settings after system settingsPhilip Prindeville2020-05-02
|/ | | | | | | | | | | | 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>
* syslog-ng: update to version 3.26.1Josef Schlehofer2020-03-08
| | | | | | | | | | | | - 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>
* syslog-ng: listen not globally but just locallyAlexander Traud2020-01-27
| | | | | | Beside that, listen not only on IPv4 but also on IPv6 = Dual Stack. Signed-off-by: Alexander Traud <pabstraud@compuserve.com>
* syslog-ng: Update to version 3.25.1Josef Schlehofer2019-12-18
| | | | | | Bump version in config Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: Update to version 3.24.1Josef Schlehofer2019-10-14
| | | | | | Bump version also in config file Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: Add GPL license for pluginsJosef Schlehofer2019-09-01
| | | | | | | - Correct SPDX License Identifier - Move DEPENDS under URL Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: Update to version 3.23.1Josef Schlehofer2019-09-01
| | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: update to version 3.22.1Josef Schlehofer2019-07-04
| | | | | | | - 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>
* syslog-ng: improve init and fix service stopKarel Kočí2019-06-10
| | | | | | | | | | | | | | | | 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>
* syslog-ng: update to version 3.21.1Josef Schlehofer2019-05-13
| | | | | | Bump also version in config Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: disable geoip2 supportKarel Kočí2019-03-25
| | | | Signed-off-by: Karel Kočí <karel.koci@nic.cz>
* syslog-ng: superseded current maintainer by meJosef Schlehofer2019-03-08
| | | | Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
* syslog-ng: update to version 3.20.1Josef Schlehofer2019-03-08
| | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: remove psmisc dependencyJosef Schlehofer2019-01-29
| | | | | | Because it's not in OpenWrt since 2014. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* syslog-ng: add logread wrapperDirk Brenken2019-01-28
| | | | | | Many (LuCI) packages require logread. Otherwise, for example, System Log tab in LuCI is empty Signed-off-by: Dirk Brenken <dev@brenken.org>
* syslog-ng: update to version 3.19.1Josef Schlehofer2019-01-28
| | | | | | | | | | | | | | | | | | | | 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>
* syslog-ng: Add /etc/syslog-ng.d/.keepKarel Kočí2019-01-18
| | | | | | | 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>
* syslog-ng: Use procd style initMichal Hrusecky2019-01-18
| | | | Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
* syslog-ng: stop service when uninstalling/updatingPhilip Prindeville2018-10-20
| | | | | | | | 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>