From owner-svn-ports-all@freebsd.org Sat Dec 5 09:21:04 2020 Return-Path: Delivered-To: svn-ports-all@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 E650F474413; Sat, 5 Dec 2020 09:21:04 +0000 (UTC) (envelope-from joneum@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cp3wJ6GDPz3Dk7; Sat, 5 Dec 2020 09:21:04 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CA4DF1B7B1; Sat, 5 Dec 2020 09:21:04 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0B59L4Je017774; Sat, 5 Dec 2020 09:21:04 GMT (envelope-from joneum@FreeBSD.org) Received: (from joneum@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0B59L4lu017772; Sat, 5 Dec 2020 09:21:04 GMT (envelope-from joneum@FreeBSD.org) Message-Id: <202012050921.0B59L4lu017772@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: joneum set sender to joneum@FreeBSD.org using -f From: Jochen Neumeister Date: Sat, 5 Dec 2020 09:21:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r557046 - head/www/nginx X-SVN-Group: ports-head X-SVN-Commit-Author: joneum X-SVN-Commit-Paths: head/www/nginx X-SVN-Commit-Revision: 557046 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2020 09:21:05 -0000 Author: joneum Date: Sat Dec 5 09:21:04 2020 New Revision: 557046 URL: https://svnweb.freebsd.org/changeset/ports/557046 Log: Update third-party njs modue to 0.5.0 Changes with njs 0.5.0 01 Dec 2020 nginx modules: *) Feature: introduced global "ngx" object. The following methods were added: ngx.log(level, msg) The following properties were added: ngx.INFO, ngx.WARN, ngx.ERR. *) Feature: added support for Buffer object where string is expected. *) Feature: added Buffer version of existing properties. The following properties were added: r.requestBuffer (r.requestBody), r.responseBuffer (r.responseBody), r.rawVariables (r.variables), s.rawVariables (s.variables). The following events were added in stream module: upstream (upload), downstream (download). *) Improvement: added aliases to existing properties. The following properties were added: r.requestText (r.requestBody), r.responseText (r.responseBody). *) Improvement: throwing an exception in r.internalRedirect() for a subrequest. *) Bugfix: fixed promise r.subrequest() with error_page redirect. *) Bugfix: fixed promise events handling. Core: *) Feature: added TypeScript definitions for builtin modules. Thanks to Jakub Jirutka. *) Feature: tracking unhandled promise rejection. *) Feature: added initial iterator support. Thanks to Artem S. Povalyukhin. *) Improvement: TypeScript definitions are refactored. Thanks to Jakub Jirutka. *) Improvement: added forgotten support for Object.prototype.valueOf() in Buffer.from(). *) Bugfix: fixed heap-use-after-free in JSON.parse(). *) Bugfix: fixed heap-use-after-free in JSON.stringify(). *) Bugfix: fixed JSON.stringify() for arrays resizable via getters. *) Bugfix: fixed heap-buffer-overflow for RegExp.prototype[Symbol.replace]. *) Bugfix: fixed returned value for Buffer.prototype.write* functions. *) Bugfix: fixed querystring.stringify(). Thanks to Artem S. Povalyukhin. *) Bugfix: fixed the catch handler for Promise.prototype.finally(). *) Bugfix: fixed querystring.parse(). Sponsored by: Netzkommune GmbH Modified: head/www/nginx/Makefile head/www/nginx/Makefile.extmod head/www/nginx/distinfo Modified: head/www/nginx/Makefile ============================================================================== --- head/www/nginx/Makefile Sat Dec 5 08:32:52 2020 (r557045) +++ head/www/nginx/Makefile Sat Dec 5 09:21:04 2020 (r557046) @@ -3,7 +3,7 @@ PORTNAME= nginx PORTVERSION= 1.18.0 -PORTREVISION?= 33 +PORTREVISION?= 34 PORTEPOCH= 2 CATEGORIES= www MASTER_SITES= https://nginx.org/download/ \ Modified: head/www/nginx/Makefile.extmod ============================================================================== --- head/www/nginx/Makefile.extmod Sat Dec 5 08:32:52 2020 (r557045) +++ head/www/nginx/Makefile.extmod Sat Dec 5 09:21:04 2020 (r557046) @@ -238,7 +238,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.4.4:njs +NJS_GH_TUPLE= nginx:njs:0.5.0:njs NJS_VARS= DSO_EXTMODS+=njs NJS_SUBDIR=/nginx NJS_USES= libedit Modified: head/www/nginx/distinfo ============================================================================== --- head/www/nginx/distinfo Sat Dec 5 08:32:52 2020 (r557045) +++ head/www/nginx/distinfo Sat Dec 5 09:21:04 2020 (r557046) @@ -1,4 +1,4 @@ -TIMESTAMP = 1606676061 +TIMESTAMP = 1607156993 SHA256 (nginx-1.18.0.tar.gz) = 4c373e7ab5bf91d34a4f11a0c9496561061ba5eee6020db272a17a7228d35f99 SIZE (nginx-1.18.0.tar.gz) = 1039530 SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae @@ -111,8 +111,8 @@ SHA256 (SpiderLabs-ModSecurity-nginx-v1.0.1_GH0.tar.gz 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.4.4_GH0.tar.gz) = 7deb9f474d7200b316b892541ff260c57e1677d3b5032dec7cd5b7484b72d2ed -SIZE (nginx-njs-0.4.4_GH0.tar.gz) = 486870 +SHA256 (nginx-njs-0.5.0_GH0.tar.gz) = 9265f0ef58b41ec22917752bd4dc45a0892b7c283f914a21c36bc72693620bcd +SIZE (nginx-njs-0.5.0_GH0.tar.gz) = 505568 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