1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

*/*: update NGINX JavaScript: 0.8.5 -> 0.8.7 (+)

<ChangeLog>

Changes with njs 0.8.7                                       22 Oct 2024

nginx modules:

*) Bugfix: eliminated unnecessary VM creation.
   Previously, njs consumed memory proportionally to the number of
   nginx locations. The issue was introduced in 9b674412 (0.8.6).

*) Improvement: added strict syntax validation for js_body_filter.

*) Improvement: improved error messages for module loading
   failures.

Core:

*) Feature: implemented fs.readlink() and friends.

*) Improvement: implemented lazy stack symbolization.

*) Bugfix: fixed heap-buffer-overflow in Buffer.prototype.indexOf().
   The issue was introduced in 5d15a8d6 (0.8.6).

*) Bugfix: fixed Buffer.prototype.lastIndexOf() when `from` is
   provided.

Changes with njs 0.8.6                                       02 Oct 2024

nginx modules:

*) Feature: introduced QuickJS engine.

*) Feature: added optional nocache flag for js_set directive.
   Thanks to Thomas P.

*) Feature: exposed capture group variables in HTTP module.
   Thanks to Thomas P.

Core:

*) Feature: added Buffer module for QuickJS engine.

*) Bugfix: fixed handling of empty labelled statement in a function.

*) Bugfix: fixed Function constructor handling when called without
   arguments.

*) Bugfix: fixed Buffer.prototype.writeInt8() and friends.

*) Bugfix: fixed Buffer.prototype.writeFloat() and friends.

*) Bugfix: fixed Buffer.prototype.lastIndexOf().

*) Bugfix: fixed Buffer.prototype.write().

*) Bugfix: fixed maybe-uninitialized warnings in error creation.

*) Bugfix: fixed 'ctx.codepoint' initialization in UTF-8 decoding.

*) Bugfix: fixed 'length' initialization in Array.prototype.pop().

*) Bugfix: fixed handling of encode arg in fs.readdir() and
   fs.realpath().

</ChangeLog>
This commit is contained in:
Sergey A. Osokin 2024-10-23 10:22:45 -04:00
parent e326c2d514
commit 71f2853031
9 changed files with 16 additions and 16 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= libnjs
DISTVERSION= 0.8.5
PORTREVISION= 1
DISTVERSION= 0.8.7
CATEGORIES= devel www
MAINTAINER= osa@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1719407439
SHA256 (nginx-njs-0.8.5_GH0.tar.gz) = b5e38e1424d84e48c6ca1592a336bf1d110b8f27ff1d5ef492c6d312ea003491
SIZE (nginx-njs-0.8.5_GH0.tar.gz) = 844437
TIMESTAMP = 1729691182
SHA256 (nginx-njs-0.8.7_GH0.tar.gz) = e959b01637d6684387347cc6dea073949467193d273f58062129e52b110aefa2
SIZE (nginx-njs-0.8.7_GH0.tar.gz) = 880217

View File

@ -1,5 +1,5 @@
PORTNAME= njs
DISTVERSION= 0.8.5
DISTVERSION= 0.8.7
CATEGORIES= lang www
MAINTAINER= osa@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1719407454
SHA256 (nginx-njs-0.8.5_GH0.tar.gz) = b5e38e1424d84e48c6ca1592a336bf1d110b8f27ff1d5ef492c6d312ea003491
SIZE (nginx-njs-0.8.5_GH0.tar.gz) = 844437
TIMESTAMP = 1729691503
SHA256 (nginx-njs-0.8.7_GH0.tar.gz) = e959b01637d6684387347cc6dea073949467193d273f58062129e52b110aefa2
SIZE (nginx-njs-0.8.7_GH0.tar.gz) = 880217

View File

@ -1,6 +1,6 @@
PORTNAME?= nginx
PORTVERSION= 1.27.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
LOCAL/osa

View File

@ -241,7 +241,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.8.7:njs
NJS_VARS= DSO_EXTMODS+=njs NJS_SUBDIR=/nginx
NJS_IMPLIES= STREAM

View File

@ -1,4 +1,4 @@
TIMESTAMP = 1728240373
TIMESTAMP = 1729691573
SHA256 (nginx-1.27.2.tar.gz) = a91ecfc3a0b3a2c1413afca627bd886d76e0414b81cad0fb7872a9655a1b25fa
SIZE (nginx-1.27.2.tar.gz) = 1258098
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.8.7_GH0.tar.gz) = e959b01637d6684387347cc6dea073949467193d273f58062129e52b110aefa2
SIZE (nginx-njs-0.8.7_GH0.tar.gz) = 880217
SHA256 (osokin-nginx-otel-52efd18_GH0.tar.gz) = db2fe2e6986266a74113ef338ae0b649d162728acc549d1496290d33b8deb64d
SIZE (osokin-nginx-otel-52efd18_GH0.tar.gz) = 30622
SHA256 (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = c69ad4495de7c7883ebc23e1e6c4cc83a4ac6a7fddd4d5c12e49d33b65f7c50b

View File

@ -1,5 +1,5 @@
--- ../njs-0.8.5/auto/quickjs.orig 2024-06-25 13:40:20.000000000 -0400
+++ ../njs-0.8.5/auto/quickjs 2024-07-08 14:45:08.895107000 -0400
--- ../njs-0.8.7/auto/quickjs.orig 2024-06-25 13:40:20.000000000 -0400
+++ ../njs-0.8.7/auto/quickjs 2024-07-08 14:45:08.895107000 -0400
@@ -47,9 +46,9 @@
fi

View File

@ -1,5 +1,6 @@
PORTNAME= unit
PORTVERSION= ${UNIT_VERSION}
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES?= https://unit.nginx.org/download/