From owner-dev-commits-ports-main@freebsd.org Tue Apr 6 12:11:47 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 50C855CEF43; Tue, 6 Apr 2021 12:11:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF5wz1qVJz4hW5; Tue, 6 Apr 2021 12:11:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 31E9534E1; Tue, 6 Apr 2021 12:11:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 136CBlIl019256; Tue, 6 Apr 2021 12:11:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 136CBl7R019255; Tue, 6 Apr 2021 12:11:47 GMT (envelope-from git) Date: Tue, 6 Apr 2021 12:11:47 GMT Message-Id: <202104061211.136CBl7R019255@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Sergey A. Osokin" Subject: git: 9c489c4d4838 - main - Update from 1.19.8 to 1.19.9. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: osa X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9c489c4d483814810029c4d5eeedcd5ba787f060 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 12:11:47 -0000 The branch main has been updated by osa: URL: https://cgit.FreeBSD.org/ports/commit/?id=9c489c4d483814810029c4d5eeedcd5ba787f060 commit 9c489c4d483814810029c4d5eeedcd5ba787f060 Author: Sergey A. Osokin AuthorDate: 2021-04-06 12:09:29 +0000 Commit: Sergey A. Osokin CommitDate: 2021-04-06 12:09:29 +0000 Update from 1.19.8 to 1.19.9. Update NGINX JavaScript module from 0.5.2 to 0.5.3. Remove needless patches. *) Bugfix: nginx could not be built with the mail proxy module, but without the ngx_mail_ssl_module; the bug had appeared in 1.19.8. *) Bugfix: "upstream sent response body larger than indicated content length" errors might occur when working with gRPC backends; the bug had appeared in 1.19.1. *) Bugfix: nginx might not close a connection till keepalive timeout expiration if the connection was closed by the client while discarding the request body. *) Bugfix: nginx might not detect that a connection was already closed by the client when waiting for auth_delay or limit_req delay, or when working with backends. *) Bugfix: in the eventport method. nginx modules: *) Feature: added the "js_var" directive. --- www/nginx-devel/Makefile | 3 +-- www/nginx-devel/Makefile.extmod | 2 +- www/nginx-devel/distinfo | 10 ++++----- .../patch-src-mail-ngx_mail_auth_http_module.c | 26 ---------------------- .../files/patch-src-mail-ngx_mail_handler.c | 20 ----------------- 5 files changed, 7 insertions(+), 54 deletions(-) diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index d2e8ade9548e..dc822d3a8aa7 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME?= nginx -PORTVERSION= 1.19.8 -PORTREVISION= 1 +PORTVERSION= 1.19.9 CATEGORIES= www MASTER_SITES= https://nginx.org/download/ \ LOCAL/osa diff --git a/www/nginx-devel/Makefile.extmod b/www/nginx-devel/Makefile.extmod index 42e89e78a150..84960ac86a85 100644 --- a/www/nginx-devel/Makefile.extmod +++ b/www/nginx-devel/Makefile.extmod @@ -231,7 +231,7 @@ NAXSI_NGINX_VER= 1.3 NAXSI_GH_TUPLE= nbs-system:naxsi:${NAXSI_NGINX_VER}:naxsi NAXSI_VARS= DSO_EXTMODS+=naxsi NAXSI_SUBDIR=/naxsi_src -NJS_GH_TUPLE= nginx:njs:0.5.2:njs +NJS_GH_TUPLE= nginx:njs:0.5.3:njs NJS_VARS= DSO_EXTMODS+=njs NJS_SUBDIR=/nginx NJS_USES= libedit diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index e28349be630d..99c7ff754fa4 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1615304472 -SHA256 (nginx-1.19.8.tar.gz) = 308919b1a1359315a8066578472f998f14cb32af8de605a3743acca834348b05 -SIZE (nginx-1.19.8.tar.gz) = 1060155 +TIMESTAMP = 1617640083 +SHA256 (nginx-1.19.9.tar.gz) = 2e35dff06a9826e8aca940e9e8be46b7e4b12c19a48d55bfc2dc28fc9cc7d841 +SIZE (nginx-1.19.9.tar.gz) = 1060580 SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae SIZE (nginx_mogilefs_module-1.0.4.tar.gz) = 11208 SHA256 (nginx_mod_h264_streaming-2.2.7.tar.gz) = 6d974ba630cef59de1f60996c66b401264a345d25988a76037c2856cec756c19 @@ -111,8 +111,8 @@ SHA256 (SpiderLabs-ModSecurity-nginx-v1.0.1_GH0.tar.gz) = c969a78659bb47c84929de SIZE (SpiderLabs-ModSecurity-nginx-v1.0.1_GH0.tar.gz) = 31920 SHA256 (nbs-system-naxsi-1.3_GH0.tar.gz) = 439c8677372d2597b4360bbcc10bc86490de1fc75695b193ad5df154a214d628 SIZE (nbs-system-naxsi-1.3_GH0.tar.gz) = 235626 -SHA256 (nginx-njs-0.5.2_GH0.tar.gz) = 13781a3a92ad61fdb409a87048e3b7a76f36a5569b0c705006e1f2224056b7d1 -SIZE (nginx-njs-0.5.2_GH0.tar.gz) = 519331 +SHA256 (nginx-njs-0.5.3_GH0.tar.gz) = 3f64b9df0d2b4722899feeb490ffbc28e334da9b916e6476570083155a25c73a +SIZE (nginx-njs-0.5.3_GH0.tar.gz) = 519938 SHA256 (opentracing-contrib-nginx-opentracing-2d81c29_GH0.tar.gz) = b082bb8e0f4de2e3361c9cae79e266856de1e5b26a43611e08446b7c2bc0b2b4 SIZE (opentracing-contrib-nginx-opentracing-2d81c29_GH0.tar.gz) = 664357 SHA256 (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = c69ad4495de7c7883ebc23e1e6c4cc83a4ac6a7fddd4d5c12e49d33b65f7c50b diff --git a/www/nginx-devel/files/patch-src-mail-ngx_mail_auth_http_module.c b/www/nginx-devel/files/patch-src-mail-ngx_mail_auth_http_module.c deleted file mode 100644 index af8dcda8f7a2..000000000000 --- a/www/nginx-devel/files/patch-src-mail-ngx_mail_auth_http_module.c +++ /dev/null @@ -1,26 +0,0 @@ ---- src/mail/ngx_mail_auth_http_module.c.orig 2021-03-09 12:50:37.389186000 -0500 -+++ src/mail/ngx_mail_auth_http_module.c 2021-03-09 12:55:40.877872000 -0500 -@@ -1135,10 +1135,10 @@ - size_t len; - ngx_buf_t *b; - ngx_str_t login, passwd; -+ ngx_connection_t *c; - #if (NGX_MAIL_SSL) - ngx_str_t verify, subject, issuer, serial, fingerprint, - raw_cert, cert; -- ngx_connection_t *c; - ngx_mail_ssl_conf_t *sslcf; - #endif - ngx_mail_core_srv_conf_t *cscf; -@@ -1151,9 +1151,10 @@ - return NULL; - } - -+ c = s->connection; -+ - #if (NGX_MAIL_SSL) - -- c = s->connection; - sslcf = ngx_mail_get_module_srv_conf(s, ngx_mail_ssl_module); - - if (c->ssl && sslcf->verify) { diff --git a/www/nginx-devel/files/patch-src-mail-ngx_mail_handler.c b/www/nginx-devel/files/patch-src-mail-ngx_mail_handler.c deleted file mode 100644 index b2c43f2cdd78..000000000000 --- a/www/nginx-devel/files/patch-src-mail-ngx_mail_handler.c +++ /dev/null @@ -1,20 +0,0 @@ ---- src/mail/ngx_mail_handler.c.orig 2021-03-10 10:39:31.807351000 -0500 -+++ src/mail/ngx_mail_handler.c 2021-03-10 10:41:28.739497000 -0500 -@@ -273,14 +273,15 @@ - ngx_mail_init_session_handler(ngx_event_t *rev) - { - ngx_connection_t *c; -- ngx_mail_session_t *s; - - c = rev->data; -- s = c->data; - - #if (NGX_MAIL_SSL) - { -+ ngx_mail_session_t *s; - ngx_mail_ssl_conf_t *sslcf; -+ -+ s = c->data; - - sslcf = ngx_mail_get_module_srv_conf(s, ngx_mail_ssl_module); -