Files
packages/admin/rsyslog/Config.in
T
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

71 lines
1.8 KiB
Plaintext

if PACKAGE_rsyslog
config RSYSLOG_libyaml
bool "Enable libyaml support (YAML config + file-based rate-limit policies)"
default n
help
Enable libyaml support in rsyslog. Required to load YAML
(.yaml/.yml) configuration files and to load rate-limiting
policies from external files. Disable to drop the libyaml
runtime dependency (~50KB).
config RSYSLOG_gssapi_krb5
bool "Enable GSSAPI Kerberos 5 support"
default n
help
Enable GSSAPI Kerberos 5 support in rsyslog
config RSYSLOG_mysql
bool "Enable MySQL support"
default n
help
Enable MySQL support in rsyslog
config RSYSLOG_pgsql
bool "Enable PostgreSQL support"
default n
help
Enable PostgreSQL support in rsyslog
config RSYSLOG_libdbi
bool "Enable libdbi support"
default n
help
Enable libdbi support in rsyslog
config RSYSLOG_elasticsearch
bool "Enable ElasticSearch module support"
default n
help
Enable ElasticSearch output module in rsyslog
config RSYSLOG_omhttp
bool "Enable HTTP output module support"
default n
help
Enable HTTP output module in rsyslog
config RSYSLOG_openssl
bool "Enable OpenSSL support"
default n
help
Enable OpenSSL support in rsyslog
config RSYSLOG_gnutls
bool "Enable GnuTLS support"
default n
help
Enable GnuTLS support in rsyslog
config RSYSLOG_mail
bool "Enable Mail support"
default n
help
Enable mail support in rsyslog
config RSYSLOG_mmjsonparse
bool "Enable JSON parsing module support"
default n
help
Enable JSON parsing support in rsyslog
config RSYSLOG_mmdblookup
bool "Enable MaxMind DB lookup helper support"
default n
help
Enable MaxMind DB lookup helper support in rsyslog
config RSYSLOG_imfile
bool "Enable file input module support"
default n
help
Enable input file module in rsyslog
endif