Commit Graph

20 Commits

Author SHA1 Message Date
Alexandru Ardelean 98a90ef9f3 rsyslog: make libyaml support optional via RSYSLOG_libyaml
The upstream rsyslog build links against libyaml-0.so.2 whenever
pkg-config detects yaml-0.1, which made libyaml a hard dependency
of the rsyslog binary without any way to opt out from OpenWrt
config. libyaml is only used for YAML (.yaml/.yml) configuration
files and for loading rate-limiting policies from external files;
RainerScript (.conf) installs do not need it.

Introduce a new RSYSLOG_libyaml Config.in switch, default off, and
gate the +libyaml DEPENDS entry on it. Pass --enable-libyaml or
--disable-libyaml to configure based on the switch.

The upstream configure script in 8.2604.0 does not understand a
--disable-libyaml flag (libyaml was unconditionally autodetected).
Backport upstream commit c5c244861 ("configure: make libyaml
default-on explicit") as 001-configure-make-libyaml-default-on-
explicit.patch, which adds the AC_ARG_ENABLE(libyaml) block. The
patch dissolves cleanly once the package is bumped to 8.2606.0+.
PKG_FIXUP:=autoreconf is added so the configure.ac change flows
into the generated configure script during the SDK build.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-20 08:57:38 +03:00
Alexandru Ardelean 3804268de8 rsyslog: update to 8.2604.0
Version 8.2604.0 follows the YYYYMM.x versioning scheme (April 2026).

The 8.2604.0 release enables --enable-impstats-push by default, which
requires protobuf-c-compiler (protoc-c). Since we don't ship
protobuf-c in the SDK environment and the impstats push feature is
not essential for typical OpenWrt use, disable it explicitly with
--disable-impstats-push.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-10 11:31:30 +03:00
Alexandru Ardelean 8d3c004213 treewide: set me where PKG_MAINTAINER empty
Seems a lot of packages are just getting abandoned by people.
Will pick these up and see them through.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 21:48:36 +03:00
Rosen Penev 0f743e07c1 rsyslog: update to 8.2506.0
Fixes compilation with GCC15.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-08-11 17:10:46 +08:00
Aleksey Vasilenko 7a4d957dd5 rsyslog: update to 8.2408.0
Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2024-09-02 10:57:35 -07:00
Aleksey Vasilenko 74c89fc2a5 rsyslog: update to 8.2406.0
Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2024-07-28 22:50:02 +08:00
krant 07838da820 rsyslog: update to 8.2312.0
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-07 13:58:20 -08:00
Giacomo Sanchietti 799194cbc9 rsyslog: apply shellcheck SC3014 to init
Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00
Giacomo Sanchietti 008860276e rsyslog: replace spaces with tabs inside init
Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00
Giacomo Sanchietti 7afd539dbf rsyslog: improve default config
Check also for config files containing comment lines starting
with white spaces.

Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00
Giacomo Sanchietti c3f6591de7 rsyslog: apply shellcheck suggestions to init
Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00
Giacomo Sanchietti a3cea3655f rsyslog: preserve existing configuration
Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00
Giacomo Sanchietti d7084eae60 rsyslog: include original config file
Allow advanced configurations from /etc/rsyslog.conf file

Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00
Giacomo Sanchietti dda5f84630 rsyslog: write config file to RAM
Avoid wearing out flash storage

Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00
Giacomo Sanchietti 443bc5720e rsyslog: add uci support
Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
2022-07-07 10:34:58 -07:00
Matthew Hagan 7a3b0b1d9d rsyslog: move configurables to Config.in
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2022-02-23 16:57:43 -08:00
Matthew Hagan 4c4d5fa81d rsyslog: add omhttp libcurl dependancy
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2022-02-23 16:57:43 -08:00
Matthew Hagan 2c54c4d093 rsyslog: update to 8.2110.0
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2021-11-16 13:27:24 -08:00
Matthew Hagan 5d6ac9b931 rsyslog: add additonal support modules
Add configurables via a menu to enable support for various features:
  - GSSAPI Kerberos support
  - mysql
  - postgresql
  - libdbi
  - elasticsearch
  - HTTP output module
  - openssl
  - gnutls
  - mail output
  - json parsing module
  - MaxMind DB support
  - input file

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2021-11-16 13:27:24 -08:00
Matthew Hagan 16a5288206 rsyslog: move from net to admin
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2021-11-16 13:27:24 -08:00