Files
packages/admin/zabbix/Config.in
Daniel F. Dickinson f0576eb36b zabbix: hide CONFIG symbols when no Zabbix package selected
As noted in #28709 OpenWrt  contains CONFIG_
symbols for Zabbix even when no Zabbix package is selected.
This fixes and Closes #28709.

We add a 'guard' symbol for the menus and choices so the only
generate CONFIG symbols when 'Enable Zabbix'
(CONFIG_ZABBIX_ENABLE_ZABBIX) is selected.

We also make all the Zabbix packages depend on this symbol,
for consistency.

This operates much as the pseudo-package solution, but without
a pseudo-package required.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-03-22 09:16:50 +01:00

47 lines
888 B
Plaintext

config ZABBIX_ENABLE_ZABBIX
bool "Enable Zabbix"
default y if ALL
default n
menu "Modify features for non-core variants"
depends on ZABBIX_ENABLE_ZABBIX
config ZABBIX_CURL
bool "cURL support (default SSL)"
default y if ZABBIX_ENABLE_ZABBIX
default n
depends on !ZABBIX_GNUTLS && !ZABBIX_NOSSL
config ZABBIX_CURL_GNUTLS
bool "cURL support (GnuTLS)"
default n
depends on !ZABBIX_CURL
config ZABBIX_LDAP
bool "LDAP support"
depends on ZABBIX_OPENSSL
default y if ZABBIX_ENABLE_ZABBIX
default n
config ZABBIX_NETSNMP
bool "NetSNMP support (OpenSSL)"
depends on ZABBIX_OPENSSL
default y if ZABBIX_ENABLE_ZABBIX
default n
endmenu
choice
depends on ZABBIX_ENABLE_ZABBIX
prompt "Select SSL Library"
default ZABBIX_OPENSSL
config ZABBIX_GNUTLS
bool "GnuTLS"
config ZABBIX_NOSSL
bool "NoSSL"
config ZABBIX_OPENSSL
bool "OpenSSL"
endchoice