]> git.99rst.org Git - openwrt-packages.git/commitdiff
zabbix: remove dependency on symbol ZABBIX_ENABLE_ZABBIX
authorDaniel F. Dickinson <redacted>
Fri, 10 Jul 2026 03:30:55 +0000 (23:30 -0400)
committerJosef Schlehofer <redacted>
Fri, 10 Jul 2026 18:56:10 +0000 (20:56 +0200)
It results a failure to build due to
https://github.com/openwrt/gh-action-sdk/issues/70. This means there will be some
ZABBIX symbols in .config eveen when ZABBIX is not selected, but this is a
necessary tradeoff. See
https://github.com/openwrt/packages/pull/29803#issuecomment-4882201182.

Signed-off-by: Daniel F. Dickinson <redacted>
admin/zabbix/Config.in
admin/zabbix/Makefile

index cad909c7131d2a636c76102b85c234b7e048848c..8f3e3faafb9809f8f8f9f4e89e7ac31d0c61684a 100644 (file)
@@ -1,14 +1,7 @@
-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
+               default y
                depends on !ZABBIX_GNUTLS && !ZABBIX_NOSSL
 
        config ZABBIX_CURL_GNUTLS
@@ -19,18 +12,15 @@ menu "Modify features for non-core variants"
        config ZABBIX_LDAP
                bool "LDAP support"
                depends on ZABBIX_OPENSSL
-               default y if ZABBIX_ENABLE_ZABBIX
-               default n
+               default y
 
        config ZABBIX_NETSNMP
                bool "NetSNMP support (OpenSSL)"
                depends on ZABBIX_OPENSSL
-               default y if ZABBIX_ENABLE_ZABBIX
-               default n
+               default y
 endmenu
 
 choice
-       depends on ZABBIX_ENABLE_ZABBIX
        prompt "Select SSL Library"
 
        default ZABBIX_OPENSSL
index 6120bb0d0c087e624e4d9d796f5338e21bfedc70..ea49259a6c94c7a9f626aa294c3be06956c7bab6 100644 (file)
@@ -27,7 +27,6 @@ PKG_BUILD_PARALLEL:=1
 PKG_CONFIG_DEPENDS:= \
   CONFIG_ZABBIX_CURL \
   CONFIG_ZABBIX_CURL_GNUTLS \
-  CONFIG_ZABBIX_ENABLE_ZABBIX \
   CONFIG_ZABBIX_GNUTLS \
   CONFIG_ZABBIX_LDAP \
   CONFIG_ZABBIX_MYSQL \
@@ -44,7 +43,6 @@ endef
 
 define Package/zabbix-proxy/config
        choice
-               depends on ZABBIX_ENABLE_ZABBIX
                prompt "Select Database Software for Zabbix"
                default ZABBIX_POSTGRESQL
 
@@ -62,7 +60,7 @@ endef
 define Package/zabbix-get/config
        config ZABBIX_BUILD_SUPPORT_BIN
                bool
-               depends on PACKAGE_zabbix-agentd && ZABBIX_ENABLE_ZABBIX
+               depends on PACKAGE_zabbix-agentd
                default y
                help
                        This option exists to prevent trying to build get and/or sender when the
@@ -77,7 +75,6 @@ define Package/zabbix/Default
   SUBMENU:=Zabbix
   TITLE:=Zabbix
   URL:=https://www.zabbix.com/
-  DEPENDS:=@ZABBIX_ENABLE_ZABBIX
 endef
 
 define Package/zabbix/description/Default
git clone https://git.99rst.org/PROJECT