pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/freenginx



Module Name:    pkgsrc
Committed By:   osa
Date:           Tue Apr 14 14:38:09 UTC 2026

Modified Files:
        pkgsrc/www/freenginx: Makefile distinfo options.mk

Log Message:
www/freenginx: update third-party njs module: 0.9.4 -> 0.9.6

Bump PKGREVISION.

Sponsored by:   tipi.work

<ChangeLog>
Changes with njs 0.9.6                                       03 Mar 2026

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.

Changes with njs 0.9.5                                       13 Jan 2026

nginx modules:

*) Feature: added native module support for QuickJS engine.
   The following directives were added: js_load_http_native_module,
   js_load_stream_native_module.

*) Bugfix: fixed js_body_filter with multiple chunks for QuickJS
   engine.

*) Bugfix: fixed buffer_type inheritance in if blocks for js_body_filter.
   Previously, when js_body_filter was used inside an if block,
   the data parameter received Buffer type instead of the expected
   String type.

*) Bugfix: fixed js_body_filter when data is not in memory.
   Previously, when upstream data was delivered from nginx cache,
   js_body_filter was not able to process it correctly.

*) Bugfix: improved r.subrequest() error handling.
   Fixed a problem of a lost write event when the njs handler
   making r.subrequest() is called from a lua handler as a
   subrequest.

Core:

*) Bugfix: fixed XMLAttr object.
   Pointer to xmlAttr could become invalid when the parent XMLNode
   was modified.

*) Bugfix: fixed XMLNode update.

*) Bugfix: fixed ArrayBuffer with detached buffers.

*) Bugfix: added missing detached array checks.

*) Bugfix: fixed fs.mkdir() and friends.

*) Bugfix: fixed path restoration in fs.mkdir() and friends on
   error.

*) Bugfix: fixed missed allocation check in promise code.

</ChangeLog>


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/freenginx/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/freenginx/distinfo \
    pkgsrc/www/freenginx/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/freenginx/Makefile
diff -u pkgsrc/www/freenginx/Makefile:1.2 pkgsrc/www/freenginx/Makefile:1.3
--- pkgsrc/www/freenginx/Makefile:1.2   Wed Jan  7 08:49:18 2026
+++ pkgsrc/www/freenginx/Makefile       Tue Apr 14 14:38:09 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2026/01/07 08:49:18 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2026/04/14 14:38:09 osa Exp $
 
 DISTNAME=      freenginx-1.28.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    www
 MASTER_SITES=  https://freenginx.org/download/
 DISTFILES=     ${DEFAULT_DISTFILES}

Index: pkgsrc/www/freenginx/distinfo
diff -u pkgsrc/www/freenginx/distinfo:1.1 pkgsrc/www/freenginx/distinfo:1.2
--- pkgsrc/www/freenginx/distinfo:1.1   Thu Dec 25 18:57:20 2025
+++ pkgsrc/www/freenginx/distinfo       Tue Apr 14 14:38:09 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2025/12/25 18:57:20 osa Exp $
+$NetBSD: distinfo,v 1.2 2026/04/14 14:38:09 osa Exp $
 
 BLAKE2s (array-var-nginx-module-0.06.tar.gz) = fa6ad2a2ce3c3eba3f69287b224e9c01fcaca29a083394ab74f2f655d3e2138b
 SHA512 (array-var-nginx-module-0.06.tar.gz) = bc72158856a1be18a26ee04c6b5b0f0a20bcce688610a493bf31e2a133e7eb12e11f7c18197a09a72b1513f6a08348ee5281b9d5b84cf43603539040ebd23c26
@@ -42,9 +42,9 @@ Size (ngx_devel_kit-0.3.4.tar.gz) = 6647
 BLAKE2s (ngx_http_geoip2_module-3.4.tar.gz) = eb14ed670788d4cc46037719ebab29e1c0da53cadbb0da10198e76255d924273
 SHA512 (ngx_http_geoip2_module-3.4.tar.gz) = 18dea21e5ae2647bea1fc448058a1b773c936917245edef8d861d5e23ed92e9a3b1ec4ef43ffb2ece7b5899d787910adcf4fbd39f84d7e8d7c54759e2fee5b72
 Size (ngx_http_geoip2_module-3.4.tar.gz) = 8877 bytes
-BLAKE2s (njs-0.9.4.tar.gz) = a65b3d4fe5651945910759924f757af3931ff432c28db651a8fcbc927d8fe755
-SHA512 (njs-0.9.4.tar.gz) = 50b72b9e38dc54b0d013baeff4b00f1857f5b218333d1f090188fbb3bcafcd580edf6807b498002d418bd70490d3c7c16fa5133417aca9faa6f45bf1562020ae
-Size (njs-0.9.4.tar.gz) = 939082 bytes
+BLAKE2s (njs-0.9.6.tar.gz) = 7df07ae7b484042b400e93d6039424164a7aa0689ecba4771092f69771058b52
+SHA512 (njs-0.9.6.tar.gz) = 8696be2cc676308bd409cc1ed2c19d7e71dbd162cc13e8b679e813b7a66690a7ab0071057fc9d4ca242a6e1e5bc216fbf07f58f309e4c6f44182a2eeb82380fc
+Size (njs-0.9.6.tar.gz) = 953437 bytes
 BLAKE2s (openresty-echo-nginx-module-b0f344b_GH.tar.gz) = e1ed241e7d3e57024f666bc8489f83575664121a01ef9424b7d7bf4a1f8cdc3f
 SHA512 (openresty-echo-nginx-module-b0f344b_GH.tar.gz) = ef5150094fda342eec018273eb312b16fb7731474e96865374c98dafe7a507fcf9c7e5fd2766d3296afb11e0348e4b20a973d20303052a71bdec7c92bd088d38
 Size (openresty-echo-nginx-module-b0f344b_GH.tar.gz) = 53548 bytes
Index: pkgsrc/www/freenginx/options.mk
diff -u pkgsrc/www/freenginx/options.mk:1.1 pkgsrc/www/freenginx/options.mk:1.2
--- pkgsrc/www/freenginx/options.mk:1.1 Thu Dec 25 18:57:21 2025
+++ pkgsrc/www/freenginx/options.mk     Tue Apr 14 14:38:09 2026
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2025/12/25 18:57:21 osa Exp $
+# $NetBSD: options.mk,v 1.2 2026/04/14 14:38:09 osa Exp $
 
 CODELOAD_SITE_GITHUB=          https://codeload.github.com/
 
@@ -383,7 +383,7 @@ PLIST.rtmp=         yes
 .endif
 
 .if !empty(PKG_OPTIONS:Mnginx-njs) || make(makesum) || make(mdi) || make(distclean)
-NJS_VERSION=           0.9.4
+NJS_VERSION=           0.9.6
 NJS_DISTNAME=          njs-${NJS_VERSION}
 NJS_DISTFILE=          ${NJS_DISTNAME}.tar.gz
 SITES.${NJS_DISTFILE}= -${MASTER_SITE_GITHUB:=nginx/njs/archive/}${NJS_VERSION}.tar.gz



Home | Main Index | Thread Index | Old Index