mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
zabbix: move small config-xx.in back to Makefile
Based on https://github.com/openwrt/packages/issues/28709#issuecomment-4060013105 it has been noted that the number config.in files was high compared to actual config selections. Therefore move smaller selection back into the Makefile. They are still kept with the most appropriate package which they configure. Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
This commit is contained in:
committed by
Florian Eckert
parent
fd5c7badcc
commit
ee93470984
@@ -1,8 +0,0 @@
|
||||
config ZABBIX_BUILD_SUPPORT_BIN
|
||||
bool
|
||||
depends on (PACKAGE_zabbix-agentd || PACKAGE_zabbix-proxy || PACKAGE_zabbix-server)
|
||||
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.
|
||||
@@ -1,13 +0,0 @@
|
||||
choice
|
||||
prompt "Select Database Software for Zabbix"
|
||||
default ZABBIX_POSTGRESQL
|
||||
|
||||
config ZABBIX_MYSQL
|
||||
bool "MySQL/MariaDB"
|
||||
|
||||
config ZABBIX_POSTGRESQL
|
||||
bool "PostgreSQL"
|
||||
|
||||
config ZABBIX_SQLITE
|
||||
bool "SQLite3"
|
||||
endchoice
|
||||
@@ -42,11 +42,29 @@ define Package/zabbix-agentd/config
|
||||
endef
|
||||
|
||||
define Package/zabbix-proxy/config
|
||||
source "$(SOURCE)/Config-db.in"
|
||||
choice
|
||||
prompt "Select Database Software for Zabbix"
|
||||
default ZABBIX_POSTGRESQL
|
||||
|
||||
config ZABBIX_MYSQL
|
||||
bool "MySQL/MariaDB"
|
||||
|
||||
config ZABBIX_POSTGRESQL
|
||||
bool "PostgreSQL"
|
||||
|
||||
config ZABBIX_SQLITE
|
||||
bool "SQLite3"
|
||||
endchoice
|
||||
endef
|
||||
|
||||
define Package/zabbix-get/config
|
||||
source "$(SOURCE)/Config-build.in"
|
||||
config ZABBIX_BUILD_SUPPORT_BIN
|
||||
bool
|
||||
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.
|
||||
endef
|
||||
|
||||
define Package/zabbix/Default
|
||||
|
||||
Reference in New Issue
Block a user