From 52ec80b78a44017850424c46bbd984db9a9bf22d Mon Sep 17 00:00:00 2001 From: tigro Date: Thu, 13 Feb 2025 14:04:33 +0300 Subject: [PATCH] Fix ModSecurity detection --- SOURCES/0001-Fix-configure-error.patch | 24 ++++++++++++++++++++++++ SPECS/angie.spec | 5 ++++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0001-Fix-configure-error.patch diff --git a/SOURCES/0001-Fix-configure-error.patch b/SOURCES/0001-Fix-configure-error.patch new file mode 100644 index 0000000..dc01b9e --- /dev/null +++ b/SOURCES/0001-Fix-configure-error.patch @@ -0,0 +1,24 @@ +From 8e43ff009f56960c8fb7458282c7366855633b75 Mon Sep 17 00:00:00 2001 +From: tigro +Date: Wed, 12 Feb 2025 20:37:44 +0300 +Subject: [PATCH] Fix configure error + +--- + auto/feature | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/auto/feature b/auto/feature +index e6313cc..59f31af 100644 +--- a/auto/feature ++++ b/auto/feature +@@ -35,6 +35,7 @@ fi + cat << END > $NGX_AUTOTEST.c + + #include ++#include + $NGX_INCLUDE_UNISTD_H + $ngx_feature_incs + +-- +2.48.1 + diff --git a/SPECS/angie.spec b/SPECS/angie.spec index eb5429f..3a41a13 100644 --- a/SPECS/angie.spec +++ b/SPECS/angie.spec @@ -140,6 +140,7 @@ Patch5: ngx_postgres-dynamic.patch Patch6: ngx_postgres-subrequest_in_memory.patch Patch16: zstd-nginx-module.nostatic.patch +Patch1000: 0001-Fix-configure-error.patch BuildRequires: gcc BuildRequires: gcc-c++ @@ -161,6 +162,7 @@ with brand new extra functionality. %prep rm -Rf %{_builddir}/* %setup -q +%patch -P 1000 -p1 -b .fix-configure-error tar -xpzf %{_sourcedir}/nginx-auth-jwt-0.9.0.tar.gz -C %{_builddir} tar -xpzf %{_sourcedir}/nginx-auth-ldap-241200eac8e4acae74d353291bd27f79e5ca3dc4.tar.gz -C %{_builddir} tar -xpzf %{_sourcedir}/spnego-http-auth-nginx-module-v1.1.2.tar.gz -C %{_builddir} @@ -2492,7 +2494,8 @@ https://github.com/tokers/zstd-nginx-module BANNER fi %changelog -* Wed Feb 13 2025 Arkady L. Shane - angie-1.8.1-2 +* Wed Feb 13 2025 Arkady L. Shane - 1.8.1-2 +- Fix ModSecurity detection - Updated angie-module-auth-spnego to v1.1.2 - Updated angie-module-headers-more to v0.38 - Updated angie-module-lua to 0.10.28