svn commit: r553645 - in head: . www/node www/node/files
Bradley T. Hughes
bhughes at FreeBSD.org
Thu Oct 29 21:32:54 UTC 2020
Author: bhughes
Date: Thu Oct 29 21:32:52 2020
New Revision: 553645
URL: https://svnweb.freebsd.org/changeset/ports/553645
Log:
www/node: Update 14.14.0 -> 15.0.0
Update to the latest major release of Node.js, which includes many
significant changes. Users are encouraged to read the release notes
before upgrading.
https://nodejs.org/en/blog/release/v15.0.0/
While here, refresh existing patches with `make makepatch`, removing
some powerpc* related patches that have been adopted/reworked upstream
in V8.
Remove the dependency on dns/c-ares and use the bundled version
instead, since Node.js has adopted a change to c-ares that has not yet
been released. The dependency will be re-added once dns/c-ares has
been updated to a release that contains support for CAA DNS records.
An UPDATING entry has also been added to include a notice about this
major version upgrade, and steps users can take to continue using the
v14.x line, which is now LTS.
Sponsored by: Miles AS
Deleted:
head/www/node/files/patch-deps_v8_src_compiler_backend_instruction-selector.cc
head/www/node/files/patch-deps_v8_src_compiler_backend_ppc_code-generator-ppc.cc
head/www/node/files/patch-deps_v8_src_execution_simulator.h
Modified:
head/UPDATING
head/www/node/Makefile
head/www/node/distinfo
head/www/node/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi
head/www/node/files/patch-deps_v8_src_libsampler_sampler.cc
head/www/node/files/patch-node.gypi
head/www/node/pkg-plist
Modified: head/UPDATING
==============================================================================
--- head/UPDATING Thu Oct 29 21:28:31 2020 (r553644)
+++ head/UPDATING Thu Oct 29 21:32:52 2020 (r553645)
@@ -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.
+20201029:
+ AFFECTS: users of www/node
+ AUTHOR: bhughes at FreeBSD.org
+
+ The www/node port has been updated to Node.js v15.0.0, the latest
+ upstream release. A new port, www/node14, has been created for the
+ v14.x LTS branch. Users wanting to stay on v14.x can replace www/node
+ with www/node14 with one of the following commands:
+
+ # pkg install www/node14
+ or
+ # portmaster -o www/node14 www/node
+ or
+ # portupgrade -o www/node14 www/node
+
20201026:
AFFECTS: users of emulators/qemu
AUTHOR: bofh at FreeBSD.org
Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile Thu Oct 29 21:28:31 2020 (r553644)
+++ head/www/node/Makefile Thu Oct 29 21:32:52 2020 (r553645)
@@ -2,7 +2,7 @@
PORTNAME= node
DISTVERSIONPREFIX= v
-DISTVERSION= 14.14.0
+DISTVERSION= 15.0.0
CATEGORIES= www
MASTER_SITES= http://nodejs.org/dist/v${DISTVERSION}/
@@ -13,7 +13,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_SSL= libressl libressl-devel
-BROKEN_SSL_REASON= Node.js 14.x requires OpenSSL 1.1.x or the BUNDLED_SSL option enabled
+BROKEN_SSL_REASON= Node.js 15.x requires OpenSSL 1.1.x or the BUNDLED_SSL option enabled
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le
OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS DTRACE
@@ -53,7 +53,6 @@ CONFLICTS_INSTALL= node10-[0-9]* node12-[0-9]* node14-
CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \
--without-npm \
--shared-brotli \
- --shared-cares \
--shared-libuv \
--shared-nghttp2 \
--shared-zlib
@@ -70,12 +69,10 @@ MAKE_ENV+= CC.host=${CC} CFLAGS.host="${CFLAGS}" \
LINK.host=${CXX} LDFLAGS.host="${LDFLAGS}"
BUILD_DEPENDS+= brotli>=1.0.9,1:archivers/brotli \
- c-ares>=1.16.1:dns/c-ares \
libuv>=1.40.0:devel/libuv \
libnghttp2>=1.41.0:www/libnghttp2 \
objdump:devel/binutils
LIB_DEPENDS+= libbrotlidec.so:archivers/brotli \
- libcares.so:dns/c-ares\
libuv.so:devel/libuv \
libnghttp2.so:www/libnghttp2
Modified: head/www/node/distinfo
==============================================================================
--- head/www/node/distinfo Thu Oct 29 21:28:31 2020 (r553644)
+++ head/www/node/distinfo Thu Oct 29 21:32:52 2020 (r553645)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1603133528
-SHA256 (node-v14.14.0.tar.gz) = afb0b401d62d9fcfc68258f50d0bf042998d349ce9c1d7a2d45dd87870b3aab7
-SIZE (node-v14.14.0.tar.gz) = 63133260
+TIMESTAMP = 1603878735
+SHA256 (node-v15.0.0.tar.gz) = 72f6234594877ab212c43a76f2f5b05d409d7c025e0eb36d675d9acfd0d3f2d8
+SIZE (node-v15.0.0.tar.gz) = 63076769
Modified: head/www/node/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi
==============================================================================
--- head/www/node/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi Thu Oct 29 21:28:31 2020 (r553644)
+++ head/www/node/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi Thu Oct 29 21:32:52 2020 (r553645)
@@ -1,6 +1,6 @@
---- deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi.orig 2019-08-06 20:46:23 UTC
+--- deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi.orig 2020-10-20 11:49:49 UTC
+++ deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi
-@@ -696,7 +696,7 @@
+@@ -698,7 +698,7 @@
'-Wall -O3 -fomit-frame-pointer',
],
'openssl_ex_libs_linux-elf': [
Modified: head/www/node/files/patch-deps_v8_src_libsampler_sampler.cc
==============================================================================
--- head/www/node/files/patch-deps_v8_src_libsampler_sampler.cc Thu Oct 29 21:28:31 2020 (r553644)
+++ head/www/node/files/patch-deps_v8_src_libsampler_sampler.cc Thu Oct 29 21:32:52 2020 (r553645)
@@ -1,6 +1,6 @@
---- deps/v8/src/libsampler/sampler.cc.orig 2020-06-30 17:49:17 UTC
+--- deps/v8/src/libsampler/sampler.cc.orig 2020-10-20 11:49:50 UTC
+++ deps/v8/src/libsampler/sampler.cc
-@@ -482,6 +482,10 @@ void SignalHandler::FillRegisterState(void* context, R
+@@ -489,6 +489,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]);
Modified: head/www/node/files/patch-node.gypi
==============================================================================
--- head/www/node/files/patch-node.gypi Thu Oct 29 21:28:31 2020 (r553644)
+++ head/www/node/files/patch-node.gypi Thu Oct 29 21:32:52 2020 (r553645)
@@ -1,6 +1,6 @@
---- node.gypi.orig 2020-03-05 00:41:47 UTC
+--- node.gypi.orig 2020-10-20 11:49:51 UTC
+++ node.gypi
-@@ -322,6 +322,9 @@
+@@ -340,6 +340,9 @@
['openssl_fips != "" or openssl_is_fips=="true"', {
'defines': [ 'NODE_FIPS_MODE' ],
}],
Modified: head/www/node/pkg-plist
==============================================================================
--- head/www/node/pkg-plist Thu Oct 29 21:28:31 2020 (r553644)
+++ head/www/node/pkg-plist Thu Oct 29 21:32:52 2020 (r553645)
@@ -4,10 +4,12 @@ include/node/config.gypi
include/node/cppgc/allocation.h
include/node/cppgc/common.h
include/node/cppgc/custom-space.h
+include/node/cppgc/default-platform.h
include/node/cppgc/garbage-collected.h
include/node/cppgc/heap.h
-include/node/cppgc/internal/accessors.h
include/node/cppgc/internal/api-constants.h
+include/node/cppgc/internal/atomic-entry-flag.h
+include/node/cppgc/internal/caged-heap-local-data.h
include/node/cppgc/internal/compiler-specific.h
include/node/cppgc/internal/finalizer-trait.h
include/node/cppgc/internal/gc-info.h
@@ -15,6 +17,8 @@ include/node/cppgc/internal/logging.h
include/node/cppgc/internal/persistent-node.h
include/node/cppgc/internal/pointer-policies.h
include/node/cppgc/internal/prefinalizer-handler.h
+include/node/cppgc/internal/process-heap.h
+include/node/cppgc/internal/write-barrier.h
include/node/cppgc/liveness-broker.h
include/node/cppgc/macros.h
include/node/cppgc/member.h
@@ -483,8 +487,10 @@ 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-cppgc.h
include/node/v8-fast-api-calls.h
include/node/v8-internal.h
+include/node/v8-metrics.h
include/node/v8-platform.h
include/node/v8-profiler.h
include/node/v8-util.h
More information about the svn-ports-all
mailing list