git: 4873033bfcb0 - main - */*: update NGINX JavaScript to 0.9.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Oct 2025 14:30:41 UTC
The branch main has been updated by joneum:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4873033bfcb0b6148fdf4f5c82550cbcc1f859bf
commit 4873033bfcb0b6148fdf4f5c82550cbcc1f859bf
Author: Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2025-10-25 14:26:27 +0000
Commit: Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2025-10-25 14:30:30 +0000
*/*: update NGINX JavaScript to 0.9.3
Changes with njs 0.9.3
Release Date: 07 October 2025
nginx modules:
- Bugfix: fixed heap-use-after-free while module loading.
- Bugfix: fixed heap-use-after-free in js_set handler used in log
phase. The issue was introduced in 04f6dfb (0.9.2).
Changes with njs 0.9.2
Release Date: 23 September 2025
nginx modules:
- Feature: added HTTP keepalive support for ngx.fetch() API.
- Improvement: added configure time check when the js_import directive
is not specified for http or stream.
- Bugfix: fixed merging of js_path directives for http and stream.
- Bugfix: fixed building when the ngx_http_ssl_module and
ngx_stream_ssl_module modules are unavailable.
Core:
- Change: increased the default stack size to 160k for njs VM.
- Feature: added njs.on('exit') API for the qjs engine.
- Improvement: optimized memory consumption while streaming in qjs.
- Bugfix: fixed building qjs engine with clang 19.
- Bugfix: fixed building with GCC 15 and O3 optimization level.
Sponsored by: Netzkommune GmbH
---
devel/libnjs/Makefile | 2 +-
devel/libnjs/distinfo | 6 +++---
devel/libnjs/pkg-plist | 2 +-
lang/njs/Makefile | 2 +-
lang/njs/distinfo | 6 +++---
www/freenginx/Makefile | 2 +-
www/freenginx/Makefile.extmod | 2 +-
www/freenginx/distinfo | 6 +++---
www/nginx-devel/Makefile | 2 +-
www/nginx-devel/Makefile.extmod | 2 +-
www/nginx-devel/distinfo | 6 +++---
www/nginx/Makefile | 2 +-
www/nginx/Makefile.extmod | 2 +-
www/nginx/distinfo | 6 +++---
14 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/devel/libnjs/Makefile b/devel/libnjs/Makefile
index bd4134bc0d2d..f22f847abec0 100644
--- a/devel/libnjs/Makefile
+++ b/devel/libnjs/Makefile
@@ -1,5 +1,5 @@
PORTNAME= libnjs
-DISTVERSION= 0.9.1
+DISTVERSION= 0.9.3
CATEGORIES= devel www
MAINTAINER= joneum@FreeBSD.org
diff --git a/devel/libnjs/distinfo b/devel/libnjs/distinfo
index 81cc6941e420..fedd2f2198f8 100644
--- a/devel/libnjs/distinfo
+++ b/devel/libnjs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752173459
-SHA256 (nginx-njs-0.9.1_GH0.tar.gz) = 61365eea69c6862fc8a5b5df531503ae49499f6bcd5af932496b84850a2824a4
-SIZE (nginx-njs-0.9.1_GH0.tar.gz) = 966480
+TIMESTAMP = 1761382118
+SHA256 (nginx-njs-0.9.3_GH0.tar.gz) = a1ad089a52ebd295489443faea3089d12df414f5da624446d6c2bf7d99ec36cb
+SIZE (nginx-njs-0.9.3_GH0.tar.gz) = 930867
diff --git a/devel/libnjs/pkg-plist b/devel/libnjs/pkg-plist
index dcb10afe415b..6ff572cce5ea 100644
--- a/devel/libnjs/pkg-plist
+++ b/devel/libnjs/pkg-plist
@@ -26,7 +26,6 @@ include/njs_generator.h
include/njs_iterator.h
include/njs_json.h
include/njs_lexer.h
-include/njs_lvlhsh.h
include/njs_main.h
include/njs_malloc.h
include/njs_math.h
@@ -66,5 +65,6 @@ include/njs_variable.h
include/njs_vm.h
include/njs_vmcode.h
include/qjs.h
+include/quickjs_compat.h
lib/libnjs.a
libdata/pkgconfig/njs.pc
diff --git a/lang/njs/Makefile b/lang/njs/Makefile
index 5da9c803a178..837c6dce8e33 100644
--- a/lang/njs/Makefile
+++ b/lang/njs/Makefile
@@ -1,5 +1,5 @@
PORTNAME= njs
-DISTVERSION= 0.9.1
+DISTVERSION= 0.9.3
CATEGORIES= lang www
MAINTAINER= joneum@FreeBSD.org
diff --git a/lang/njs/distinfo b/lang/njs/distinfo
index a58cd4d5d120..262b8ddec6e6 100644
--- a/lang/njs/distinfo
+++ b/lang/njs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752173668
-SHA256 (nginx-njs-0.9.1_GH0.tar.gz) = 61365eea69c6862fc8a5b5df531503ae49499f6bcd5af932496b84850a2824a4
-SIZE (nginx-njs-0.9.1_GH0.tar.gz) = 966480
+TIMESTAMP = 1761382188
+SHA256 (nginx-njs-0.9.3_GH0.tar.gz) = a1ad089a52ebd295489443faea3089d12df414f5da624446d6c2bf7d99ec36cb
+SIZE (nginx-njs-0.9.3_GH0.tar.gz) = 930867
diff --git a/www/freenginx/Makefile b/www/freenginx/Makefile
index 0099f99cba26..3864fe8624b0 100644
--- a/www/freenginx/Makefile
+++ b/www/freenginx/Makefile
@@ -1,6 +1,6 @@
PORTNAME= freenginx
PORTVERSION= 1.28.0
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= www
MASTER_SITES= https://freenginx.org/download/ \
LOCAL/joneum
diff --git a/www/freenginx/Makefile.extmod b/www/freenginx/Makefile.extmod
index 009a84ac09ca..b55a58c8cd14 100644
--- a/www/freenginx/Makefile.extmod
+++ b/www/freenginx/Makefile.extmod
@@ -239,7 +239,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.9.3:njs
NJS_VARS= DSO_EXTMODS+=njs NJS_SUBDIR=/nginx
NJS_IMPLIES= STREAM
diff --git a/www/freenginx/distinfo b/www/freenginx/distinfo
index a013b6687d7e..dc6eb4ec4203 100644
--- a/www/freenginx/distinfo
+++ b/www/freenginx/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1759340918
+TIMESTAMP = 1761393411
SHA256 (freenginx-1.28.0.tar.gz) = 28651bf51ff95de027262d7af23000e5862fb3d1b2252ac83d97ce4c9a4a18a2
SIZE (freenginx-1.28.0.tar.gz) = 1228344
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.9.3_GH0.tar.gz) = a1ad089a52ebd295489443faea3089d12df414f5da624446d6c2bf7d99ec36cb
+SIZE (nginx-njs-0.9.3_GH0.tar.gz) = 930867
SHA256 (osokin-nginx-otel-8f0857d_GH0.tar.gz) = bbf93813928460bdaf78f752f74ecc6c34d13078e97fdffcaa29dbd8689314fc
SIZE (osokin-nginx-otel-8f0857d_GH0.tar.gz) = 30197
SHA256 (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = c69ad4495de7c7883ebc23e1e6c4cc83a4ac6a7fddd4d5c12e49d33b65f7c50b
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index 52dc99ad6181..74b27d3e09ab 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -1,7 +1,7 @@
PORTNAME?= nginx
PORTVERSION= ${NGINX_VERSION}
.include "version.mk"
-PORTREVISION= 0
+PORTREVISION= 1
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 18273974c667..802a72f2124a 100644
--- a/www/nginx-devel/Makefile.extmod
+++ b/www/nginx-devel/Makefile.extmod
@@ -240,7 +240,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.1:njs
+NJS_GH_TUPLE= nginx:njs:0.9.3: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 7f43023a5d3d..947525bed3c5 100644
--- a/www/nginx-devel/distinfo
+++ b/www/nginx-devel/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1760858761
+TIMESTAMP = 1761393319
SHA256 (nginx-1.29.2.tar.gz) = 5669e3c29d49bf7f6eb577275b86efe4504cf81af885c58a1ed7d2e7b8492437
SIZE (nginx-1.29.2.tar.gz) = 1287399
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.9.1_GH0.tar.gz) = 61365eea69c6862fc8a5b5df531503ae49499f6bcd5af932496b84850a2824a4
-SIZE (nginx-njs-0.9.1_GH0.tar.gz) = 966480
+SHA256 (nginx-njs-0.9.3_GH0.tar.gz) = a1ad089a52ebd295489443faea3089d12df414f5da624446d6c2bf7d99ec36cb
+SIZE (nginx-njs-0.9.3_GH0.tar.gz) = 930867
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/nginx/Makefile b/www/nginx/Makefile
index 4f5d461c4275..cdc024e44229 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -1,6 +1,6 @@
PORTNAME= nginx
PORTVERSION= 1.28.0
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 3
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
diff --git a/www/nginx/Makefile.extmod b/www/nginx/Makefile.extmod
index f57fbb3e5b08..04956fd4b39f 100644
--- a/www/nginx/Makefile.extmod
+++ b/www/nginx/Makefile.extmod
@@ -234,7 +234,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.9.3:njs
NJS_VARS= DSO_EXTMODS+=njs NJS_SUBDIR=/nginx
NJS_IMPLIES= STREAM
diff --git a/www/nginx/distinfo b/www/nginx/distinfo
index b53842396779..1d0b28d6b72f 100644
--- a/www/nginx/distinfo
+++ b/www/nginx/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1746350853
+TIMESTAMP = 1761392601
SHA256 (nginx-1.28.0.tar.gz) = c6b5c6b086c0df9d3ca3ff5e084c1d0ef909e6038279c71c1c3e985f576ff76a
SIZE (nginx-1.28.0.tar.gz) = 1280111
SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
@@ -103,8 +103,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.9.3_GH0.tar.gz) = a1ad089a52ebd295489443faea3089d12df414f5da624446d6c2bf7d99ec36cb
+SIZE (nginx-njs-0.9.3_GH0.tar.gz) = 930867
SHA256 (osokin-nginx-otel-8f0857d_GH0.tar.gz) = bbf93813928460bdaf78f752f74ecc6c34d13078e97fdffcaa29dbd8689314fc
SIZE (osokin-nginx-otel-8f0857d_GH0.tar.gz) = 30197
SHA256 (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = c69ad4495de7c7883ebc23e1e6c4cc83a4ac6a7fddd4d5c12e49d33b65f7c50b