buildroot/package/rsyslog/Config.in
Konstantin Menyaev e929d75d7e package/rsyslog: extra plugins option introduced
The rsyslog package enables extra plugins based on the availability of
external dependencies. However, there are many cases where those
plugins are not needed, even when some of those external dependencies
are enabled. Allow disabling the build of plugins. This option is
useful in embedded systems to achieve compact footprint.

Signed-off-by: Konstantin Menyaev <KAMenyaev@salutedevices.com>
Signed-off-by: Flávio Tapajós <flavio.tapajos@newtesc.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-08-15 22:15:02 +02:00

37 lines
1.1 KiB
Plaintext

config BR2_PACKAGE_RSYSLOG
bool "rsyslog"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS # modules
# Propagate the exact same dependency from libfastjson,
# even though rsyslog already depends on threads for itself:
depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
select BR2_PACKAGE_APR_UTIL if BR2_PACKAGE_CIVETWEB_LIB
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_LIBESTR
select BR2_PACKAGE_LIBLOGGING
select BR2_PACKAGE_LIBFASTJSON
help
Rsyslog is a powerful and flexible syslog implementation
http://www.rsyslog.com
if BR2_PACKAGE_RSYSLOG
config BR2_PACKAGE_RSYSLOG_EXTRA_PLUGINS
bool "extra plugins"
default y
help
Enable rsyslog plugins that require external
dependencies. The different plugins will be automatically
enabled if their dependencies are enabled.
endif # BR2_PACKAGE_RSYSLOG
comment "rsyslog needs a toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS