pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/nginx-devel Update www/nginx-devel to 1.11.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b750f5a3eabd
branches:  trunk
changeset: 348518:b750f5a3eabd
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Wed Jun 15 14:53:48 2016 +0000

description:
Update www/nginx-devel to 1.11.1.

Changes with nginx 1.11.1

- Security: a segmentation fault might occur in a worker process
  while writing a specially crafted request body to a temporary
  file (CVE-2016-4450); the bug had appeared in 1.3.9.


Changes with nginx 1.11.0

- Feature: the "transparent" parameter of the "proxy_bind",
  "fastcgi_bind", "memcached_bind", "scgi_bind", and "uwsgi_bind"
  directives.

- Feature: the $request_id variable.

- Feature: the "map" directive supports combinations of multiple
  variables as resulting values.

- Feature: now nginx checks if EPOLLRDHUP events are supported by
  kernel, and optimizes connection handling accordingly if the
  "epoll" method is used.

- Feature: the "ssl_certificate" and "ssl_certificate_key"
  directives can be specified multiple times to load certificates
  of different types (for example, RSA and ECDSA).

- Feature: the "ssl_ecdh_curve" directive now allows specifying a
  list of curves when using OpenSSL 1.0.2 or newer; by default
  a list built into OpenSSL is used.

- Change: to use DHE ciphers it is now required to specify
  parameters using the "ssl_dhparam" directive.

- Feature: the $proxy_protocol_port variable.

- Feature: the $realip_remote_port variable in the
  ngx_http_realip_module.

- Feature: the ngx_http_realip_module is now able to set the
  client port in addition to the address.

- Change: the "421 Misdirected Request" response now used when
  rejecting requests to a virtual server different from one
  negotiated during an SSL handshake; this improves interoperability
  with some HTTP/2 clients when using client certificates.

- Change: HTTP/2 clients can now start sending request body
  immediately; the "http2_body_preread_size" directive controls
  size of the buffer used before nginx will start reading client
  request body.

- Bugfix: cached error responses were not updated when using the
  "proxy_cache_bypass" directive.


Changes with nginx 1.9.15

- 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.


Changes with nginx 1.9.14

- 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.


Changes with nginx 1.9.13

- 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 tries to avoid cache keys zone overflows.

- Bugfix: "task already active" and "second aio post" alerts might
  appear in logs when using the "sendfile" and "aio" directives
  with subrequests.

- Bugfix: "zero size buf in output" alerts might appear in logs if
  caching was used and a client closed a connection prematurely.

- Bugfix: connections with clients might be closed needlessly if
  caching was used.
  Thanks to Justin Li.

- Bugfix: nginx might hog CPU if the "sendfile" directive was used
  on Linux or Solaris and a file being sent was changed during
  sending.

- Bugfix: connections might hang when using the "sendfile" and
  "aio threads" directives.

- Bugfix: in the "proxy_pass", "fastcgi_pass", "scgi_pass", and
  "uwsgi_pass" directives when using variables.
  Thanks to Piotr Sikora.

- Bugfix: in the ngx_http_sub_filter_module.

- Bugfix: if an error occurred in a cached backend connection, the
  request was passed to the next server regardless of the
  proxy_next_upstream directive.

- Bugfix: "CreateFile() failed" errors when creating temporary
  files on Windows.


Changes with nginx 1.9.12

- Feature: Huffman encoding of response headers in HTTP/2.
  Thanks to Vlad Krasnov.

- Feature: the "worker_cpu_affinity" directive now supports more
  than 64 CPUs.

- Bugfix: compatibility with 3rd party C++ modules; the bug had
  appeared in 1.9.11.
  Thanks to Piotr Sikora.

- Bugfix: nginx could not be built statically with OpenSSL on
  Linux; the bug had appeared in 1.9.11.

- Bugfix: the "add_header ... always" directive with an empty
  value did not delete "Last-Modified" and "ETag" header lines
  from error responses.

- Workaround: "called a function you should not call" and
  "shutdown while in init" messages might appear in logs when
  using OpenSSL 1.0.2f.

- Bugfix: invalid headers might be logged incorrectly.

- Bugfix: socket leak when using HTTP/2.

- Bugfix: in the ngx_http_v2_module.


Changes with nginx 1.9.11

- Feature: TCP support in resolver.

- Feature: dynamic modules.

- Bugfix: the $request_length variable did not include size of
  request headers when using HTTP/2.

- Bugfix: in the ngx_http_v2_module.

diffstat:

 www/nginx-devel/Makefile                               |   6 +-
 www/nginx-devel/distinfo                               |  77 ++++++++---------
 www/nginx-devel/patches/patch-auto_install             |  12 +-
 www/nginx-devel/patches/patch-src_os_unix_ngx__files.c |  17 ---
 4 files changed, 46 insertions(+), 66 deletions(-)

diffs (152 lines):

diff -r 983c043dd0b2 -r b750f5a3eabd www/nginx-devel/Makefile
--- a/www/nginx-devel/Makefile  Wed Jun 15 14:49:11 2016 +0000
+++ b/www/nginx-devel/Makefile  Wed Jun 15 14:53:48 2016 +0000
@@ -1,8 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2016/05/31 19:54:43 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2016/06/15 14:53:48 fhajny Exp $
 
-DISTNAME=              nginx-1.9.10
-PKGREVISION=           1
+DISTNAME=              nginx-1.11.1
 MAINTAINER=            imil%NetBSD.org@localhost
-NGINX_HTTP_V2=         yes
 
 .include "../../www/nginx/Makefile.common"
diff -r 983c043dd0b2 -r b750f5a3eabd www/nginx-devel/distinfo
--- a/www/nginx-devel/distinfo  Wed Jun 15 14:49:11 2016 +0000
+++ b/www/nginx-devel/distinfo  Wed Jun 15 14:53:48 2016 +0000
@@ -1,49 +1,48 @@
-$NetBSD: distinfo,v 1.20 2016/05/31 19:54:43 joerg Exp $
+$NetBSD: distinfo,v 1.21 2016/06/15 14:53:48 fhajny Exp $
 
 SHA1 (array-var-nginx-module-0.04.tar.gz) = 1fd3bdd05c2d1d7667ed6f7baa612ddf7f630df3
 RMD160 (array-var-nginx-module-0.04.tar.gz) = a751a2ce87dcfb88d072779097b4df9f42a415e4
 SHA512 (array-var-nginx-module-0.04.tar.gz) = a45905338d2fdac002eaa43f7bff1fa48edcdcf9299de5c47725c2f6d86830f390fbdefc0ebe7492222e53de113439ea754ce63e20dc0245cf82e3247bb855f2
 Size (array-var-nginx-module-0.04.tar.gz) = 10777 bytes
-SHA1 (echo-nginx-module-0.58.tar.gz) = 823fb32be19bde5eb07cb4e3aae8d8f4bb46e1a4
-RMD160 (echo-nginx-module-0.58.tar.gz) = 36d8aa8cd01ef492b119a322932c5b5841df4e35
-SHA512 (echo-nginx-module-0.58.tar.gz) = 03bca117b2a7f9fa78450d24b2a25fcf19528a37d842dbd740e9ccf0f3ad6652d9927757f1317441438ec1e474211e2b4c84829015a51c5e25ca9f2dbd3809a0
-Size (echo-nginx-module-0.58.tar.gz) = 64779 bytes
-SHA1 (encrypted-session-nginx-module-0.04.tar.gz) = 59b4b52b1090ad396ea7402a9f047d4609e5e6fe
-RMD160 (encrypted-session-nginx-module-0.04.tar.gz) = f1f2b2b3cddd438010958371384256b071ff8f43
-SHA512 (encrypted-session-nginx-module-0.04.tar.gz) = e75139592d10fde5bf406f02ef69cf3d399854d07f69009779572b0b02afe62f130ceae734324cea526936e19096ad9acf645057c142aa6179aa294a3bf4c4e4
-Size (encrypted-session-nginx-module-0.04.tar.gz) = 10006 bytes
-SHA1 (form-input-nginx-module-0.11.tar.gz) = fcb2fe7a4229e9e36151bdf3cfae2dd72435adb9
-RMD160 (form-input-nginx-module-0.11.tar.gz) = 74da6550482c7a2b0c6f9fdc31b55be658e65bc8
-SHA512 (form-input-nginx-module-0.11.tar.gz) = 914565f96598cd5bade24385ae711f63d01a80565c9f69f91d836f11e46bfa0ba3ca14bdf873b3f69125570c0d3783073591b40d7e6800fa74f5f8f892d3c7bd
-Size (form-input-nginx-module-0.11.tar.gz) = 10699 bytes
-SHA1 (headers-more-nginx-module-0.261.tar.gz) = e17f85b4e21633919a789d34aee8518d54147f1e
-RMD160 (headers-more-nginx-module-0.261.tar.gz) = d71f5b201712e10b937ec6f4f1ccad47052d0582
-SHA512 (headers-more-nginx-module-0.261.tar.gz) = 252b5adc86f114460a956b38cca448917124523730e95ffc822a953232da9835e5ee663c65077413d655a8887ac692872b5de115e3cf4123463df7a84f759c3f
-Size (headers-more-nginx-module-0.261.tar.gz) = 28022 bytes
-SHA1 (lua-nginx-module-0.9.16.tar.gz) = 5c1e147c6f680bf43899650a37c81a1f67b65b0d
-RMD160 (lua-nginx-module-0.9.16.tar.gz) = 6d72a6f7ba1742ed477a0f146d44fd1c48d19bb3
-SHA512 (lua-nginx-module-0.9.16.tar.gz) = 01be7dca10c1c1f25d2b8e65c9944662d5ba0235ecccba1143f7c30dcb76fad847a4a2fa7a34055906a33d50ecf8fb463aac9f76581390035a88e48c9b9f5319
-Size (lua-nginx-module-0.9.16.tar.gz) = 523900 bytes
+SHA1 (echo-nginx-module-0.59.tar.gz) = 83cedd03405e86dde573d5c90a24ac6d7bf25ad5
+RMD160 (echo-nginx-module-0.59.tar.gz) = 2caa40d531c0e19f0cdaa93c854e169f8f9375a2
+SHA512 (echo-nginx-module-0.59.tar.gz) = 803c431da00160f62ee98e126d244fb97b2d9dca08137daabf55504f012598f8e2c689841c2e8bfced5f07ce24c46933c49b3feffc09ca0b5f07dc10e34546ee
+Size (echo-nginx-module-0.59.tar.gz) = 52703 bytes
+SHA1 (encrypted-session-nginx-module-0.05.tar.gz) = 0d96ec039f98fae95ce315946bd4ad12128a426c
+RMD160 (encrypted-session-nginx-module-0.05.tar.gz) = 2e8f92d1841c9352cf9c2c775565a60cb840d2ff
+SHA512 (encrypted-session-nginx-module-0.05.tar.gz) = eb11560945f614b110034a7fc461a23057cd8fdc50af7abaaec00fb4991c4dfec25ddfc56d3458de5bd601f0d9990dd235605432d46c5a1852be2f69317a5761
+Size (encrypted-session-nginx-module-0.05.tar.gz) = 10462 bytes
+SHA1 (form-input-nginx-module-0.12.tar.gz) = 03d3befb5ecc6aba5f4f871d18c490e206906022
+RMD160 (form-input-nginx-module-0.12.tar.gz) = 954f13e7ef7afe0d859b543a57482c3dbdf33ced
+SHA512 (form-input-nginx-module-0.12.tar.gz) = 1c5c5ab74156cac09da44a2dcdd84f7c03c9919a23a847e63613e00e3781ecd73d5ad12446174b4fdef9d064257a31570a8dbcccc00d8266f7048e3dcde0362e
+Size (form-input-nginx-module-0.12.tar.gz) = 11090 bytes
+SHA1 (headers-more-nginx-module-0.30.tar.gz) = a188a399f3e365a0831585a9d7aa0e6ed1a75f0d
+RMD160 (headers-more-nginx-module-0.30.tar.gz) = 68fc349ccf41b8755d75a7415d1ae968665f1593
+SHA512 (headers-more-nginx-module-0.30.tar.gz) = 378f2c4b4fbf580e59c8ad3ef5fcb617e4669b7b506a0ae87e4e0bc920d34e16fe55565e48dd57e7b6c37ae8b407646ca64f5d84a2fbbe2d41d719c7643c1a82
+Size (headers-more-nginx-module-0.30.tar.gz) = 27793 bytes
+SHA1 (lua-nginx-module-0.10.5.tar.gz) = a33590654c0624c45eb64a2f1443977ab7fa8ebe
+RMD160 (lua-nginx-module-0.10.5.tar.gz) = 0117c85d034f7424f0fbf29209fb0a39c61fa668
+SHA512 (lua-nginx-module-0.10.5.tar.gz) = a02b8614fdcd063b1087a3114f05402c707343ff3bceabaca1fb98531ba30edea1a525fc45e2f5a49ff155de8d6f9e1155e8870e463476da5703acfd5f8fc3fc
+Size (lua-nginx-module-0.10.5.tar.gz) = 579793 bytes
 SHA1 (naxsi-0.54.tar.gz) = d5db25db19a564358af7763d4935e978d05bf6f5
 RMD160 (naxsi-0.54.tar.gz) = 094b09c198cf690ec24b3e9d3763647e06ebee64
 SHA512 (naxsi-0.54.tar.gz) = 91934bfd41495715269cc6e549d17f6da66f2bdd0c9a6821fa9096b694dd3927109c4aad2f8b327620ae7c34f76a0839ac16669cd8c65081bc01fa7f829c1d43
 Size (naxsi-0.54.tar.gz) = 163809 bytes
-SHA1 (nginx-1.9.10.tar.gz) = b7ddb8bb55ad20c336c94526cd2c26b5699caeb5
-RMD160 (nginx-1.9.10.tar.gz) = 229bb3a24eb52bf28aaad01c88840810d352214c
-SHA512 (nginx-1.9.10.tar.gz) = 60a736afe98e46abeb572c938702b09b0098164584bf8b5c1978c2b83269b6c2b99a60b7c8c9482230c26eebaeeb684f3aa7db52af4d7a3c18434542730873e0
-Size (nginx-1.9.10.tar.gz) = 889267 bytes
-SHA1 (nginx_http_push_module-0.692.tar.gz) = 72103084cad8f4d3d9a49a6b04cf780e4541605d
-RMD160 (nginx_http_push_module-0.692.tar.gz) = 9d2be16074cf28115af0f1d8f3646937cda649ad
-SHA512 (nginx_http_push_module-0.692.tar.gz) = 79821cacf5db4b1309e3f1c8d6980f83b1093dd3f291db5298bfdeb0d889fc0629625dcf3135d1cf7554b43308ef7172a4f40596928ab3069426801177ed3c1c
-Size (nginx_http_push_module-0.692.tar.gz) = 29119 bytes
-SHA1 (ngx_devel_kit-0.2.19.tar.gz) = 888635e80a8a0e6242b8e9b684ff60ffa70845a2
-RMD160 (ngx_devel_kit-0.2.19.tar.gz) = 64d3737bc4cc948c1363cce80d70e5260878811e
-SHA512 (ngx_devel_kit-0.2.19.tar.gz) = 915954acf16a27fbd3c93c154012d38e864f1d8dfd51cde401bba26e46eb3e3c778ec4c92f4f8ed83ac001e96cee72765554d0e4da06acf6a4be5184b23b3657
-Size (ngx_devel_kit-0.2.19.tar.gz) = 65029 bytes
-SHA1 (set-misc-nginx-module-0.29.tar.gz) = 83c9ae27f3ea148023edc5c7611d6a0a48405082
-RMD160 (set-misc-nginx-module-0.29.tar.gz) = c6b403fa9f422bf666d079b84dc2f3ce9ae740f3
-SHA512 (set-misc-nginx-module-0.29.tar.gz) = 8dd2e1bf29e04e21b2aa4e7e72d07094b2c55105958643cf63b4a9ef149b508e3c80a90864a4ed5f2f1b495056f29eeda67fc79a392b240ed71437e3bbb6adf9
-Size (set-misc-nginx-module-0.29.tar.gz) = 35495 bytes
-SHA1 (patch-auto_install) = 723e2ae222146775ae66aed7815bf3f911dd1cd7
+SHA1 (nginx-1.11.1.tar.gz) = 6b6172b26628b95c4ad0d6cb5b11eb4aa59c2a83
+RMD160 (nginx-1.11.1.tar.gz) = 486770048b580ae864e36ce4596aabb36e06a593
+SHA512 (nginx-1.11.1.tar.gz) = 01330a5200b9b5ac5788cd95b2857d2ff87bf0a073a93e3e441b89d19f12137b496e6de67145c04cc74ba88d599a7be96d622f29785e30df23fc8a657adf8b2a
+Size (nginx-1.11.1.tar.gz) = 913417 bytes
+SHA1 (nginx_http_push_module-0.731.tar.gz) = 353f3ef3d013edfcc78ddba0237a9ce7dca633b4
+RMD160 (nginx_http_push_module-0.731.tar.gz) = d35d7138d3b4dd20076b1026c420f03c68177f99
+SHA512 (nginx_http_push_module-0.731.tar.gz) = b95e6e88236d920e18c927a5bdf7d84210ba34b234e7c20ba09d114337a4494535c94c7e84926e5479b23d4eba4e2f1db0a3e7d8b017c9907a4a824cd25098d8
+Size (nginx_http_push_module-0.731.tar.gz) = 50346 bytes
+SHA1 (ngx_devel_kit-0.3.0.tar.gz) = b556d068db23037be30436af559795f45dd93c67
+RMD160 (ngx_devel_kit-0.3.0.tar.gz) = beb2736eb06e8e26f60643623553789346f653da
+SHA512 (ngx_devel_kit-0.3.0.tar.gz) = 558764c9be913a4f61d0e277d07bf3c272e1ce086b3fadb85b693a7e92805cd9fca4da7a8d29c96e53fc0d23b331327d3b2561ff61f19d2330e7d5d35ac7d614
+Size (ngx_devel_kit-0.3.0.tar.gz) = 66455 bytes
+SHA1 (set-misc-nginx-module-0.30.tar.gz) = a56b4d9bd33df2117803c93e1edde8b8bcd6e507
+RMD160 (set-misc-nginx-module-0.30.tar.gz) = 6eec9e0828e4ef6339ecc5e53bf4580cf1e18fc3
+SHA512 (set-misc-nginx-module-0.30.tar.gz) = f081fc7e8e03f1a61b665d8798999f14d6516c317a039e35635f6368188f73a583c3320a5d41f000868b87e5c78e4796168e9d3d3a68325f3c642bf5b3458e2e
+Size (set-misc-nginx-module-0.30.tar.gz) = 28584 bytes
+SHA1 (patch-auto_install) = 3b3a0f9f4c005b707664554fa57a58c9e3b7de60
 SHA1 (patch-conf_nginx.conf) = ee9fbc3838cc006f6e1cddddadf6603f4941d171
-SHA1 (patch-src_os_unix_ngx__files.c) = e6159893bbdf6b991dd3b3ee6fae32d304374995
diff -r 983c043dd0b2 -r b750f5a3eabd www/nginx-devel/patches/patch-auto_install
--- a/www/nginx-devel/patches/patch-auto_install        Wed Jun 15 14:49:11 2016 +0000
+++ b/www/nginx-devel/patches/patch-auto_install        Wed Jun 15 14:53:48 2016 +0000
@@ -1,16 +1,16 @@
-$NetBSD: patch-auto_install,v 1.1 2013/12/05 15:04:06 imil Exp $
+$NetBSD: patch-auto_install,v 1.2 2016/06/15 14:53:48 fhajny Exp $
 
 Do not create PID directory.
 
---- auto/install.orig  2013-11-19 10:03:47.000000000 +0000
+--- auto/install.orig  2016-05-31 13:43:50.000000000 +0000
 +++ auto/install
-@@ -141,9 +141,6 @@ install:   $NGX_OBJS${ngx_dirsep}nginx${ng
+@@ -148,9 +148,6 @@ install:   build $NGX_INSTALL_PERL_MODULES
                || cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PATH'
        cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PREFIX/nginx.conf.default'
  
--      test -d '\$(DESTDIR)`dirname "$NGX_PID_PATH"`' \
+-      test -d '\$(DESTDIR)`dirname "$NGX_PID_PATH"`' \\
 -              || mkdir -p '\$(DESTDIR)`dirname "$NGX_PID_PATH"`'
 -
-       test -d '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`' || \
-               mkdir -p '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`'
+       test -d '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`' \\
+               || mkdir -p '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`'
  
diff -r 983c043dd0b2 -r b750f5a3eabd www/nginx-devel/patches/patch-src_os_unix_ngx__files.c
--- a/www/nginx-devel/patches/patch-src_os_unix_ngx__files.c    Wed Jun 15 14:49:11 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-src_os_unix_ngx__files.c,v 1.1 2016/05/31 19:54:43 joerg Exp $
-
---- src/os/unix/ngx_files.c.orig       2016-01-26 14:27:43.000000000 +0000
-+++ src/os/unix/ngx_files.c
-@@ -313,6 +313,12 @@ ngx_write_chain_to_file(ngx_file_t *file
-         /* create the iovec and coalesce the neighbouring bufs */
- 
-         while (cl && vec.nelts < IOV_MAX) {
-+
-+            if (ngx_buf_special(cl->buf)) {
-+                cl = cl->next;
-+                continue;
-+            }
-+
-             if (prev == cl->buf->pos) {
-                 iov->iov_len += cl->buf->last - cl->buf->pos;
- 



Home | Main Index | Thread Index | Old Index