nginx: fix module depends on nginx
authorDaniel F. Dickinson <redacted>
Tue, 17 Feb 2026 04:42:33 +0000 (23:42 -0500)
committerRobert Marko <redacted>
Wed, 18 Feb 2026 09:10:35 +0000 (10:10 +0100)
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 <redacted>
net/nginx/Makefile

index 6a86d896a007dc3dc8a20c6f06bbf64753762667..ee5867594c8dd0efbc2e282dc64d2a0ed6d444a9 100644 (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
 
git clone https://git.99rst.org/PROJECT