git: d770223876e1 - main - www/freenginx-devel: update njs module to 0.9.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Mar 2026 02:32:05 UTC
The branch main has been updated by osa:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d770223876e1140b2a7a3da00985d041a2f786ab
commit d770223876e1140b2a7a3da00985d041a2f786ab
Author: Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2026-03-04 02:31:09 +0000
Commit: Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2026-03-04 02:31:09 +0000
www/freenginx-devel: update njs module to 0.9.6
<ChangeLog>
nginx modules:
*) Bugfix: fixed expire field truncation in shared dict state files.
Millisecond timestamps were silently truncated to 10 digits,
making restored entries appear expired on restart.
The issue has been present since eca03622 (0.9.1).
*) Bugfix: suppressed slab log_nomem for evict shared dict zones.
When evict is enabled, memory allocation failures are expected
and handled by evicting old entries.
*) Bugfix: fixed stack trace for native fetch exceptions for QuickJS
engine.
Core:
*) Feature: added optional chaining support.
*) Feature: added nullish coalescing assignment operator (??=).
*) Feature: added logical assignment operators (||= and &&=).
*) Improvement: aligned SyntaxError reporting with other JS engines.
Previously, file name was a part of the error message. Now it is
reported as "stack" property.
*) Improvement: improved Error.stack traces.
Stack traces are now attached in error constructors. Performance
of Error.stack is improved by ~100 times.
*) Bugfix: fixed string offset map corruption in scope values hash.
The issue caused SEGV/SIGBUS crashes for multi-byte UTF-8 string
constants with more than 32 characters when accessing a character
at index >= 32 (e.g. via .replace() or bracket notation).
The issue was introduced in e7caa46d (0.9.5).
*) Bugfix: fixed heap-buffer-overflow in atom hash caused by
Symbol().
*) Bugfix: fixed WebCrypto importKey() crash with mismatched JWK key
type.
*) Bugfix: fixed interactive mode detection for piped stdin.
The issue was introduced in 4988565c (0.8.0).
*) Bugfix: fixed build on MacOS.
*) Bugfix: fixed PTR macro compatibility with newer BFD library.
*) Bugfix: auto/cc: use portable 'command -v' instead of 'which'.
Thanks to Zurab Kvachadze.
</ChangeLog>
---
www/freenginx-devel/Makefile | 2 +-
www/freenginx-devel/Makefile.extmod | 2 +-
www/freenginx-devel/distinfo | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/www/freenginx-devel/Makefile b/www/freenginx-devel/Makefile
index 5e3290d0f095..5e2b2f34eca4 100644
--- a/www/freenginx-devel/Makefile
+++ b/www/freenginx-devel/Makefile
@@ -1,7 +1,7 @@
PORTNAME= freenginx
PORTVERSION= ${NGINX_VERSION}
.include "version.mk"
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= https://freenginx.org/download/ \
LOCAL/osa
diff --git a/www/freenginx-devel/Makefile.extmod b/www/freenginx-devel/Makefile.extmod
index 88dcdcd0a21a..85127d89957c 100644
--- a/www/freenginx-devel/Makefile.extmod
+++ b/www/freenginx-devel/Makefile.extmod
@@ -237,7 +237,7 @@ NAXSI_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-naxsi-libinjection__sqli_c \
${PATCHDIR}/extra-patch-naxsi_config
NAXSI_VARS= DSO_EXTMODS+=naxsi NAXSI_SUBDIR=/naxsi_src
-NJS_GH_TUPLE= nginx:njs:0.9.5:njs
+NJS_GH_TUPLE= nginx:njs:0.9.6:njs
NJS_CFLAGS= -I ${LOCALBASE}/include/quickjs
NJS_CONFIGURE_ARGS= --cc-opt="${CFLAGS}" --ld-opt="${LDFLAGS}" --with-quickjs
NJS_IMPLIES= HTTP STREAM
diff --git a/www/freenginx-devel/distinfo b/www/freenginx-devel/distinfo
index 80de6ba812a2..53c2c5b5c920 100644
--- a/www/freenginx-devel/distinfo
+++ b/www/freenginx-devel/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1771887911
+TIMESTAMP = 1772591275
SHA256 (freenginx-1.29.5.tar.gz) = c464ef4f4c4ed22a0711e96bdb5e7a0a9eecef814a42071125b4f6ebb81dee00
SIZE (freenginx-1.29.5.tar.gz) = 1250494
SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
@@ -109,8 +109,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.5_GH0.tar.gz) = 351a857abfd48c1e5e9c5d01bea046f3cbd2aa1c8ba956703920a5d57e046d7a
-SIZE (nginx-njs-0.9.5_GH0.tar.gz) = 947532
+SHA256 (nginx-njs-0.9.6_GH0.tar.gz) = 713e931d1ffcd337f6304dc55e512dcf2099ba4cc3a996c9ea14f22d5d9cdd79
+SIZE (nginx-njs-0.9.6_GH0.tar.gz) = 953437
SHA256 (osokin-nginx-otel-51273ec_GH0.tar.gz) = a2107ba0be94c8561ae50773163c7946a58e508be46920f588d05a347c867d9c
SIZE (osokin-nginx-otel-51273ec_GH0.tar.gz) = 28076
SHA256 (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = c69ad4495de7c7883ebc23e1e6c4cc83a4ac6a7fddd4d5c12e49d33b65f7c50b