]> git.pld-linux.org Git - packages/nginx.git/blobdiff - nginx.spec
- modsecurity fixing patch (https://github.com/SpiderLabs/ModSecurity/issues/582)
[packages/nginx.git] / nginx.spec
index ad59d5cdac2c23245885a4c733f67771b33bfc15..0f24de2ce071c889dfccf4d6e16d0262abeb1cac 100644 (file)
@@ -65,6 +65,7 @@ Source22:     http://www.modsecurity.org/tarball/%{modsecurity_version}/modsecurity-
 Source101:     https://github.com/arut/nginx-rtmp-module/archive/v%{rtmp_version}/nginx-rtmp-module-%{rtmp_version}.tar.gz
 # Source101-md5:       8006de2560db3e55bb15d110220076ac
 Patch0:                %{name}-no-Werror.patch
+Patch1:                %{name}-modsecurity-xheaders.patch
 URL:           http://nginx.net/
 %{?with_modsecurity:BuildRequires: lua-devel}
 BuildRequires: mailcap
@@ -283,6 +284,7 @@ Plik monitrc do monitorowania serwera WWW nginx.
 %prep
 %setup -q %{?with_rtmp:-a101} %{?with_modsecurity:-a22}
 %patch0 -p0
+%{?with_modsecurity:%patch1 -p0}
 
 %if %{with rtmp}
 mv nginx-rtmp-module-%{rtmp_version} nginx-rtmp-module
This page took 0.030015 seconds and 4 git commands to generate.