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>
(cherry picked from commit 736edbfa2f)
This commit is contained in:
Daniel F. Dickinson
2026-05-09 17:32:18 -04:00
committed by Josef Schlehofer
parent 8ae47467dd
commit a97b5219df
+5 -4
View File
@@ -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