From: Daniel F. Dickinson Date: Sat, 9 May 2026 21:32:18 +0000 (-0400) Subject: zabbix: prevent invalid package selection X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=736edbfa2f76eba06102f67c6d0ae4224d26d2d3;p=openwrt-packages.git 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 --- diff --git a/admin/zabbix/Makefile b/admin/zabbix/Makefile index 5473512dc..21c368bdb 100644 --- a/admin/zabbix/Makefile +++ b/admin/zabbix/Makefile @@ -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