Index | Thread | Search

From:
"Sergey A. Osokin" <osa@freebsd.org>
Subject:
[PATCH] maintainer update lang/njs to 0.9.1
To:
ports@openbsd.org
Cc:
Robert Nagy <robert@openbsd.org>
Date:
Fri, 11 Jul 2025 01:50:09 +0000

Download raw body.

Thread
Hi,

here's the patch updating lang/njs to the recent version 0.9.1.

While I'm here, I'd like to update njs module for www/nginx
ports as well.

Thank you.

-- 
Sergey A. Osokin
Index: lang/njs/Makefile
===================================================================
RCS file: /cvs/ports/lang/njs/Makefile,v
diff -u -p -r1.11 Makefile
--- lang/njs/Makefile	22 Apr 2025 14:53:43 -0000	1.11
+++ lang/njs/Makefile	11 Jul 2025 01:26:39 -0000
@@ -2,7 +2,7 @@ COMMENT=	NGINX JavaScript command line u
 
 GH_ACCOUNT=	nginx
 GH_PROJECT=	njs
-GH_TAGNAME=	0.8.10
+GH_TAGNAME=	0.9.1
 
 CATEGORIES=	lang www
 
Index: lang/njs/distinfo
===================================================================
RCS file: /cvs/ports/lang/njs/distinfo,v
diff -u -p -r1.8 distinfo
--- lang/njs/distinfo	22 Apr 2025 14:53:43 -0000	1.8
+++ lang/njs/distinfo	11 Jul 2025 01:26:39 -0000
@@ -1,2 +1,2 @@
-SHA256 (njs-0.8.10.tar.gz) = C+S915GEzUP1WgN35ZEH/d/u8z5U+XyJCJTw/nJijSY=
-SIZE (njs-0.8.10.tar.gz) = 942446
+SHA256 (njs-0.9.1.tar.gz) = YTZe6mnGhi/IpbXfUxUDrklJn2vNWvkySWuEhQooJKQ=
+SIZE (njs-0.9.1.tar.gz) = 966480
Index: lang/njs/patches/patch-test_options
===================================================================
RCS file: /cvs/ports/lang/njs/patches/patch-test_options,v
diff -u -p -r1.1 patch-test_options
--- lang/njs/patches/patch-test_options	21 Apr 2025 15:55:47 -0000	1.1
+++ lang/njs/patches/patch-test_options	11 Jul 2025 01:26:39 -0000
@@ -1,12 +0,0 @@
-Index: test/options
---- test/options.orig
-+++ test/options
-@@ -3,7 +3,7 @@
- # Copyright (C) Dmitry Volyntsev
- # Copyright (C) NGINX, Inc.
- 
--NJS_TEST_DIR=`mktemp -d /tmp/njs_test.XXX`
-+NJS_TEST_DIR=`mktemp -d /tmp/njs_test.XXXXXX`
- NJS_TEST_LOG_DEFAULT="$NJS_TEST_DIR/log.log"
- 
- NJS_TEST_VERBOSE=${NJS_TEST_VERBOSE:-}
Index: lang/njs/pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/njs/pkg/PLIST,v
diff -u -p -r1.4 PLIST
--- lang/njs/pkg/PLIST	27 Nov 2024 23:59:56 -0000	1.4
+++ lang/njs/pkg/PLIST	11 Jul 2025 01:26:39 -0000
@@ -6,6 +6,8 @@ include/njs_array.h
 include/njs_array_buffer.h
 include/njs_assert.h
 include/njs_async.h
+include/njs_atom.h
+include/njs_atom_defs.h
 include/njs_auto_config.h
 include/njs_boolean.h
 include/njs_buffer.h
@@ -25,7 +27,6 @@ include/njs_generator.h
 include/njs_iterator.h
 include/njs_json.h
 include/njs_lexer.h
-include/njs_lexer_tables.h
 include/njs_lvlhsh.h
 include/njs_main.h
 include/njs_malloc.h
@@ -35,7 +36,6 @@ include/njs_mp.h
 include/njs_murmur_hash.h
 include/njs_number.h
 include/njs_object.h
-include/njs_object_hash.h
 include/njs_object_prop_declare.h
 include/njs_parser.h
 include/njs_promise.h
Index: www/nginx/Makefile
===================================================================
RCS file: /cvs/ports/www/nginx/Makefile,v
diff -u -p -r1.192 Makefile
--- www/nginx/Makefile	28 Jun 2025 00:36:32 -0000	1.192
+++ www/nginx/Makefile	11 Jul 2025 01:26:47 -0000
@@ -22,6 +22,7 @@ COMMENT-xslt=		nginx XSLT filter module
 
 VERSION=	1.28.0
 REVISION=	1
+REVISION-njs=		2
 REVISION-passenger=	2
 DISTNAME=	nginx-${VERSION}
 CATEGORIES=	www
@@ -58,7 +59,7 @@ DIST_TUPLE=	\
 	github openresty lua-nginx-module v0.10.11 lua-nginx-module \
 	github vision5 ngx_devel_kit v0.3.3 ngx_devel_kit \
 	github nbs-system naxsi d714f1636ea49a9a9f4f06dba14aee003e970834 naxsi \
-	github nginx njs 0.8.10 njs \
+	github nginx njs 0.9.1 njs \
 	github arut nginx-rtmp-module v1.2.2 nginx-rtmp-module \
 	github nginx-modules ngx_http_hmac_secure_link_module 48c4625fbbf51ed5a95bfec23fa444f6c3702e50 ngx_http_hmac_secure_link_module \
 	github owasp-modsecurity ModSecurity-nginx v1.0.3 ModSecurity-nginx
Index: www/nginx/distinfo
===================================================================
RCS file: /cvs/ports/www/nginx/distinfo,v
diff -u -p -r1.92 distinfo
--- www/nginx/distinfo	10 May 2025 09:31:29 -0000	1.92
+++ www/nginx/distinfo	11 Jul 2025 01:26:47 -0000
@@ -6,7 +6,7 @@ SHA256 (nbs-system-naxsi-d714f1636ea49a9
 SHA256 (nginx-1.20.1-chroot.patch) = SS1TB0j8N4/dn5pUTGT6WvkN3aAUuKz5+R0Nt+MG0gk=
 SHA256 (nginx-1.28.0.tar.gz) = xrXGsIbA3508o/9eCEwdDvkJ5gOCecccHD6YX1dv92o=
 SHA256 (nginx-modules-ngx_http_hmac_secure_link_module-48c4625fbbf51ed5a95bfec23fa444f6c3702e50.tar.gz) = ZXpA2rODS1enIREzlD1OqWwpWcv3NOUXH4eUOgOAmqg=
-SHA256 (nginx-njs-0.8.10.tar.gz) = C+S915GEzUP1WgN35ZEH/d/u8z5U+XyJCJTw/nJijSY=
+SHA256 (nginx-njs-0.9.1.tar.gz) = YTZe6mnGhi/IpbXfUxUDrklJn2vNWvkySWuEhQooJKQ=
 SHA256 (openresty-headers-more-nginx-module-v0.34.tar.gz) = DA0s7SzolbP0XrKyMM2QUIqyp3MpnxU94UpD5EwSCbM=
 SHA256 (openresty-lua-nginx-module-v0.10.11.tar.gz) = wPuR/P0cbn3sNMpkgm74H/66/e9hdNJURnY284BWZiY=
 SHA256 (owasp-modsecurity-ModSecurity-nginx-v1.0.3.tar.gz) = MqQiVmFsxnTcokyGVDlzkK3/FbiIt363TgaH8CPIdRs=
@@ -19,7 +19,7 @@ SIZE (nbs-system-naxsi-d714f1636ea49a9a9
 SIZE (nginx-1.20.1-chroot.patch) = 8783
 SIZE (nginx-1.28.0.tar.gz) = 1280111
 SIZE (nginx-modules-ngx_http_hmac_secure_link_module-48c4625fbbf51ed5a95bfec23fa444f6c3702e50.tar.gz) = 6159
-SIZE (nginx-njs-0.8.10.tar.gz) = 942446
+SIZE (nginx-njs-0.9.1.tar.gz) = 966480
 SIZE (openresty-headers-more-nginx-module-v0.34.tar.gz) = 28827
 SIZE (openresty-lua-nginx-module-v0.10.11.tar.gz) = 616653
 SIZE (owasp-modsecurity-ModSecurity-nginx-v1.0.3.tar.gz) = 34063