On Tue, Aug 23 2022, Volker Schlecht <[email protected]> wrote:
> Attached diff updates lang/node to v16.17.0
> https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V16.md#16.17.0
>
> Refreshingly little PLIST churn, considering that they updated npm,
> though ;-)
Refreshed diff for those who want to test this.
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/node/Makefile,v
retrieving revision 1.106
diff -u -p -r1.106 Makefile
--- Makefile 1 Sep 2022 19:23:04 -0000 1.106
+++ Makefile 1 Sep 2022 19:31:51 -0000
@@ -5,7 +5,7 @@ USE_WXNEEDED = Yes
COMMENT = JavaScript runtime built on Chrome's V8 JavaScript engine
-NODE_VERSION = v16.16.0
+NODE_VERSION = v16.17.0
PLEDGE_VER = 1.1.2
DISTFILES = node-pledge-{}${PLEDGE_VER}.tar.gz:0 \
${DISTNAME}-headers.tar.xz \
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/node/distinfo,v
retrieving revision 1.62
diff -u -p -r1.62 distinfo
--- distinfo 22 Jul 2022 17:46:49 -0000 1.62
+++ distinfo 1 Sep 2022 19:31:51 -0000
@@ -1,6 +1,6 @@
SHA256 (node-pledge-1.1.2.tar.gz) = zY/JcbZ32mmtqWXXNn3/9aTh7Y3F6fAAaADDA8SYwEk=
-SHA256 (node-v16.16.0-headers.tar.xz) = 1GO652HX/ed2Vk0lASGQ3x4rheK5NIDq9BMSYzGXP7w=
-SHA256 (node-v16.16.0.tar.xz) = FFFR7/Oyql6+czhACcUicag3QK5oepPJjGKM19UnNus=
+SHA256 (node-v16.17.0-headers.tar.xz) = 0xXvroZshZyLkmnoSb/zGRQkf/8Bp4KFAwNpsM+M6RA=
+SHA256 (node-v16.17.0.tar.xz) = HSjChWheRGmFkhvJY1ZcqcDF9P2pdV5InAaAjql5VkU=
SIZE (node-pledge-1.1.2.tar.gz) = 3155
-SIZE (node-v16.16.0-headers.tar.xz) = 385396
-SIZE (node-v16.16.0.tar.xz) = 35039712
+SIZE (node-v16.17.0-headers.tar.xz) = 385884
+SIZE (node-v16.17.0.tar.xz) = 35664964
Index: patches/patch-common_gypi
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-common_gypi,v
retrieving revision 1.22
diff -u -p -r1.22 patch-common_gypi
--- patches/patch-common_gypi 8 Jun 2022 21:14:29 -0000 1.22
+++ patches/patch-common_gypi 1 Sep 2022 19:31:51 -0000
@@ -1,7 +1,7 @@
Index: common.gypi
--- common.gypi.orig
+++ common.gypi
-@@ -412,7 +412,9 @@
+@@ -416,7 +416,9 @@
}],
['OS=="openbsd"', {
'cflags': [ '-I/usr/local/include' ],
Index: patches/patch-lib_internal_modules_cjs_loader_js
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-lib_internal_modules_cjs_loader_js,v
retrieving revision 1.7
diff -u -p -r1.7 patch-lib_internal_modules_cjs_loader_js
--- patches/patch-lib_internal_modules_cjs_loader_js 8 Jun 2022 21:14:29 -0000 1.7
+++ patches/patch-lib_internal_modules_cjs_loader_js 1 Sep 2022 19:31:51 -0000
@@ -1,7 +1,7 @@
Index: lib/internal/modules/cjs/loader.js
--- lib/internal/modules/cjs/loader.js.orig
+++ lib/internal/modules/cjs/loader.js
-@@ -1240,7 +1240,10 @@ Module._initPaths = function() {
+@@ -1261,7 +1261,10 @@ Module._initPaths = function() {
path.resolve(process.execPath, '..') :
path.resolve(process.execPath, '..', '..');
Index: patches/patch-lib_net_js
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-lib_net_js,v
retrieving revision 1.4
diff -u -p -r1.4 patch-lib_net_js
--- patches/patch-lib_net_js 8 Jun 2022 21:14:29 -0000 1.4
+++ patches/patch-lib_net_js 1 Sep 2022 19:31:51 -0000
@@ -13,7 +13,7 @@ for "any address" but that's not really
Index: lib/net.js
--- lib/net.js.orig
+++ lib/net.js
-@@ -1334,22 +1334,12 @@ function setupListenHandle(address, port, addressType,
+@@ -1394,22 +1394,12 @@ function setupListenHandle(address, port, addressType,
let rval = null;
Index: patches/patch-node_gyp
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-node_gyp,v
retrieving revision 1.13
diff -u -p -r1.13 patch-node_gyp
--- patches/patch-node_gyp 8 Jun 2022 21:14:29 -0000 1.13
+++ patches/patch-node_gyp 1 Sep 2022 19:31:51 -0000
@@ -1,7 +1,7 @@
Index: node.gyp
--- node.gyp.orig
+++ node.gyp
-@@ -357,7 +357,7 @@
+@@ -405,7 +405,7 @@
'<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
],
'dependencies': [
@@ -10,7 +10,7 @@ Index: node.gyp
'deps/histogram/histogram.gyp:histogram',
'deps/uvwasi/uvwasi.gyp:uvwasi',
],
-@@ -1082,8 +1082,8 @@
+@@ -1130,8 +1130,8 @@
'dependencies': [
'<(node_lib_target_name)',
@@ -21,7 +21,7 @@ Index: node.gyp
'deps/histogram/histogram.gyp:histogram',
'deps/uvwasi/uvwasi.gyp:uvwasi',
'node_dtrace_header',
-@@ -1157,6 +1157,10 @@
+@@ -1205,6 +1205,10 @@
}],
['OS=="solaris"', {
'ldflags': [ '-I<(SHARED_INTERMEDIATE_DIR)' ]
Index: patches/patch-src_env_cc
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-src_env_cc,v
retrieving revision 1.2
diff -u -p -r1.2 patch-src_env_cc
--- patches/patch-src_env_cc 11 Mar 2022 19:29:08 -0000 1.2
+++ patches/patch-src_env_cc 1 Sep 2022 19:31:51 -0000
@@ -1,7 +1,7 @@
Index: src/env.cc
--- src/env.cc.orig
+++ src/env.cc
-@@ -304,29 +304,7 @@ void Environment::CreateProperties() {
+@@ -695,29 +695,7 @@ void Environment::CreateProperties() {
}
std::string GetExecPath(const std::vector<std::string>& argv) {
Index: patches/patch-tools_test_py
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-tools_test_py,v
retrieving revision 1.10
diff -u -p -r1.10 patch-tools_test_py
--- patches/patch-tools_test_py 11 Mar 2022 19:29:08 -0000 1.10
+++ patches/patch-tools_test_py 1 Sep 2022 19:31:51 -0000
@@ -1,6 +1,7 @@
---- tools/test.py.orig Sat Jan 8 14:31:29 2022
-+++ tools/test.py Sat Jan 8 14:32:47 2022
-@@ -925,9 +925,9 @@ class Context(object):
+Index: tools/test.py
+--- tools/test.py.orig
++++ tools/test.py
+@@ -938,9 +938,9 @@ class Context(object):
if self.vm is not None:
return self.vm
if arch == 'none':
Index: patches/patch-tools_v8_gypfiles_v8_gyp
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-tools_v8_gypfiles_v8_gyp,v
retrieving revision 1.6
diff -u -p -r1.6 patch-tools_v8_gypfiles_v8_gyp
--- patches/patch-tools_v8_gypfiles_v8_gyp 1 Sep 2022 19:23:04 -0000 1.6
+++ patches/patch-tools_v8_gypfiles_v8_gyp 1 Sep 2022 19:31:51 -0000
@@ -16,7 +16,7 @@ Index: tools/v8_gypfiles/v8.gyp
'sources': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"x64\\".*?v8_enable_webassembly.*?is_linux.*?sources \\+= ")',
],
-@@ -945,7 +945,7 @@
+@@ -947,7 +947,7 @@
}],
# Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library
# to implement atomic memory access
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/node/pkg/PLIST,v
retrieving revision 1.50
diff -u -p -r1.50 PLIST
--- pkg/PLIST 8 Jun 2022 21:14:29 -0000 1.50
+++ pkg/PLIST 1 Sep 2022 19:31:51 -0000
@@ -252,6 +252,7 @@ lib/node_modules/@npmcli/promise-spawn/p
lib/node_modules/@npmcli/run-script/
lib/node_modules/@npmcli/run-script/LICENSE
lib/node_modules/@npmcli/run-script/lib/
+lib/node_modules/@npmcli/run-script/lib/escape.js
lib/node_modules/@npmcli/run-script/lib/is-server-package.js
lib/node_modules/@npmcli/run-script/lib/is-windows.js
lib/node_modules/@npmcli/run-script/lib/make-spawn-args.js
@@ -507,6 +508,7 @@ lib/node_modules/console-control-strings
lib/node_modules/console-control-strings/index.js
lib/node_modules/console-control-strings/package.json
lib/node_modules/corepack/
+lib/node_modules/corepack/CHANGELOG.md
lib/node_modules/corepack/LICENSE.md
lib/node_modules/corepack/README.md
lib/node_modules/corepack/dist/
@@ -516,6 +518,7 @@ lib/node_modules/corepack/dist/npx.js
lib/node_modules/corepack/dist/pnpm.js
lib/node_modules/corepack/dist/pnpx.js
lib/node_modules/corepack/dist/vcc.js
+lib/node_modules/corepack/dist/vendors-_yarn_berry_cache_proxy-agent-npm-5_0_0-41772f4b01-9_zip_node_modules_proxy-agent_index_js.js
lib/node_modules/corepack/dist/yarn.js
lib/node_modules/corepack/dist/yarnpkg.js
lib/node_modules/corepack/package.json
@@ -539,9 +542,6 @@ lib/node_modules/corepack/shims/nodewin/
lib/node_modules/corepack/shims/nodewin/pnpx
lib/node_modules/corepack/shims/nodewin/pnpx.cmd
lib/node_modules/corepack/shims/nodewin/pnpx.ps1
-lib/node_modules/corepack/shims/nodewin/vcc
-lib/node_modules/corepack/shims/nodewin/vcc.cmd
-lib/node_modules/corepack/shims/nodewin/vcc.ps1
lib/node_modules/corepack/shims/nodewin/yarn
lib/node_modules/corepack/shims/nodewin/yarn.cmd
lib/node_modules/corepack/shims/nodewin/yarn.ps1
@@ -1001,6 +1001,7 @@ lib/node_modules/libnpmversion/lib/write
lib/node_modules/libnpmversion/package.json
lib/node_modules/lru-cache/
lib/node_modules/lru-cache/LICENSE
+lib/node_modules/lru-cache/index.d.ts
lib/node_modules/lru-cache/index.js
lib/node_modules/lru-cache/package.json
lib/node_modules/make-fetch-happen/
@@ -1061,6 +1062,7 @@ lib/node_modules/minipass-sized/index.js
lib/node_modules/minipass-sized/package-lock.json
lib/node_modules/minipass-sized/package.json
lib/node_modules/minipass/LICENSE
+lib/node_modules/minipass/index.d.ts
lib/node_modules/minipass/index.js
lib/node_modules/minipass/package.json
lib/node_modules/minizlib/
@@ -1504,6 +1506,7 @@ lib/node_modules/npm/docs/content/using-
lib/node_modules/npm/docs/content/using-npm/developers.md
lib/node_modules/npm/docs/content/using-npm/logging.md
lib/node_modules/npm/docs/content/using-npm/orgs.md
+lib/node_modules/npm/docs/content/using-npm/package-spec.md
lib/node_modules/npm/docs/content/using-npm/registry.md
lib/node_modules/npm/docs/content/using-npm/removal.md
lib/node_modules/npm/docs/content/using-npm/scope.md
@@ -1588,6 +1591,7 @@ lib/node_modules/npm/docs/output/using-n
lib/node_modules/npm/docs/output/using-npm/developers.html
lib/node_modules/npm/docs/output/using-npm/logging.html
lib/node_modules/npm/docs/output/using-npm/orgs.html
+lib/node_modules/npm/docs/output/using-npm/package-spec.html
lib/node_modules/npm/docs/output/using-npm/registry.html
lib/node_modules/npm/docs/output/using-npm/removal.html
lib/node_modules/npm/docs/output/using-npm/scope.html
@@ -1703,6 +1707,7 @@ lib/node_modules/npm/lib/utils/is-window
lib/node_modules/npm/lib/utils/log-file.js
lib/node_modules/npm/lib/utils/log-shim.js
lib/node_modules/npm/lib/utils/npm-usage.js
+lib/node_modules/npm/lib/utils/open-url-prompt.js
lib/node_modules/npm/lib/utils/open-url.js
lib/node_modules/npm/lib/utils/otplease.js
lib/node_modules/npm/lib/utils/ping.js
@@ -1716,8 +1721,10 @@ lib/node_modules/npm/lib/utils/tar.js
lib/node_modules/npm/lib/utils/timers.js
lib/node_modules/npm/lib/utils/update-notifier.js
lib/node_modules/npm/lib/utils/validate-lockfile.js
+lib/node_modules/npm/lib/utils/web-auth.js
lib/node_modules/npm/lib/workspaces/
lib/node_modules/npm/lib/workspaces/get-workspaces.js
+lib/node_modules/npm/lib/workspaces/update-workspaces.js
@mandir lib/node_modules/npm/man/
lib/node_modules/npm/man/man1/
@man lib/node_modules/npm/man/man1/npm-access.1
@@ -1797,6 +1804,7 @@ lib/node_modules/npm/man/man7/
@man lib/node_modules/npm/man/man7/developers.7
@man lib/node_modules/npm/man/man7/logging.7
@man lib/node_modules/npm/man/man7/orgs.7
+@man lib/node_modules/npm/man/man7/package-spec.7
@man lib/node_modules/npm/man/man7/registry.7
@man lib/node_modules/npm/man/man7/removal.7
@man lib/node_modules/npm/man/man7/scope.7
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE