From: Daniel F. Dickinson Date: Tue, 17 Feb 2026 04:42:33 +0000 (-0500) Subject: nginx: fix module depends on nginx X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b441a83e957712ce44d5c6135f98bfe3f381aacb;p=openwrt-packages.git 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 --- diff --git a/net/nginx/Makefile b/net/nginx/Makefile index 6a86d896a..ee5867594 100644 --- a/net/nginx/Makefile +++ b/net/nginx/Makefile @@ -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