nginx: fix module depends on nginx

Closes #28587
nginx: many module recursive dependencies

The solution turns out to be pretty trivial.
Replace the +nginx in the module DEPENDS.

This means the modules do not 'select' nginx, but the do 'depend on'
nginx. So nginx is required to install the modules.

This is the same approach taken with PHP8 and #28585 for Zabbix.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
This commit is contained in:
Daniel F. Dickinson
2026-02-16 23:42:33 -05:00
committed by Robert Marko
parent f901d88ea4
commit b441a83e95

View File

@@ -199,7 +199,7 @@ define Package/nginx-mod-luci
SUBMENU:=Web Servers/Proxies
TITLE:=Support file for Nginx
URL:=http://nginx.org/
DEPENDS:=+uwsgi +uwsgi-luci-support +nginx +nginx-mod-ubus
DEPENDS:=nginx +uwsgi +uwsgi-luci-support +nginx-mod-ubus
endef
define Package/nginx-mod-luci/description
@@ -402,7 +402,7 @@ endef
define BuildModule
define Package/nginx-mod-$(1)
$(call Package/nginx/default)
DEPENDS:=+nginx $(2)
DEPENDS:=nginx $(2)
TITLE:=Nginx $(1) module
endef