diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2024-10-23 10:22:45 -0400 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2024-10-23 10:22:45 -0400 |
commit | 71f2853031b0011270fb43669b551246588ab125 (patch) | |
tree | f992cedf8a4a2824998e478f6be048431a0905bf /www/nginx-devel | |
parent | www/py-frappe-bench: Frappe / ERPNext apps setup tool (diff) |
*/*: update NGINX JavaScript: 0.8.5 -> 0.8.7 (+)
<ChangeLog>
Changes with njs 0.8.7 22 Oct 2024
nginx modules:
*) Bugfix: eliminated unnecessary VM creation.
Previously, njs consumed memory proportionally to the number of
nginx locations. The issue was introduced in 9b674412 (0.8.6).
*) Improvement: added strict syntax validation for js_body_filter.
*) Improvement: improved error messages for module loading
failures.
Core:
*) Feature: implemented fs.readlink() and friends.
*) Improvement: implemented lazy stack symbolization.
*) Bugfix: fixed heap-buffer-overflow in Buffer.prototype.indexOf().
The issue was introduced in 5d15a8d6 (0.8.6).
*) Bugfix: fixed Buffer.prototype.lastIndexOf() when `from` is
provided.
Changes with njs 0.8.6 02 Oct 2024
nginx modules:
*) Feature: introduced QuickJS engine.
*) Feature: added optional nocache flag for js_set directive.
Thanks to Thomas P.
*) Feature: exposed capture group variables in HTTP module.
Thanks to Thomas P.
Core:
*) Feature: added Buffer module for QuickJS engine.
*) Bugfix: fixed handling of empty labelled statement in a function.
*) Bugfix: fixed Function constructor handling when called without
arguments.
*) Bugfix: fixed Buffer.prototype.writeInt8() and friends.
*) Bugfix: fixed Buffer.prototype.writeFloat() and friends.
*) Bugfix: fixed Buffer.prototype.lastIndexOf().
*) Bugfix: fixed Buffer.prototype.write().
*) Bugfix: fixed maybe-uninitialized warnings in error creation.
*) Bugfix: fixed 'ctx.codepoint' initialization in UTF-8 decoding.
*) Bugfix: fixed 'length' initialization in Array.prototype.pop().
*) Bugfix: fixed handling of encode arg in fs.readdir() and
fs.realpath().
</ChangeLog>
Diffstat (limited to 'www/nginx-devel')
-rw-r--r-- | www/nginx-devel/Makefile | 2 | ||||
-rw-r--r-- | www/nginx-devel/Makefile.extmod | 2 | ||||
-rw-r--r-- | www/nginx-devel/distinfo | 6 | ||||
-rw-r--r-- | www/nginx-devel/files/extra-patch-njs-auto-quickjs | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 289d0f484d6e..65a82654522b 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -1,6 +1,6 @@ PORTNAME?= nginx PORTVERSION= 1.27.2 -PORTREVISION= 1 +PORTREVISION= 2 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 daf9bcfa444b..c85fd9793bb9 100644 --- a/www/nginx-devel/Makefile.extmod +++ b/www/nginx-devel/Makefile.extmod @@ -241,7 +241,7 @@ NAXSI_VARS= DSO_EXTMODS+=naxsi NAXSI_SUBDIR=/naxsi_src NAXSI_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-naxsi-libinjection__sqli_c \ ${PATCHDIR}/extra-patch-naxsi_config -NJS_GH_TUPLE= nginx:njs:0.8.5:njs +NJS_GH_TUPLE= nginx:njs:0.8.7:njs NJS_VARS= DSO_EXTMODS+=njs NJS_SUBDIR=/nginx NJS_IMPLIES= STREAM diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index 1ef369b074b0..dadffc8164fb 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1728240373 +TIMESTAMP = 1729691573 SHA256 (nginx-1.27.2.tar.gz) = a91ecfc3a0b3a2c1413afca627bd886d76e0414b81cad0fb7872a9655a1b25fa SIZE (nginx-1.27.2.tar.gz) = 1258098 SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae @@ -105,8 +105,8 @@ SHA256 (wargio-naxsi-1.6_GH0.tar.gz) = e5920fdd09cae155b89eb21a94a21c029ebfdb056 SIZE (wargio-naxsi-1.6_GH0.tar.gz) = 1116227 SHA256 (libinjection-libinjection-4aa3894_GH0.tar.gz) = ededea133e89e238ef2e60d0d62ef7ef9e741449eed8c5d856007132505bcd5b SIZE (libinjection-libinjection-4aa3894_GH0.tar.gz) = 2218294 -SHA256 (nginx-njs-0.8.5_GH0.tar.gz) = b5e38e1424d84e48c6ca1592a336bf1d110b8f27ff1d5ef492c6d312ea003491 -SIZE (nginx-njs-0.8.5_GH0.tar.gz) = 844437 +SHA256 (nginx-njs-0.8.7_GH0.tar.gz) = e959b01637d6684387347cc6dea073949467193d273f58062129e52b110aefa2 +SIZE (nginx-njs-0.8.7_GH0.tar.gz) = 880217 SHA256 (osokin-nginx-otel-52efd18_GH0.tar.gz) = db2fe2e6986266a74113ef338ae0b649d162728acc549d1496290d33b8deb64d SIZE (osokin-nginx-otel-52efd18_GH0.tar.gz) = 30622 SHA256 (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = c69ad4495de7c7883ebc23e1e6c4cc83a4ac6a7fddd4d5c12e49d33b65f7c50b diff --git a/www/nginx-devel/files/extra-patch-njs-auto-quickjs b/www/nginx-devel/files/extra-patch-njs-auto-quickjs index 742b880b2059..13bd88446cce 100644 --- a/www/nginx-devel/files/extra-patch-njs-auto-quickjs +++ b/www/nginx-devel/files/extra-patch-njs-auto-quickjs @@ -1,5 +1,5 @@ ---- ../njs-0.8.5/auto/quickjs.orig 2024-06-25 13:40:20.000000000 -0400 -+++ ../njs-0.8.5/auto/quickjs 2024-07-08 14:45:08.895107000 -0400 +--- ../njs-0.8.7/auto/quickjs.orig 2024-06-25 13:40:20.000000000 -0400 ++++ ../njs-0.8.7/auto/quickjs 2024-07-08 14:45:08.895107000 -0400 @@ -47,9 +46,9 @@ fi |