git: f7594b482c9b - main - www/node: Update 16.11.1 -> 17.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Oct 2021 11:00:51 UTC
The branch main has been updated by bhughes: URL: https://cgit.FreeBSD.org/ports/commit/?id=f7594b482c9bec7bce93f32633adfed12184729b commit f7594b482c9bec7bce93f32633adfed12184729b Author: Bradley T. Hughes <bhughes@FreeBSD.org> AuthorDate: 2021-10-23 08:19:31 +0000 Commit: Bradley T. Hughes <bhughes@FreeBSD.org> CommitDate: 2021-10-23 11:00:35 +0000 www/node: Update 16.11.1 -> 17.0.0 Upgrade to the latest major vesrion of Node.js. Regenerate patches since some have been adopted upstream, while others needed refreshing. https://nodejs.org/en/blog/release/v17.0.0/ MFH: 2021Q4 Sponsored by: Miles AS --- UPDATING | 15 +++++++++ www/node/Makefile | 4 +-- www/node/distinfo | 6 ++-- ...l_config_archs_linux-elf_no-asm_openssl-cl.gypi | 6 ++-- ...nssl_config_archs_linux-elf_no-asm_openssl.gypi | 4 +-- .../files/patch-deps_v8_src_libsampler_sampler.cc | 4 +-- www/node/files/patch-node.gypi | 4 +-- www/node/pkg-plist | 37 ++++++++++++++++++++++ 8 files changed, 66 insertions(+), 14 deletions(-) diff --git a/UPDATING b/UPDATING index 5574f9d46ce6..540154150e82 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,21 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20211023: + AFFECTS: users of www/node + AUTHOR: bhughes@FreeBSD.org + + The www/node port has been updated to Node.js v17.0.0, the latest + upstream release. A new port, www/node16, has been created for the + upcoming v16.x LTS branch. Users wanting to stay on v16.x can replace + www/node with www/node16 with one of the following commands: + + # pkg install www/node16 + or + # portmaster -o www/node16 www/node + or + # portupgrade -o www/node16 www/node + 20211012: AFFECTS: users of devel/git AUTHOR: garga@FreeBSD.org diff --git a/www/node/Makefile b/www/node/Makefile index 382b43e6f03a..dcc1383dfc07 100644 --- a/www/node/Makefile +++ b/www/node/Makefile @@ -1,6 +1,6 @@ PORTNAME= node DISTVERSIONPREFIX= v -DISTVERSION= 16.11.1 +DISTVERSION= 17.0.0 CATEGORIES= www MASTER_SITES= https://nodejs.org/dist/v${DISTVERSION}/ @@ -11,7 +11,7 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_SSL= libressl libressl-devel -BROKEN_SSL_REASON= Node.js 16.x requires OpenSSL 1.1.x or the BUNDLED_SSL option enabled +BROKEN_SSL_REASON= Node.js 17.x requires OpenSSL 1.1.x or the BUNDLED_SSL option enabled ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le USES= compiler:c++11-lib gmake python:3.6-3.9,build pkgconfig \ diff --git a/www/node/distinfo b/www/node/distinfo index d51bc8e7f18b..69d96fe9b008 100644 --- a/www/node/distinfo +++ b/www/node/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1634227184 -SHA256 (node-v16.11.1.tar.gz) = 8b5a54b284e524984772d34dc2efc68a10fc2f91db11390c6035ef2a9509ef2c -SIZE (node-v16.11.1.tar.gz) = 63665007 +TIMESTAMP = 1634856195 +SHA256 (node-v17.0.0.tar.gz) = bcac24b990be48e6d1fead0726cd395b48b0dd05d030396ddac94b628aa03f2f +SIZE (node-v17.0.0.tar.gz) = 80774539 diff --git a/www/node/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl-cl.gypi b/www/node/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl-cl.gypi index aae558fe58db..f637cc2e3ee9 100644 --- a/www/node/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl-cl.gypi +++ b/www/node/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl-cl.gypi @@ -1,6 +1,6 @@ ---- deps/openssl/config/archs/linux-elf/no-asm/openssl-cl.gypi.orig 2019-08-06 20:46:23 UTC +--- deps/openssl/config/archs/linux-elf/no-asm/openssl-cl.gypi.orig 2021-10-19 00:48:28 UTC +++ deps/openssl/config/archs/linux-elf/no-asm/openssl-cl.gypi -@@ -12,7 +12,7 @@ +@@ -13,7 +13,7 @@ '-Wall -O3 -fomit-frame-pointer', ], 'openssl_ex_libs_linux-elf': [ @@ -8,4 +8,4 @@ + '-pthread', ], 'openssl_cli_srcs_linux-elf': [ - 'openssl/apps/asn1pars.c', + 'openssl/apps/lib/cmp_mock_srv.c', diff --git a/www/node/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi b/www/node/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi index 1da46abc11ad..271bebf2f6b0 100644 --- a/www/node/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi +++ b/www/node/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi @@ -1,6 +1,6 @@ ---- deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi.orig 2021-03-17 20:16:25 UTC +--- deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi.orig 2021-10-19 00:48:28 UTC +++ deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi -@@ -698,7 +698,7 @@ +@@ -980,7 +980,7 @@ '-Wall -O3 -fomit-frame-pointer', ], 'openssl_ex_libs_linux-elf': [ diff --git a/www/node/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node/files/patch-deps_v8_src_libsampler_sampler.cc index 13dee5483046..0e0a4c4e9fda 100644 --- a/www/node/files/patch-deps_v8_src_libsampler_sampler.cc +++ b/www/node/files/patch-deps_v8_src_libsampler_sampler.cc @@ -1,6 +1,6 @@ ---- deps/v8/src/libsampler/sampler.cc.orig 2021-10-08 13:38:46 UTC +--- deps/v8/src/libsampler/sampler.cc.orig 2021-10-19 00:48:30 UTC +++ deps/v8/src/libsampler/sampler.cc -@@ -490,6 +490,10 @@ void SignalHandler::FillRegisterState(void* context, R +@@ -497,6 +497,10 @@ void SignalHandler::FillRegisterState(void* context, R state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]); state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]); state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]); diff --git a/www/node/files/patch-node.gypi b/www/node/files/patch-node.gypi index ff86f35a170b..f48b5b1091cb 100644 --- a/www/node/files/patch-node.gypi +++ b/www/node/files/patch-node.gypi @@ -1,4 +1,4 @@ ---- node.gypi.orig 2021-03-03 05:40:19 UTC +--- node.gypi.orig 2021-10-19 00:48:32 UTC +++ node.gypi @@ -319,6 +319,9 @@ [ 'node_use_openssl=="true"', { @@ -8,5 +8,5 @@ + 'defines': [ 'OPENSSL_NO_ASM' ], + }], [ 'node_shared_openssl=="false"', { + 'defines': [ 'OPENSSL_API_COMPAT=0x10100000L', ], 'dependencies': [ - './deps/openssl/openssl.gyp:openssl', diff --git a/www/node/pkg-plist b/www/node/pkg-plist index 40686f466b9c..a7907d56c057 100644 --- a/www/node/pkg-plist +++ b/www/node/pkg-plist @@ -460,10 +460,47 @@ include/node/node_version.h %%BUNDLED_SSL%%include/node/openssl/x509err.h %%BUNDLED_SSL%%include/node/openssl/x509v3.h %%BUNDLED_SSL%%include/node/openssl/x509v3err.h +include/node/v8-array-buffer.h +include/node/v8-container.h +include/node/v8-context.h +include/node/v8-data.h +include/node/v8-date.h +include/node/v8-debug.h +include/node/v8-exception.h +include/node/v8-extension.h +include/node/v8-external.h +include/node/v8-function.h +include/node/v8-initialization.h include/node/v8-internal.h +include/node/v8-isolate.h +include/node/v8-json.h +include/node/v8-local-handle.h +include/node/v8-locker.h +include/node/v8-maybe.h +include/node/v8-memory-span.h +include/node/v8-message.h +include/node/v8-microtask-queue.h +include/node/v8-microtask.h +include/node/v8-object.h +include/node/v8-persistent-handle.h include/node/v8-platform.h +include/node/v8-primitive-object.h +include/node/v8-primitive.h include/node/v8-profiler.h +include/node/v8-promise.h +include/node/v8-proxy.h +include/node/v8-regexp.h +include/node/v8-script.h +include/node/v8-snapshot.h +include/node/v8-statistics.h +include/node/v8-template.h +include/node/v8-traced-handle.h +include/node/v8-typed-array.h +include/node/v8-unwinder.h +include/node/v8-value-serializer.h +include/node/v8-value.h include/node/v8-version.h +include/node/v8-wasm.h include/node/v8.h include/node/v8config.h %%DTRACE%%lib/dtrace/node.d