forked from pool/nginx
Accepting request 393996 from home:dmacvicar:branches:server:http
- update to version 1.10.0 stable * Bugfix: "recv() failed" errors might occur when using HHVM as a FastCGI server. * Bugfix: when using HTTP/2 and the "limit_req" or "auth_request" directives a timeout or a "client violated flow control" error might occur while reading client request body; the bug had appeared in 1.9.14. * Workaround: a response might not be shown by some browsers if HTTP/2 was used and client request body was not fully read; the bug had appeared in 1.9.14. * Bugfix: connections might hang when using the "aio threads" directive. Thanks to Mindaugas Rasiukevicius. * Feature: OpenSSL 1.1.0 compatibility. * Feature: the "proxy_request_buffering", "fastcgi_request_buffering", "scgi_request_buffering", and "uwsgi_request_buffering" directives now work with HTTP/2. * Bugfix: "zero size buf in output" alerts might appear in logs when using HTTP/2. * Bugfix: the "client_max_body_size" directive might work incorrectly when using HTTP/2. * Bugfix: of minor bugs in logging. * Change: non-idempotent requests (POST, LOCK, PATCH) are no longer passed to the next server by default if a request has been sent to a backend; the "non_idempotent" parameter of the "proxy_next_upstream" directive explicitly allows retrying such requests. * Feature: the ngx_http_perl_module can be built dynamically. * Feature: UDP support in the stream module. * Feature: the "aio_write" directive. * Feature: now cache manager monitors number of elements in caches and OBS-URL: https://build.opensuse.org/request/show/393996 OBS-URL: https://build.opensuse.org/package/show/server:http/nginx?expand=0&rev=61
This commit is contained in:
27
nginx.spec
27
nginx.spec
@@ -63,7 +63,7 @@
|
||||
%endif
|
||||
#
|
||||
Name: nginx
|
||||
Version: 1.8.1
|
||||
Version: 1.10.0
|
||||
Release: 0
|
||||
%define fancyindex_version 0.3.5
|
||||
Summary: A HTTP server and IMAP/POP3 proxy server
|
||||
@@ -76,18 +76,16 @@ Source2: nginx.logrotate
|
||||
Source3: nginx.service
|
||||
Source4: https://github.com/aperezdc/ngx-fancyindex/archive/v%{fancyindex_version}/ngx-fancyindex-%{fancyindex_version}.tar.gz
|
||||
Source100: nginx.rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM nginx-0.4.0-no_Werror.patch
|
||||
Patch0: nginx-0.4.0-no_Werror.patch
|
||||
# PATCH-FIX-UPSTREAM nginx-0.6.38-html.patch
|
||||
Patch2: nginx-0.6.38-html.patch
|
||||
# PATCH-FIX-UPSTREAM nginx-1.10.0-no_Werror.patch
|
||||
Patch0: nginx-1.10.0-no_Werror.patch
|
||||
# PATCH-FIX-OPENSUSE nginx-1.10.0-html.patch
|
||||
Patch1: nginx-1.10.0-html.patch
|
||||
# PATCH-FIX-UPSTREAM nginx-1.2.4-perl_vendor_install.patch
|
||||
Patch3: nginx-1.2.4-perl_vendor_install.patch
|
||||
Patch2: nginx-1.2.4-perl_vendor_install.patch
|
||||
# PATCH-FIX-UPSTREAM fix /etc/nginx/nginx.conf to suit Linux env
|
||||
Patch4: nginx-1.6.1-default_config.patch
|
||||
# PATCH for fixing docs/html path
|
||||
Patch5: nginx-1.0.15_docs.patch
|
||||
Patch3: nginx-1.6.1-default_config.patch
|
||||
# PATCH-FIX-UPSTREAM nginx-aio.patch fix support for Linux AIO
|
||||
Patch6: nginx-aio.patch
|
||||
Patch4: nginx-aio.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gd-devel
|
||||
BuildRequires: libxslt-devel
|
||||
@@ -130,12 +128,11 @@ It has been running on many heavily loaded Russian sites for more than two years
|
||||
%else
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
%endif
|
||||
%patch0
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6 -p1
|
||||
%patch4 -p1
|
||||
|
||||
perl -pi -e 's|\r\n|\n|g' contrib/geo2nginx.pl
|
||||
|
||||
@@ -172,7 +169,7 @@ sed -i "s/\/var\/run/\/run/" %{_sourcedir}/nginx.init
|
||||
--with-ipv6 \
|
||||
--with-http_ssl_module \
|
||||
%if %{with http2}
|
||||
--with-http_spdy_module \
|
||||
--with-http_v2_module \
|
||||
%endif
|
||||
--with-http_realip_module \
|
||||
--with-http_addition_module \
|
||||
|
Reference in New Issue
Block a user