git: 07186699fd99 - main - */*: update NGINX JavaScript: 0.8.9 -> 0.8.10 (+)

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Thu, 17 Apr 2025 01:22:07 UTC
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=07186699fd99bfa1f28f7c39c3d342f4aa8cf0e6

commit 07186699fd99bfa1f28f7c39c3d342f4aa8cf0e6
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2025-04-17 01:04:55 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2025-04-17 01:05:19 +0000

    */*: 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>
---
 devel/libnjs/Makefile           | 3 +--
 devel/libnjs/distinfo           | 6 +++---
 lang/njs/Makefile               | 3 +--
 lang/njs/distinfo               | 6 +++---
 www/nginx-devel/Makefile        | 2 +-
 www/nginx-devel/Makefile.extmod | 2 +-
 www/nginx-devel/distinfo        | 6 +++---
 7 files changed, 13 insertions(+), 15 deletions(-)

diff --git a/devel/libnjs/Makefile b/devel/libnjs/Makefile
index 22198598de7f..994535c81671 100644
--- a/devel/libnjs/Makefile
+++ b/devel/libnjs/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libnjs
-DISTVERSION=	0.8.9
-PORTREVISION=	1
+DISTVERSION=	0.8.10
 CATEGORIES=	devel www
 
 MAINTAINER=	osa@FreeBSD.org
diff --git a/devel/libnjs/distinfo b/devel/libnjs/distinfo
index f958c67a3a7e..ec3651016160 100644
--- a/devel/libnjs/distinfo
+++ b/devel/libnjs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1736811947
-SHA256 (nginx-njs-0.8.9_GH0.tar.gz) = 918accac7ec252baac1146e49fdc0f5c101c66ef3b9ceba7ce1b59be704acebf
-SIZE (nginx-njs-0.8.9_GH0.tar.gz) = 900847
+TIMESTAMP = 1744834488
+SHA256 (nginx-njs-0.8.10_GH0.tar.gz) = 0be4bdd79184cd43f55a0377e59107fddfeef33e54f97c890894f0fe72628d26
+SIZE (nginx-njs-0.8.10_GH0.tar.gz) = 942446
diff --git a/lang/njs/Makefile b/lang/njs/Makefile
index 902502a312a7..fe7c619f091c 100644
--- a/lang/njs/Makefile
+++ b/lang/njs/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	njs
-DISTVERSION=	0.8.9
-PORTREVISION=	1
+DISTVERSION=	0.8.10
 CATEGORIES=	lang www
 
 MAINTAINER=	osa@FreeBSD.org
diff --git a/lang/njs/distinfo b/lang/njs/distinfo
index 77c3605e1eb3..6caa8f3e5e60 100644
--- a/lang/njs/distinfo
+++ b/lang/njs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1736812003
-SHA256 (nginx-njs-0.8.9_GH0.tar.gz) = 918accac7ec252baac1146e49fdc0f5c101c66ef3b9ceba7ce1b59be704acebf
-SIZE (nginx-njs-0.8.9_GH0.tar.gz) = 900847
+TIMESTAMP = 1744849432
+SHA256 (nginx-njs-0.8.10_GH0.tar.gz) = 0be4bdd79184cd43f55a0377e59107fddfeef33e54f97c890894f0fe72628d26
+SIZE (nginx-njs-0.8.10_GH0.tar.gz) = 942446
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index d8984857e81b..05d1b269b0e9 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME?=	nginx
 PORTVERSION=	1.27.4
-PORTREVISION=	7
+PORTREVISION=	8
 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 a76b93248547..d6476aee3dd6 100644
--- a/www/nginx-devel/Makefile.extmod
+++ b/www/nginx-devel/Makefile.extmod
@@ -243,7 +243,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.9:njs
+NJS_GH_TUPLE=		nginx:njs:0.8.10:njs
 NJS_CONFIGURE_ON=	--with-cc-opt="-I ${LOCALBASE}/include/quickjs"
 NJS_LIB_DEPENDS=	libquickjs.so:lang/quickjs \
 			libxml2.so:textproc/libxml2 \
diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo
index 4be55f41f8d9..f9651ea949ed 100644
--- a/www/nginx-devel/distinfo
+++ b/www/nginx-devel/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1744480076
+TIMESTAMP = 1744851526
 SHA256 (nginx-1.27.4.tar.gz) = 294816f879b300e621fa4edd5353dd1ec00badb056399eceb30de7db64b753b2
 SIZE (nginx-1.27.4.tar.gz) = 1277177
 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
 SHA256 (libinjection-libinjection-b9fcaaf_GH0.tar.gz) = 7812e1316b61a7a7d3a65a57a07c6d5235ac40fe35e6edda983f31a44661a38e
 SIZE (libinjection-libinjection-b9fcaaf_GH0.tar.gz) = 2218207
-SHA256 (nginx-njs-0.8.9_GH0.tar.gz) = 918accac7ec252baac1146e49fdc0f5c101c66ef3b9ceba7ce1b59be704acebf
-SIZE (nginx-njs-0.8.9_GH0.tar.gz) = 900847
+SHA256 (nginx-njs-0.8.10_GH0.tar.gz) = 0be4bdd79184cd43f55a0377e59107fddfeef33e54f97c890894f0fe72628d26
+SIZE (nginx-njs-0.8.10_GH0.tar.gz) = 942446
 SHA256 (osokin-nginx-otel-3a655df_GH0.tar.gz) = 71ee1561303c289d4562148f8719b60796c36abe16de1b3c10d10b8e6f03a952
 SIZE (osokin-nginx-otel-3a655df_GH0.tar.gz) = 27169
 SHA256 (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = c69ad4495de7c7883ebc23e1e6c4cc83a4ac6a7fddd4d5c12e49d33b65f7c50b