diff options
| author | Zurab Kvachadze <zurabid2016@gmail.com> | 2025-12-01 19:47:25 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-12-02 00:05:42 +0000 |
| commit | 75c2cb66eed12ddda2c1182c1797e11e821c8209 (patch) | |
| tree | c28cf7c8e6d30da7f3a346552f0f7830c05db247 /www-servers/nginx/nginx-1.29.3-r3.ebuild | |
| parent | 0be82185b867a0a35586dfc550a48189ee208390 (diff) | |
| download | gentoo-75c2cb66eed12ddda2c1182c1797e11e821c8209.tar.gz gentoo-75c2cb66eed12ddda2c1182c1797e11e821c8209.tar.bz2 gentoo-75c2cb66eed12ddda2c1182c1797e11e821c8209.zip | |
www-servers/nginx: fix fastcgi.conf, nginx-r6.initd regressions from nginx.eclass
nginx.eclass prefers fastcgi_params over fastcgi.conf for consistency.
For some reason, when I was writing nginx.eclass I missed the fact that
fastcgi.conf has one extra `fastcgi_param` vs fastcgi_params. This
commit uses fastcgi.conf as new fastcgi_params by renaming the former to
the latter.
In 8481acdc2c34e960f08cd90ce09068d791e42901[1] ("www-servers/nginx: use
default start/stop initd functions"), the custom start() was removed,
where the `-c` and `-g` cmdline parameters were hardcoded, which regressed
services that were symlinked to /etc/init.d/nginx.
This commit fixes both issues at the same time to avoid revbumping
ebuilds twice. KEYWORDS were not dropped because this fixes regressions.
[1]: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8481acdc2c34e960f08cd90ce09068d791e42901
Closes: https://bugs.gentoo.org/966799
Closes: https://bugs.gentoo.org/966798
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44853
Closes: https://github.com/gentoo/gentoo/pull/44853
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'www-servers/nginx/nginx-1.29.3-r3.ebuild')
| -rw-r--r-- | www-servers/nginx/nginx-1.29.3-r3.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/www-servers/nginx/nginx-1.29.3-r3.ebuild b/www-servers/nginx/nginx-1.29.3-r3.ebuild new file mode 100644 index 000000000000..a7c27a668537 --- /dev/null +++ b/www-servers/nginx/nginx-1.29.3-r3.ebuild @@ -0,0 +1,34 @@ +# 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,r1.tmpfiles} +) + +inherit nginx + +KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" + +PATCHES=( + "${FILESDIR}/${PN}-httpoxy-mitigation-r1.patch" +) |
