Changes of Revision 11
[-] | Changed | nginx.spec |
x 1
2 Source11: nginx_upstream_check_module-master.tar.gz 3 Source12: nginx-statsd.tar.gz 4 Source13: nginx-munin.tar.gz 5 +Source14: nginx-http-sysguard.tar.gz 6 Source100: index.html 7 Source101: poweredby.png 8 Source102: nginx-logo.png 9
10 Patch1: nginx-conf-0.7.x.patch 11 Patch2: check_1.2.6+.patch 12 Patch3: ngx-detect-heartbleed.patch 13 +Patch4: nginx_sysguard_1.3.9.patch 14 15 %description 16 Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 17
18 %patch1 -p0 19 %patch2 -p1 20 %patch3 -p0 21 -#%patch4 -p1 22 +%patch4 -p1 23 %{__tar} zxvf %{SOURCE5} 24 %{__tar} zxvf %{SOURCE9} 25 %{__tar} jxvf %{SOURCE10} 26 %{__tar} zxvf %{SOURCE11} 27 %{__tar} zxvf %{SOURCE12} 28 %{__tar} zxvf %{SOURCE13} 29 +%{__tar} zxvf %{SOURCE14} 30 31 %build 32 export DESTDIR=%{buildroot} 33
34 --add-module=%{_builddir}/nginx-%{version}/%{rtmp} \ 35 %endif 36 --add-module=%{_builddir}/nginx-%{version}/Nginx-limit-traffic-rate-module \ 37 + --add-module=%{_builddir}/nginx-%{version}/nginx-http-sysguard \ 38 --with-file-aio 39 40 make %{?_smp_mflags} 41 |
||
[+] | Added | nginx_sysguard_1.3.9.patch ^ |
@@ -0,0 +1,12 @@ +diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h +index f234840..b7665e9 100644 +--- a/src/http/ngx_http_request.h ++++ b/src/http/ngx_http_request.h +@@ -489,6 +489,7 @@ struct ngx_http_request_s { + */ + unsigned limit_conn_set:1; + unsigned limit_req_set:1; ++ unsigned sysguard_set:1; + + #if 0 + unsigned cacheable:1; | ||
Added | nginx-http-sysguard.tar.gz ^ |