*/*: update NGINX JavaScript: 0.8.9 -> 0.8.10 (+)

<ChangeLog>

nginx modules:

*) Feature: reading r.requestText or r.requestBuffer from
   a temp file.
   Previously, an exception was thrown when accessing r.requestText
   or r.requestBuffer if a client request body size exceeded
   client_body_buffer_size.

*) Improvement: improved reporting of unhandled promise rejections.

*) Bugfix: fixed name corruption in variable and header processing.

*) Bugfix: fixed SharedDict.incr() with empty init argument
   for QuickJS engine.

*) Bugfix: accepting response headers with underscore characters
   in Fetch API.

Core:

*) Change: fixed serializeToString().
   Previously, serializeToString() was exclusiveC14n() which returned
   string instead of Buffer. According to the published documentation it
   should be c14n().

*) Feature: added WebCrypto API for QuickJS engine.

*) Feature: added TextEncoder/TextDecoder for QuickJS engine.

*) Feature: added querystring module for QuickJS engine.

*) Feature: added crypto module for QuickJS engine.

*) Feature: added xml module for QuickJS engine.

*) Feature: added support for QuickJS-NG library.

*) Bugfix: fixed buffer.concat() with a single argument in quickjs.

*) Bugfix: added missed syntax error for await in template literal.

*) Bugfix: fixed non-NULL terminated strings formatting in
   exceptions for QuickJS engine.

*) Bugfix: fixed compatibility with recent change in QuickJS
   and QuickJS-NG.

</ChangeLog>
This commit is contained in:
Sergey A. Osokin 2025-04-16 21:04:55 -04:00
parent 7a82a8f2dd
commit 07186699fd
7 changed files with 13 additions and 15 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= libnjs PORTNAME= libnjs
DISTVERSION= 0.8.9 DISTVERSION= 0.8.10
PORTREVISION= 1
CATEGORIES= devel www CATEGORIES= devel www
MAINTAINER= osa@FreeBSD.org MAINTAINER= osa@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1736811947 TIMESTAMP = 1744834488
SHA256 (nginx-njs-0.8.9_GH0.tar.gz) = 918accac7ec252baac1146e49fdc0f5c101c66ef3b9ceba7ce1b59be704acebf SHA256 (nginx-njs-0.8.10_GH0.tar.gz) = 0be4bdd79184cd43f55a0377e59107fddfeef33e54f97c890894f0fe72628d26
SIZE (nginx-njs-0.8.9_GH0.tar.gz) = 900847 SIZE (nginx-njs-0.8.10_GH0.tar.gz) = 942446

View file

@ -1,6 +1,5 @@
PORTNAME= njs PORTNAME= njs
DISTVERSION= 0.8.9 DISTVERSION= 0.8.10
PORTREVISION= 1
CATEGORIES= lang www CATEGORIES= lang www
MAINTAINER= osa@FreeBSD.org MAINTAINER= osa@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1736812003 TIMESTAMP = 1744849432
SHA256 (nginx-njs-0.8.9_GH0.tar.gz) = 918accac7ec252baac1146e49fdc0f5c101c66ef3b9ceba7ce1b59be704acebf SHA256 (nginx-njs-0.8.10_GH0.tar.gz) = 0be4bdd79184cd43f55a0377e59107fddfeef33e54f97c890894f0fe72628d26
SIZE (nginx-njs-0.8.9_GH0.tar.gz) = 900847 SIZE (nginx-njs-0.8.10_GH0.tar.gz) = 942446

View file

@ -1,6 +1,6 @@
PORTNAME?= nginx PORTNAME?= nginx
PORTVERSION= 1.27.4 PORTVERSION= 1.27.4
PORTREVISION= 7 PORTREVISION= 8
CATEGORIES= www CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \ MASTER_SITES= https://nginx.org/download/ \
LOCAL/osa LOCAL/osa

View file

@ -243,7 +243,7 @@ NAXSI_VARS= DSO_EXTMODS+=naxsi NAXSI_SUBDIR=/naxsi_src
NAXSI_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-naxsi-libinjection__sqli_c \ NAXSI_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-naxsi-libinjection__sqli_c \
${PATCHDIR}/extra-patch-naxsi_config ${PATCHDIR}/extra-patch-naxsi_config
NJS_GH_TUPLE= nginx:njs:0.8.9:njs NJS_GH_TUPLE= nginx:njs:0.8.10:njs
NJS_CONFIGURE_ON= --with-cc-opt="-I ${LOCALBASE}/include/quickjs" NJS_CONFIGURE_ON= --with-cc-opt="-I ${LOCALBASE}/include/quickjs"
NJS_LIB_DEPENDS= libquickjs.so:lang/quickjs \ NJS_LIB_DEPENDS= libquickjs.so:lang/quickjs \
libxml2.so:textproc/libxml2 \ libxml2.so:textproc/libxml2 \

View file

@ -1,4 +1,4 @@
TIMESTAMP = 1744480076 TIMESTAMP = 1744851526
SHA256 (nginx-1.27.4.tar.gz) = 294816f879b300e621fa4edd5353dd1ec00badb056399eceb30de7db64b753b2 SHA256 (nginx-1.27.4.tar.gz) = 294816f879b300e621fa4edd5353dd1ec00badb056399eceb30de7db64b753b2
SIZE (nginx-1.27.4.tar.gz) = 1277177 SIZE (nginx-1.27.4.tar.gz) = 1277177
SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
@ -107,8 +107,8 @@ SHA256 (wargio-naxsi-1.7_GH0.tar.gz) = adee817da71913f64a9fb0fca142d9520bb0e5014
SIZE (wargio-naxsi-1.7_GH0.tar.gz) = 1132392 SIZE (wargio-naxsi-1.7_GH0.tar.gz) = 1132392
SHA256 (libinjection-libinjection-b9fcaaf_GH0.tar.gz) = 7812e1316b61a7a7d3a65a57a07c6d5235ac40fe35e6edda983f31a44661a38e SHA256 (libinjection-libinjection-b9fcaaf_GH0.tar.gz) = 7812e1316b61a7a7d3a65a57a07c6d5235ac40fe35e6edda983f31a44661a38e
SIZE (libinjection-libinjection-b9fcaaf_GH0.tar.gz) = 2218207 SIZE (libinjection-libinjection-b9fcaaf_GH0.tar.gz) = 2218207
SHA256 (nginx-njs-0.8.9_GH0.tar.gz) = 918accac7ec252baac1146e49fdc0f5c101c66ef3b9ceba7ce1b59be704acebf SHA256 (nginx-njs-0.8.10_GH0.tar.gz) = 0be4bdd79184cd43f55a0377e59107fddfeef33e54f97c890894f0fe72628d26
SIZE (nginx-njs-0.8.9_GH0.tar.gz) = 900847 SIZE (nginx-njs-0.8.10_GH0.tar.gz) = 942446
SHA256 (osokin-nginx-otel-3a655df_GH0.tar.gz) = 71ee1561303c289d4562148f8719b60796c36abe16de1b3c10d10b8e6f03a952 SHA256 (osokin-nginx-otel-3a655df_GH0.tar.gz) = 71ee1561303c289d4562148f8719b60796c36abe16de1b3c10d10b8e6f03a952
SIZE (osokin-nginx-otel-3a655df_GH0.tar.gz) = 27169 SIZE (osokin-nginx-otel-3a655df_GH0.tar.gz) = 27169
SHA256 (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = c69ad4495de7c7883ebc23e1e6c4cc83a4ac6a7fddd4d5c12e49d33b65f7c50b SHA256 (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = c69ad4495de7c7883ebc23e1e6c4cc83a4ac6a7fddd4d5c12e49d33b65f7c50b