mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
zabbix: prevent invalid package selection
zabbix-sender and zabbix-get are only build if agentd is built. Therefore do not allow selection them if the full agentd is not being built. Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
This commit is contained in:
committed by
Alexandru Ardelean
parent
c79ea3a86c
commit
736edbfa2f
@@ -62,12 +62,13 @@ endef
|
||||
define Package/zabbix-get/config
|
||||
config ZABBIX_BUILD_SUPPORT_BIN
|
||||
bool
|
||||
depends on (PACKAGE_zabbix-agentd || PACKAGE_zabbix-proxy || PACKAGE_zabbix-server) && ZABBIX_ENABLE_ZABBIX
|
||||
depends on PACKAGE_zabbix-agentd && ZABBIX_ENABLE_ZABBIX
|
||||
default y
|
||||
help
|
||||
This option exists to prevent trying to build get and/or sender when none
|
||||
of agentd, server, or proxy are being built. In that case get and sender are
|
||||
not built by the Zabbix build system.
|
||||
This option exists to prevent trying to build get and/or sender when the
|
||||
of agent is not being built. In that case get and sender are not built by
|
||||
the Zabbix build system. This is not a dependency DEPENDS because the
|
||||
binaries do not require the agent to function.
|
||||
endef
|
||||
|
||||
define Package/zabbix/Default
|
||||
|
||||
Reference in New Issue
Block a user