gentoo/www-servers/nginx/nginx-9999.ebuild
Zurab Kvachadze 792a1ab86b
www-servers/nginx: "frontport" pre-nginx.eclass httpoxy mitigation patch
When porting NGINX to nginx.eclass, I forgot to add the httpoxy
mitigation patch, that was applied for previous NGINX versions. See the
patch for more information.

This commit adds the patch back.

Closes: https://bugs.gentoo.org/966715
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44805
Closes: https://github.com/gentoo/gentoo/pull/44805
Signed-off-by: Sam James <sam@gentoo.org>
2025-11-28 19:00:22 +00:00

33 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=live
NGINX_TESTS_COMMIT=live
NGINX_MISC_FILES=(
nginx-{r2.logrotate,r2.service,r4.conf,r6.initd,r1.confd,r1.tmpfiles}
)
inherit nginx
PATCHES=(
"${FILESDIR}/${PN}-httpoxy-mitigation-r1.patch"
)