[PATCH 07/10] nginx.eclass: fix http_uwsgi test dependency on uwsgi[ssl]

Zurab Kvachadze <[email protected]> Sat, 18 Jul 2026 19:37:04 +0300
Newsgroups gmane.linux.gentoo.devel
Message-ID <[email protected]>
If http_ssl and http_uwsgi are used together, NGINX runs some tests that
use SSL functionality of UWSGI.

This commit changes the http_uwsgi test dependency to depend on
uwsgi[ssl].

We could have opted for a more complex nginx_module_http_ssl-gated
dependency, but this is simple and it works.

Closes: https://bugs.gentoo.org/977774
Signed-off-by: Zurab Kvachadze <[email protected]>
---
 eclass/nginx.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/nginx.eclass b/eclass/nginx.eclass
index 20a4a12e2ac6..1075fa6da23f 100644
--- a/eclass/nginx.eclass
+++ b/eclass/nginx.eclass
@@ -495,7 +495,7 @@ _ngx_set_mod_test_depend() {
 			dev-perl/IO-Socket-SSL
 			dev-perl/Net-SSLeay
 		"
-		[http_uwsgi]="www-servers/uwsgi[python(-)]"
+		[http_uwsgi]="www-servers/uwsgi[ssl,python(-)]"
 		[http_v3]="dev-perl/CryptX"
 		[mail_ssl]="dev-perl/IO-Socket-SSL"
 		[stream_ssl]="dev-perl/IO-Socket-SSL"
-- 
2.54.0