git: 4741ef7810a4 - main - */*: update NGINX JavaScript: 0.9.0 -> 0.9.1 (+)

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Thu, 10 Jul 2025 19:14:15 UTC
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4741ef7810a4b005af6c8498d281b35e2780e8ca

commit 4741ef7810a4b005af6c8498d281b35e2780e8ca
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2025-07-10 19:13:12 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2025-07-10 19:14:08 +0000

    */*: update NGINX JavaScript: 0.9.0 -> 0.9.1 (+)
    
    Bump PORTREVISION for www/unit.
    
    <ChangeLog>
    
    nginx modules:
    
    *) Feature: added Fetch API for QuickJS engine.
    
    *) Feature: added state file for a shared dictionary.
    
    *) Bugfix: fixed handling of Content-Length header when
       a body is provided for Fetch API.
    
    *) Bugfix: fixed qjs engine after bellard/quickjs@458c34d2.
    
    *) Bugfix: fixed NULL pointer dereference when processing
       If-* headers.
    
    Core:
    
    *) Feature: added ECDH support for WebCrypto.
    
    *) Improvement: reduced memory consumption by the object hash.
       The new hash uses 42% less memory per element.
    
    *) Improvement: reduced memory consumption for concatenation of
       numbers and strings.
    
    *) Improvement: reduced memory consumption of
       String.prototype.concat() with scalar values.
    
    *) Bugfix: fixed segfault in njs_property_query().
       The issue was introduced in b28e50b1 (0.9.0).
    
    *) Bugfix: fixed Function constructor template injection.
    
    *) Bugfix: fixed GCC compilation with O3 optimization level.
    
    *) Bugfix: fixed constant is too large for 'long' warning
       on MIPS -mabi=n32.
    
    *) Bugfix: fixed compilation with GCC 4.1.
    
    *) Bugfix: fixed %TypedArray%.from() with the buffer is detached
       by the mapper.
    
    *) Bugfix: fixed %TypedArray%.prototype.slice() with overlapping
       buffers.
    
    *) Bugfix: fixed handling of detached buffers for typed arrays.
    
    *) Bugfix: fixed frame saving for async functions with
       closures.
    
    *) Bugfix: fixed RegExp compilation of patterns with
       escaped '[' characters.
    
    </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 +++---
 www/unit/Makefile               | 2 +-
 8 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/devel/libnjs/Makefile b/devel/libnjs/Makefile
index 00e3f9cd00ff..14eb44f9d560 100644
--- a/devel/libnjs/Makefile
+++ b/devel/libnjs/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libnjs
-DISTVERSION=	0.9.0
-PORTREVISION=	1
+DISTVERSION=	0.9.1
 CATEGORIES=	devel www
 
 MAINTAINER=	osa@FreeBSD.org
diff --git a/devel/libnjs/distinfo b/devel/libnjs/distinfo
index 36531740d26c..81cc6941e420 100644
--- a/devel/libnjs/distinfo
+++ b/devel/libnjs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746535107
-SHA256 (nginx-njs-0.9.0_GH0.tar.gz) = 7b0446f0b3e0b63b57883e0464d883f0ac4eab82ec7746599d37563dc6808203
-SIZE (nginx-njs-0.9.0_GH0.tar.gz) = 942562
+TIMESTAMP = 1752173459
+SHA256 (nginx-njs-0.9.1_GH0.tar.gz) = 61365eea69c6862fc8a5b5df531503ae49499f6bcd5af932496b84850a2824a4
+SIZE (nginx-njs-0.9.1_GH0.tar.gz) = 966480
diff --git a/lang/njs/Makefile b/lang/njs/Makefile
index 7f5291b3b1e8..e5268976b6c2 100644
--- a/lang/njs/Makefile
+++ b/lang/njs/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	njs
-DISTVERSION=	0.9.0
-PORTREVISION=	1
+DISTVERSION=	0.9.1
 CATEGORIES=	lang www
 
 MAINTAINER=	osa@FreeBSD.org
diff --git a/lang/njs/distinfo b/lang/njs/distinfo
index fdd1988a13da..a58cd4d5d120 100644
--- a/lang/njs/distinfo
+++ b/lang/njs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746537031
-SHA256 (nginx-njs-0.9.0_GH0.tar.gz) = 7b0446f0b3e0b63b57883e0464d883f0ac4eab82ec7746599d37563dc6808203
-SIZE (nginx-njs-0.9.0_GH0.tar.gz) = 942562
+TIMESTAMP = 1752173668
+SHA256 (nginx-njs-0.9.1_GH0.tar.gz) = 61365eea69c6862fc8a5b5df531503ae49499f6bcd5af932496b84850a2824a4
+SIZE (nginx-njs-0.9.1_GH0.tar.gz) = 966480
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index 77fa25060b8b..8046f56d61e2 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME?=	nginx
 PORTVERSION=	1.29.0
-PORTREVISION=	2
+PORTREVISION=	3
 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 517412b50ecd..ffbb8fee64b2 100644
--- a/www/nginx-devel/Makefile.extmod
+++ b/www/nginx-devel/Makefile.extmod
@@ -236,7 +236,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.9.0:njs
+NJS_GH_TUPLE=		nginx:njs:0.9.1: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 6f65dd9127a0..154cde41c4ca 100644
--- a/www/nginx-devel/distinfo
+++ b/www/nginx-devel/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1751572263
+TIMESTAMP = 1746535107
 SHA256 (nginx-1.29.0.tar.gz) = 109754dfe8e5169a7a0cf0db6718e7da2db495753308f933f161e525a579a664
 SIZE (nginx-1.29.0.tar.gz) = 1284291
 SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
@@ -105,8 +105,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.9.0_GH0.tar.gz) = 7b0446f0b3e0b63b57883e0464d883f0ac4eab82ec7746599d37563dc6808203
-SIZE (nginx-njs-0.9.0_GH0.tar.gz) = 942562
+SHA256 (nginx-njs-0.9.1_GH0.tar.gz) = 61365eea69c6862fc8a5b5df531503ae49499f6bcd5af932496b84850a2824a4
+SIZE (nginx-njs-0.9.1_GH0.tar.gz) = 966480
 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
diff --git a/www/unit/Makefile b/www/unit/Makefile
index c331b0fb8614..f4d4b544b295 100644
--- a/www/unit/Makefile
+++ b/www/unit/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	unit
 PORTVERSION=	${UNIT_VERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES?=	https://unit.nginx.org/download/
 DISTFILES?=	${PORTNAME}-${PORTVERSION}.tar.gz