pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/nginx nginx: Update njs module to 0.5.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/53e26343e501
branches: trunk
changeset: 442871:53e26343e501
user: otis <otis%pkgsrc.org@localhost>
date: Wed Dec 02 10:34:09 2020 +0000
description:
nginx: Update njs module to 0.5.0.
Changelog:
* 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 built-in
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().
diffstat:
www/nginx/Makefile | 4 ++--
www/nginx/distinfo | 10 +++++-----
www/nginx/options.mk | 4 ++--
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (57 lines):
diff -r 62cd21a38ef7 -r 53e26343e501 www/nginx/Makefile
--- a/www/nginx/Makefile Wed Dec 02 10:22:39 2020 +0000
+++ b/www/nginx/Makefile Wed Dec 02 10:34:09 2020 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.95 2020/11/25 11:40:06 jperkin Exp $
+# $NetBSD: Makefile,v 1.96 2020/12/02 10:34:09 otis Exp $
DISTNAME= nginx-1.18.0
MAINTAINER= joerg%NetBSD.org@localhost
-PKGREVISION= 6
+PKGREVISION= 7
.include "../../www/nginx/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff -r 62cd21a38ef7 -r 53e26343e501 www/nginx/distinfo
--- a/www/nginx/distinfo Wed Dec 02 10:22:39 2020 +0000
+++ b/www/nginx/distinfo Wed Dec 02 10:34:09 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.81 2020/11/25 12:12:21 jperkin Exp $
+$NetBSD: distinfo,v 1.82 2020/12/02 10:34:09 otis Exp $
SHA1 (array-var-nginx-module-0.05.tar.gz) = c69fac77814947009ab783a471783b3c95a63a26
RMD160 (array-var-nginx-module-0.05.tar.gz) = 89bd4efc04864e3e90781588a337338951ec8733
@@ -52,10 +52,10 @@
RMD160 (ngx_devel_kit-0.3.1.tar.gz) = 5c52a463544294096611aa9dec1c76e937a1aa23
SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
-SHA1 (njs-0.4.4.tar.gz) = a2e0406388a668c0e76952c54bae53c324625a1a
-RMD160 (njs-0.4.4.tar.gz) = fa9972d23204cfd928b25e9d156d6974726a2384
-SHA512 (njs-0.4.4.tar.gz) = 1bf88d23f99532bb32e96de79e49cc27b60d6231207eb06ea2f6a6884d725f7bbe7b426664aa4c872f7c40549f81489c04c2ae4a7ddd2d03c8cf1d66b9c62c78
-Size (njs-0.4.4.tar.gz) = 486870 bytes
+SHA1 (njs-0.5.0.tar.gz) = a9cb186dbbfad7901a83f9b267cdf9eee84af374
+RMD160 (njs-0.5.0.tar.gz) = 0cb82b7930bf500e81471b9d44d87924a6043e57
+SHA512 (njs-0.5.0.tar.gz) = 182a64ba519b1a1d29ac71ffe2c9ef8e5a6f9aaf3db9f327ac926114db73b339a424801b558068fc7ae06ae88a4dea0a601c749db4b6f2b579e427181e41d11b
+Size (njs-0.5.0.tar.gz) = 505568 bytes
SHA1 (set-misc-nginx-module-0.32.tar.gz) = 2433bb7a138c3b13812ec2af7070cdc67435918f
RMD160 (set-misc-nginx-module-0.32.tar.gz) = eff9be78f884f7c3e09e88af6bdf4cdd9aaea05d
SHA512 (set-misc-nginx-module-0.32.tar.gz) = 5590526f60c99630f99a49bfa9e3455baee6d58cd2a1419eab1367a838dafb87a50f5e2607aa8ac557b90dbf633dcf61069c997b3526cddc8f2fc45820a7bc3b
diff -r 62cd21a38ef7 -r 53e26343e501 www/nginx/options.mk
--- a/www/nginx/options.mk Wed Dec 02 10:22:39 2020 +0000
+++ b/www/nginx/options.mk Wed Dec 02 10:34:09 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.65 2020/11/25 12:12:21 jperkin Exp $
+# $NetBSD: options.mk,v 1.66 2020/12/02 10:34:09 otis Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nginx
PKG_SUPPORTED_OPTIONS= array-var auth-request cache-purge dav debug
@@ -271,7 +271,7 @@
.endif
.if !empty(PKG_OPTIONS:Mnjs) || make(makesum) || make(mdi) || make(distclean)
-NJS_VERSION= 0.4.4
+NJS_VERSION= 0.5.0
NJS_DISTNAME= njs-${NJS_VERSION}
NJS_DISTFILE= ${NJS_DISTNAME}.tar.gz
SITES.${NJS_DISTFILE}= -${MASTER_SITE_GITHUB:=nginx/njs/archive/}${NJS_VERSION}.tar.gz
Home |
Main Index |
Thread Index |
Old Index