gentoo/www-servers/nginx/nginx-1.29.1-r1.ebuild
Anna (navi) Figueiredo Gomes 8481acdc2c
www-servers/nginx: use default start/stop initd functions
capturing the output of a command means the shell is stalled until the
file descriptor is closed, which means using an option such as
'error_log stderr ...;' hangs the default start, as nginx will keep the
stderr file descriptor alive

there's little reason to redefine start for usual daemons, and caputring
the output just so we can hide on success or wrap it in a customized error
message does not seem worth the trouble

also remove the capture of output in checkpath, in there it does
nothing except "hide" output on success

Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Bug: https://bugs.gentoo.org/show_bug.cgi?id=961964
Part-of: https://github.com/gentoo/gentoo/pull/43577
Closes: https://github.com/gentoo/gentoo/pull/43577
Signed-off-by: Sam James <sam@gentoo.org>
2025-08-27 09:07:55 +01:00

32 lines
1.1 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NGINX_SUBSYSTEMS=(+http stream mail)
NGINX_MODULES=(
+http_{charset,gzip,ssi,userid,access,auth_basic,mirror,autoindex,geo,map}
+http_{split_clients,referer,rewrite,proxy,fastcgi,uwsgi,scgi,grpc}
+http_{memcached,limit_conn,limit_req,empty_gif,browser,upstream_hash}
+http_{upstream_ip_hash,upstream_least_conn,upstream_random}
+http_{upstream_keepalive,upstream_zone}
http_{ssl,v2,v3,realip,addition,xslt,image_filter,geoip,sub,dav,flv,mp4}
http_{gunzip,gzip_static,auth_request,random_index,secure_link,degradation}
http_{slice,stub_status,perl}
+mail_{pop3,imap,smtp}
mail_ssl
+stream_{limit_conn,access,geo,map,split_clients,return,pass,set}
+stream_{upstream_hash,upstream_least_conn,upstream_random,upstream_zone}
stream_{ssl,realip,geoip,ssl_preread}
)
NGINX_UPDATE_STREAM=mainline
NGINX_TESTS_COMMIT=06a36245e134eac985cdfc5fac982cb149f61412
NGINX_MISC_FILES=(
nginx-{r2.logrotate,r2.service,r4.conf,r6.initd,r1.confd}
nginx.tmpfiles
)
inherit nginx
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"