mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
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>
47 lines
888 B
Plaintext
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
|