From 730025f7b69f4f9b9ce66f7e06d16a8dfd6a8c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Uhliarik?= Date: Thu, 29 Jan 2026 17:30:01 +0100 Subject: [PATCH] Resolves: RHEL-145177 - Clarify binding behavior of -t option --- ...Clarify-binding-behavior-of-t-option.patch | 37 +++++++++++++++++++ nginx.spec | 10 ++++- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 0014-Clarify-binding-behavior-of-t-option.patch diff --git a/0014-Clarify-binding-behavior-of-t-option.patch b/0014-Clarify-binding-behavior-of-t-option.patch new file mode 100644 index 0000000..dee159f --- /dev/null +++ b/0014-Clarify-binding-behavior-of-t-option.patch @@ -0,0 +1,37 @@ +From dc847f7aedf0b4f8bbf9d7f9ba983541c6ca88c9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Lubo=C5=A1=20Uhliarik?= +Date: Tue, 20 Jan 2026 19:27:05 +0100 +Subject: [PATCH] Clarify binding behavior of -t option. + +Configuration testing includes binding to configured listen addresses +when opening referenced files. +--- + man/nginx.8 | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/man/nginx.8 b/man/nginx.8 +index 10db3e6..64d9ae7 100644 +--- a/man/nginx.8 ++++ b/man/nginx.8 +@@ -25,7 +25,7 @@ + .\" SUCH DAMAGE. + .\" + .\" +-.Dd November 5, 2020 ++.Dd January 21, 2026 + .Dt NGINX 8 + .Os + .Sh NAME +@@ -98,7 +98,8 @@ but additionally dump configuration files to standard output. + Do not run, just test the configuration file. + .Nm + checks the configuration file syntax and then tries to open files +-referenced in the configuration file. ++referenced in the configuration file, including binding to configured ++listen addresses. + .It Fl V + Print the + .Nm +-- +2.44.0 + diff --git a/nginx.spec b/nginx.spec index 9090a79..78690de 100644 --- a/nginx.spec +++ b/nginx.spec @@ -41,7 +41,7 @@ Name: nginx Epoch: 2 Version: 1.20.1 -Release: 26%{?dist} +Release: 27%{?dist} Summary: A high performance web server and reverse proxy server # BSD License (two clause) @@ -115,6 +115,11 @@ Patch12: 0012-CVE-2022-41741-and-CVE-2022-41742-fix.patch # upstream patch - https://bugzilla.redhat.com/show_bug.cgi?id=2304966 Patch13: 0013-CVE-2024-7347-Buffer-overread-in-the-mp4-module.patch +# https://issues.redhat.com/browse/RHEL-113229 +# upstream patch - https://github.com/nginx/nginx/pull/1089 +Patch14: 0014-Clarify-binding-behavior-of-t-option.patch + + BuildRequires: make BuildRequires: gcc BuildRequires: gnupg2 @@ -631,6 +636,9 @@ fi %changelog +* Thu Jan 29 2026 Luboš Uhliarik - 2:1.20.1-27 +- Resolves: RHEL-145177 - Clarify binding behavior of -t option + * Thu Nov 20 2025 Luboš Uhliarik - 2:1.20.1-26 - Resolves: RHEL-102548 - Remove 50x.html for nginx 1.26