Date: Wed, 23 Oct 2024 14:23:21 GMT From: "Sergey A. Osokin" <osa@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 71f2853031b0 - main - */*: update NGINX JavaScript: 0.8.5 -> 0.8.7 (+) Message-ID: <202410231423.49NENLoL014625@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by osa: URL: https://cgit.FreeBSD.org/ports/commit/?id=71f2853031b0011270fb43669b551246588ab125 commit 71f2853031b0011270fb43669b551246588ab125 Author: Sergey A. Osokin <osa@FreeBSD.org> AuthorDate: 2024-10-23 14:22:45 +0000 Commit: Sergey A. Osokin <osa@FreeBSD.org> CommitDate: 2024-10-23 14:22:45 +0000 */*: 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> --- devel/libnjs/Makefile | 3 +-- devel/libnjs/distinfo | 6 +++--- lang/njs/Makefile | 2 +- lang/njs/distinfo | 6 +++--- www/nginx-devel/Makefile | 2 +- www/nginx-devel/Makefile.extmod | 2 +- www/nginx-devel/distinfo | 6 +++--- www/nginx-devel/files/extra-patch-njs-auto-quickjs | 4 ++-- www/unit/Makefile | 1 + 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/devel/libnjs/Makefile b/devel/libnjs/Makefile index f1e041e5f5b0..8d06f29a304b 100644 --- a/devel/libnjs/Makefile +++ b/devel/libnjs/Makefile @@ -1,6 +1,5 @@ PORTNAME= libnjs -DISTVERSION= 0.8.5 -PORTREVISION= 1 +DISTVERSION= 0.8.7 CATEGORIES= devel www MAINTAINER= osa@FreeBSD.org diff --git a/devel/libnjs/distinfo b/devel/libnjs/distinfo index 82049675798b..311d9e77236d 100644 --- a/devel/libnjs/distinfo +++ b/devel/libnjs/distinfo @@ -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 diff --git a/lang/njs/Makefile b/lang/njs/Makefile index 4349fa78f77f..a9a988c7165a 100644 --- a/lang/njs/Makefile +++ b/lang/njs/Makefile @@ -1,5 +1,5 @@ PORTNAME= njs -DISTVERSION= 0.8.5 +DISTVERSION= 0.8.7 CATEGORIES= lang www MAINTAINER= osa@FreeBSD.org diff --git a/lang/njs/distinfo b/lang/njs/distinfo index 50be90354920..01a16ee10b12 100644 --- a/lang/njs/distinfo +++ b/lang/njs/distinfo @@ -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 diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 289d0f484d6e..65a82654522b 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -1,6 +1,6 @@ PORTNAME?= nginx PORTVERSION= 1.27.2 -PORTREVISION= 1 +PORTREVISION= 2 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 daf9bcfa444b..c85fd9793bb9 100644 --- a/www/nginx-devel/Makefile.extmod +++ b/www/nginx-devel/Makefile.extmod @@ -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 diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index 1ef369b074b0..dadffc8164fb 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -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 diff --git a/www/nginx-devel/files/extra-patch-njs-auto-quickjs b/www/nginx-devel/files/extra-patch-njs-auto-quickjs index 742b880b2059..13bd88446cce 100644 --- a/www/nginx-devel/files/extra-patch-njs-auto-quickjs +++ b/www/nginx-devel/files/extra-patch-njs-auto-quickjs @@ -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 diff --git a/www/unit/Makefile b/www/unit/Makefile index 39d154976c3e..43a4c7744739 100644 --- a/www/unit/Makefile +++ b/www/unit/Makefile @@ -1,5 +1,6 @@ PORTNAME= unit PORTVERSION= ${UNIT_VERSION} +PORTREVISION= 1 CATEGORIES= www MASTER_SITES?= https://unit.nginx.org/download/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410231423.49NENLoL014625>