Here's an update for everyone's favourite port. Nothing particularly
urgent or important about it, according to upstream's changelog.
Tested on amd64, arm64 and i386. Builds and runs fine on all three.
None of the riscv64 patches are affected by the update, but there's been
some renaming of riscv source folders going on, so giving it a spin
there first might be a good idea.
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/node/Makefile,v
retrieving revision 1.113
diff -u -p -r1.113 Makefile
--- Makefile 4 Jan 2023 17:06:33 -0000 1.113
+++ Makefile 13 Jan 2023 20:18:15 -0000
@@ -5,12 +5,11 @@ USE_WXNEEDED = Yes
COMMENT = JavaScript runtime built on Chrome's V8 JavaScript engine
-NODE_VERSION = v18.12.1
+NODE_VERSION = v18.13.0
PLEDGE_VER = 1.1.3
DISTFILES = node-pledge-{}${PLEDGE_VER}.tar.gz:0 \
${DISTNAME}-headers.tar.gz \
${DISTNAME}.tar.xz
-REVISION = 0
DISTNAME = node-${NODE_VERSION}
PKGNAME = ${DISTNAME:S/v//g}
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/node/distinfo,v
retrieving revision 1.66
diff -u -p -r1.66 distinfo
--- distinfo 29 Dec 2022 23:34:13 -0000 1.66
+++ distinfo 13 Jan 2023 20:18:15 -0000
@@ -1,6 +1,6 @@
SHA256 (node-pledge-1.1.3.tar.gz) = fEaXvLg6hYEJ69K+mgQFizf8DiJY2/DtyFJB/pEanVU=
-SHA256 (node-v18.12.1-headers.tar.gz) = nVXuByum1aFB2wks7xoPcV99P8k4KFptknodCgx0Qvc=
-SHA256 (node-v18.12.1.tar.xz) = T6QGRRvFJlmikOUs/bIWKnYL1UnaS4u+vmop8pbZON8=
+SHA256 (node-v18.13.0-headers.tar.gz) = ULb4336BfxOxxe/EIj/KK6QGY7uVMj/4azYka+lryc0=
+SHA256 (node-v18.13.0.tar.xz) = /UrFYuAdFyiW46lZvVlVLb9kczHJDXJvjTRxaD3T2mg=
SIZE (node-pledge-1.1.3.tar.gz) = 3167
-SIZE (node-v18.12.1-headers.tar.gz) = 8563785
-SIZE (node-v18.12.1.tar.xz) = 38454588
+SIZE (node-v18.13.0-headers.tar.gz) = 8565085
+SIZE (node-v18.13.0.tar.xz) = 40324048
Index: patches/patch-common_gypi
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-common_gypi,v
retrieving revision 1.24
diff -u -p -r1.24 patch-common_gypi
--- patches/patch-common_gypi 29 Dec 2022 23:34:13 -0000 1.24
+++ patches/patch-common_gypi 13 Jan 2023 20:18:15 -0000
@@ -9,7 +9,7 @@ Index: common.gypi
'conditions': [
['enable_lto=="true"', {
'cflags': ['<(lto)'],
-@@ -413,7 +412,9 @@
+@@ -409,7 +408,9 @@
}],
['OS=="openbsd"', {
'cflags': [ '-I/usr/local/include' ],
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-configure,v
retrieving revision 1.1
diff -u -p -r1.1 patch-configure
--- patches/patch-configure 23 Sep 2022 19:28:50 -0000 1.1
+++ patches/patch-configure 13 Jan 2023 20:18:15 -0000
@@ -1,10 +1,11 @@
Index: configure
--- configure.orig
+++ configure
-@@ -4,11 +4,6 @@
+@@ -4,12 +4,6 @@
# Note that the mix of single and double quotes is intentional,
# as is the fact that the ] goes on a new line.
_=[ 'exec' '/bin/sh' '-c' '''
+-command -v python3.11 >/dev/null && exec python3.11 "$0" "$@"
-command -v python3.10 >/dev/null && exec python3.10 "$0" "$@"
-command -v python3.9 >/dev/null && exec python3.9 "$0" "$@"
-command -v python3.8 >/dev/null && exec python3.8 "$0" "$@"
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.9
diff -u -p -r1.9 patch-lib_internal_modules_cjs_loader_js
--- patches/patch-lib_internal_modules_cjs_loader_js 29 Dec 2022 23:34:13 -0000 1.9
+++ patches/patch-lib_internal_modules_cjs_loader_js 13 Jan 2023 20:18:15 -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
-@@ -1294,7 +1294,10 @@ Module._initPaths = function() {
+@@ -1353,7 +1353,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.6
diff -u -p -r1.6 patch-lib_net_js
--- patches/patch-lib_net_js 29 Dec 2022 23:34:13 -0000 1.6
+++ patches/patch-lib_net_js 13 Jan 2023 20:18:15 -0000
@@ -13,7 +13,7 @@ for "any address" but that's not really
Index: lib/net.js
--- lib/net.js.orig
+++ lib/net.js
-@@ -1447,22 +1447,12 @@ function setupListenHandle(address, port, addressType,
+@@ -1695,22 +1695,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.16
diff -u -p -r1.16 patch-node_gyp
--- patches/patch-node_gyp 29 Dec 2022 23:34:13 -0000 1.16
+++ patches/patch-node_gyp 13 Jan 2023 20:18:15 -0000
@@ -1,7 +1,7 @@
Index: node.gyp
--- node.gyp.orig
+++ node.gyp
-@@ -1270,6 +1270,10 @@
+@@ -1280,6 +1280,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.4
diff -u -p -r1.4 patch-src_env_cc
--- patches/patch-src_env_cc 29 Dec 2022 23:34:13 -0000 1.4
+++ patches/patch-src_env_cc 13 Jan 2023 20:18:15 -0000
@@ -1,7 +1,7 @@
Index: src/env.cc
--- src/env.cc.orig
+++ src/env.cc
-@@ -630,29 +630,7 @@ void Environment::CreateProperties() {
+@@ -613,29 +613,7 @@ std::unique_ptr<v8::BackingStore> Environment::release
}
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.11
diff -u -p -r1.11 patch-tools_test_py
--- patches/patch-tools_test_py 1 Sep 2022 20:42:56 -0000 1.11
+++ patches/patch-tools_test_py 13 Jan 2023 20:18:15 -0000
@@ -1,7 +1,7 @@
Index: tools/test.py
--- tools/test.py.orig
+++ tools/test.py
-@@ -938,9 +938,9 @@ class Context(object):
+@@ -939,9 +939,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.8
diff -u -p -r1.8 patch-tools_v8_gypfiles_v8_gyp
--- patches/patch-tools_v8_gypfiles_v8_gyp 29 Dec 2022 23:34:13 -0000 1.8
+++ patches/patch-tools_v8_gypfiles_v8_gyp 13 Jan 2023 20:18:15 -0000
@@ -25,7 +25,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 \\+= ")',
],
-@@ -979,7 +979,7 @@
+@@ -977,7 +977,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.53
diff -u -p -r1.53 PLIST
--- pkg/PLIST 29 Dec 2022 23:34:13 -0000 1.53
+++ pkg/PLIST 13 Jan 2023 20:18:16 -0000
@@ -362,19 +362,16 @@ lib/node_modules/aggregate-error/index.d
lib/node_modules/aggregate-error/index.js
lib/node_modules/aggregate-error/license
lib/node_modules/aggregate-error/package.json
-lib/node_modules/aggregate-error/readme.md
lib/node_modules/ansi-regex/
lib/node_modules/ansi-regex/index.d.ts
lib/node_modules/ansi-regex/index.js
lib/node_modules/ansi-regex/license
lib/node_modules/ansi-regex/package.json
-lib/node_modules/ansi-regex/readme.md
lib/node_modules/ansi-styles/
lib/node_modules/ansi-styles/index.d.ts
lib/node_modules/ansi-styles/index.js
lib/node_modules/ansi-styles/license
lib/node_modules/ansi-styles/package.json
-lib/node_modules/ansi-styles/readme.md
lib/node_modules/aproba/
lib/node_modules/aproba/LICENSE
lib/node_modules/aproba/index.js
@@ -439,14 +436,12 @@ lib/node_modules/binary-extensions/index
lib/node_modules/binary-extensions/index.js
lib/node_modules/binary-extensions/license
lib/node_modules/binary-extensions/package.json
-lib/node_modules/binary-extensions/readme.md
lib/node_modules/brace-expansion/
lib/node_modules/brace-expansion/LICENSE
lib/node_modules/brace-expansion/index.js
lib/node_modules/brace-expansion/package.json
lib/node_modules/builtins/
lib/node_modules/builtins/License
-lib/node_modules/builtins/Readme.md
lib/node_modules/builtins/index.js
lib/node_modules/builtins/package.json
lib/node_modules/cacache/
@@ -474,7 +469,6 @@ lib/node_modules/chalk/
lib/node_modules/chalk/index.d.ts
lib/node_modules/chalk/license
lib/node_modules/chalk/package.json
-lib/node_modules/chalk/readme.md
lib/node_modules/chalk/source/
lib/node_modules/chalk/source/index.js
lib/node_modules/chalk/source/templates.js
@@ -493,7 +487,6 @@ lib/node_modules/clean-stack/index.d.ts
lib/node_modules/clean-stack/index.js
lib/node_modules/clean-stack/license
lib/node_modules/clean-stack/package.json
-lib/node_modules/clean-stack/readme.md
lib/node_modules/cli-columns/
lib/node_modules/cli-columns/LICENSE
lib/node_modules/cli-columns/color.js
@@ -542,7 +535,6 @@ lib/node_modules/color-support/package.j
lib/node_modules/columnify/
lib/node_modules/columnify/LICENSE
lib/node_modules/columnify/Makefile
-lib/node_modules/columnify/Readme.md
lib/node_modules/columnify/columnify.js
lib/node_modules/columnify/index.js
lib/node_modules/columnify/package.json
@@ -637,7 +629,6 @@ lib/node_modules/debug/node_modules/ms/
lib/node_modules/debug/node_modules/ms/index.js
lib/node_modules/debug/node_modules/ms/license.md
lib/node_modules/debug/node_modules/ms/package.json
-lib/node_modules/debug/node_modules/ms/readme.md
lib/node_modules/debug/package.json
lib/node_modules/debug/src/
lib/node_modules/debug/src/browser.js
@@ -657,13 +648,11 @@ lib/node_modules/delegates/
lib/node_modules/delegates/History.md
lib/node_modules/delegates/License
lib/node_modules/delegates/Makefile
-lib/node_modules/delegates/Readme.md
lib/node_modules/delegates/index.js
lib/node_modules/delegates/package.json
lib/node_modules/depd/
lib/node_modules/depd/History.md
lib/node_modules/depd/LICENSE
-lib/node_modules/depd/Readme.md
lib/node_modules/depd/index.js
lib/node_modules/depd/lib/
lib/node_modules/depd/lib/browser/
@@ -730,7 +719,6 @@ lib/node_modules/env-paths/index.d.ts
lib/node_modules/env-paths/index.js
lib/node_modules/env-paths/license
lib/node_modules/env-paths/package.json
-lib/node_modules/env-paths/readme.md
lib/node_modules/err-code/
lib/node_modules/err-code/bower.json
lib/node_modules/err-code/index.js
@@ -794,7 +782,6 @@ lib/node_modules/has-flag/index.d.ts
lib/node_modules/has-flag/index.js
lib/node_modules/has-flag/license
lib/node_modules/has-flag/package.json
-lib/node_modules/has-flag/readme.md
lib/node_modules/has-unicode/
lib/node_modules/has-unicode/LICENSE
lib/node_modules/has-unicode/index.js
@@ -809,6 +796,7 @@ lib/node_modules/hosted-git-info/lib/
lib/node_modules/hosted-git-info/lib/git-host-info.js
lib/node_modules/hosted-git-info/lib/git-host.js
lib/node_modules/hosted-git-info/lib/index.js
+lib/node_modules/hosted-git-info/lib/parse-url.js
lib/node_modules/hosted-git-info/package.json
lib/node_modules/http-cache-semantics/
lib/node_modules/http-cache-semantics/LICENSE
@@ -841,7 +829,6 @@ lib/node_modules/humanize-ms/LICENSE
lib/node_modules/humanize-ms/index.js
lib/node_modules/humanize-ms/package.json
lib/node_modules/iconv-lite/
-lib/node_modules/iconv-lite/Changelog.md
lib/node_modules/iconv-lite/LICENSE
lib/node_modules/iconv-lite/encodings/
lib/node_modules/iconv-lite/encodings/dbcs-codec.js
@@ -883,7 +870,6 @@ lib/node_modules/indent-string/index.d.t
lib/node_modules/indent-string/index.js
lib/node_modules/indent-string/license
lib/node_modules/indent-string/package.json
-lib/node_modules/indent-string/readme.md
lib/node_modules/infer-owner/
lib/node_modules/infer-owner/LICENSE
lib/node_modules/infer-owner/index.js
@@ -914,7 +900,6 @@ lib/node_modules/ip-regex/index.d.ts
lib/node_modules/ip-regex/index.js
lib/node_modules/ip-regex/license
lib/node_modules/ip-regex/package.json
-lib/node_modules/ip-regex/readme.md
lib/node_modules/ip/lib/
lib/node_modules/ip/lib/ip.js
lib/node_modules/ip/package.json
@@ -933,7 +918,6 @@ lib/node_modules/is-fullwidth-code-point
lib/node_modules/is-fullwidth-code-point/index.js
lib/node_modules/is-fullwidth-code-point/license
lib/node_modules/is-fullwidth-code-point/package.json
-lib/node_modules/is-fullwidth-code-point/readme.md
lib/node_modules/is-lambda/
lib/node_modules/is-lambda/LICENSE
lib/node_modules/is-lambda/index.js
@@ -1123,7 +1107,6 @@ lib/node_modules/minipass-pipeline/packa
lib/node_modules/minipass-sized/
lib/node_modules/minipass-sized/LICENSE
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
@@ -1157,7 +1140,6 @@ lib/node_modules/ms/
lib/node_modules/ms/index.js
lib/node_modules/ms/license.md
lib/node_modules/ms/package.json
-lib/node_modules/ms/readme.md
lib/node_modules/mute-stream/
lib/node_modules/mute-stream/LICENSE
lib/node_modules/mute-stream/mute.js
@@ -1453,7 +1435,6 @@ lib/node_modules/npm-install-checks/pack
lib/node_modules/npm-normalize-package-bin/
lib/node_modules/npm-normalize-package-bin/LICENSE
lib/node_modules/npm-normalize-package-bin/index.js
-lib/node_modules/npm-normalize-package-bin/package-lock.json
lib/node_modules/npm-normalize-package-bin/package.json
lib/node_modules/npm-package-arg/
lib/node_modules/npm-package-arg/LICENSE
@@ -1785,8 +1766,6 @@ lib/node_modules/npm/lib/utils/completio
lib/node_modules/npm/lib/utils/config/
lib/node_modules/npm/lib/utils/config/definition.js
lib/node_modules/npm/lib/utils/config/definitions.js
-lib/node_modules/npm/lib/utils/config/describe-all.js
-lib/node_modules/npm/lib/utils/config/flatten.js
lib/node_modules/npm/lib/utils/config/index.js
lib/node_modules/npm/lib/utils/did-you-mean.js
lib/node_modules/npm/lib/utils/display.js
@@ -1890,6 +1869,8 @@ lib/node_modules/npm/man/man1/
lib/node_modules/npm/man/man5/
@man lib/node_modules/npm/man/man5/folders.5
@man lib/node_modules/npm/man/man5/install.5
+@man lib/node_modules/npm/man/man5/npm-global.5
+@man lib/node_modules/npm/man/man5/npm-json.5
@man lib/node_modules/npm/man/man5/npm-shrinkwrap-json.5
@man lib/node_modules/npm/man/man5/npmrc.5
@man lib/node_modules/npm/man/man5/package-json.5
@@ -2111,7 +2092,6 @@ lib/node_modules/p-map/index.d.ts
lib/node_modules/p-map/index.js
lib/node_modules/p-map/license
lib/node_modules/p-map/package.json
-lib/node_modules/p-map/readme.md
lib/node_modules/pacote/
lib/node_modules/pacote/LICENSE
lib/node_modules/pacote/README.md
@@ -2141,7 +2121,6 @@ lib/node_modules/path-is-absolute/
lib/node_modules/path-is-absolute/index.js
lib/node_modules/path-is-absolute/license
lib/node_modules/path-is-absolute/package.json
-lib/node_modules/path-is-absolute/readme.md
lib/node_modules/postcss-selector-parser/
lib/node_modules/postcss-selector-parser/API.md
lib/node_modules/postcss-selector-parser/LICENSE-MIT
@@ -2188,7 +2167,6 @@ lib/node_modules/proc-log/package.json
lib/node_modules/promise-all-reject-late/
lib/node_modules/promise-all-reject-late/LICENSE
lib/node_modules/promise-all-reject-late/index.js
-lib/node_modules/promise-all-reject-late/package-lock.json
lib/node_modules/promise-all-reject-late/package.json
lib/node_modules/promise-call-limit/
lib/node_modules/promise-call-limit/LICENSE
@@ -2339,7 +2317,6 @@ lib/node_modules/safe-buffer/package.jso
lib/node_modules/safer-buffer/
lib/node_modules/safer-buffer/LICENSE
lib/node_modules/safer-buffer/Porting-Buffer.md
-lib/node_modules/safer-buffer/Readme.md
lib/node_modules/safer-buffer/dangerous.js
lib/node_modules/safer-buffer/package.json
lib/node_modules/safer-buffer/safer.js
@@ -2502,7 +2479,6 @@ lib/node_modules/string-width/index.d.ts
lib/node_modules/string-width/index.js
lib/node_modules/string-width/license
lib/node_modules/string-width/package.json
-lib/node_modules/string-width/readme.md
lib/node_modules/string_decoder/
lib/node_modules/string_decoder/LICENSE
lib/node_modules/string_decoder/lib/
@@ -2513,13 +2489,11 @@ lib/node_modules/strip-ansi/index.d.ts
lib/node_modules/strip-ansi/index.js
lib/node_modules/strip-ansi/license
lib/node_modules/strip-ansi/package.json
-lib/node_modules/strip-ansi/readme.md
lib/node_modules/supports-color/
lib/node_modules/supports-color/browser.js
lib/node_modules/supports-color/index.js
lib/node_modules/supports-color/license
lib/node_modules/supports-color/package.json
-lib/node_modules/supports-color/readme.md
lib/node_modules/tar/
lib/node_modules/tar/LICENSE
lib/node_modules/tar/index.js
@@ -2560,7 +2534,6 @@ lib/node_modules/text-table/example/doub
lib/node_modules/text-table/example/table.js
lib/node_modules/text-table/index.js
lib/node_modules/text-table/package.json
-lib/node_modules/text-table/readme.markdown
lib/node_modules/tiny-relative-date/
lib/node_modules/tiny-relative-date/LICENSE.md
lib/node_modules/tiny-relative-date/lib/
@@ -2615,7 +2588,6 @@ lib/node_modules/walk-up-path/index.js
lib/node_modules/walk-up-path/package.json
lib/node_modules/wcwidth/
lib/node_modules/wcwidth/LICENSE
-lib/node_modules/wcwidth/Readme.md
lib/node_modules/wcwidth/combining.js
lib/node_modules/wcwidth/docs/
lib/node_modules/wcwidth/docs/index.md