From 55d442384a85eb8f0c0e1bb03c583004f11edd4a Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 13 Oct 2024 16:52:21 +0300 Subject: [PATCH] Set 10 symbols in listing --- ...9-change-NGX_HTTP_AUTOINDEX_NAME_LEN.patch | 25 +++++++++++++++++++ SPECS/nginx.spec | 8 +++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0009-change-NGX_HTTP_AUTOINDEX_NAME_LEN.patch diff --git a/SOURCES/0009-change-NGX_HTTP_AUTOINDEX_NAME_LEN.patch b/SOURCES/0009-change-NGX_HTTP_AUTOINDEX_NAME_LEN.patch new file mode 100644 index 0000000..5ce3be3 --- /dev/null +++ b/SOURCES/0009-change-NGX_HTTP_AUTOINDEX_NAME_LEN.patch @@ -0,0 +1,25 @@ +From 6a08ad4a381f8c2e6fcf1299fd19f6482a55d922 Mon Sep 17 00:00:00 2001 +From: Dmitry Samoylik +Date: Tue, 13 Aug 2024 14:13:16 +0300 +Subject: [PATCH] change NGX_HTTP_AUTOINDEX_NAME_LEN + +--- + src/http/modules/ngx_http_autoindex_module.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/http/modules/ngx_http_autoindex_module.c b/src/http/modules/ngx_http_autoindex_module.c +index 082bcb5..097a765 100644 +--- a/src/http/modules/ngx_http_autoindex_module.c ++++ b/src/http/modules/ngx_http_autoindex_module.c +@@ -52,7 +52,7 @@ typedef struct { + + #define NGX_HTTP_AUTOINDEX_PREALLOCATE 50 + +-#define NGX_HTTP_AUTOINDEX_NAME_LEN 50 ++#define NGX_HTTP_AUTOINDEX_NAME_LEN 120 + + + static ngx_buf_t *ngx_http_autoindex_html(ngx_http_request_t *r, +-- +2.43.5 + diff --git a/SPECS/nginx.spec b/SPECS/nginx.spec index 12bdd00..a4942c8 100644 --- a/SPECS/nginx.spec +++ b/SPECS/nginx.spec @@ -41,7 +41,7 @@ Name: nginx Epoch: 2 Version: 1.20.1 -Release: 20%{?dist} +Release: 20%{?dist}.inferit Summary: A high performance web server and reverse proxy server # BSD License (two clause) @@ -100,6 +100,9 @@ Patch8: 0009-defer-ENGINE_finish-calls-to-a-cleanup.patch # upstream patch - https://issues.redhat.com/browse/RHEL-40075 Patch9: 0010-Optimized-chain-link-usage.patch +# MSVSphere +Patch100: 0009-change-NGX_HTTP_AUTOINDEX_NAME_LEN.patch + BuildRequires: make BuildRequires: gcc BuildRequires: gnupg2 @@ -611,6 +614,9 @@ fi %changelog +* Sun Oct 13 2024 Arkady L. Shane - 2:1.20.1-20.inferit +- Set 120 symbols in listing + * Mon Jul 15 2024 Luboš Uhliarik - 2:1.20.1-20 - Resolves: RHEL-40075 - nginx worker processes memory leak