From owner-svn-ports-all@freebsd.org Thu Oct 29 21:32:54 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3477A45EB01; Thu, 29 Oct 2020 21:32:54 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CMdvp0fHMz4MhJ; Thu, 29 Oct 2020 21:32:54 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EDD4CBF6E; Thu, 29 Oct 2020 21:32:53 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 09TLWrIR051970; Thu, 29 Oct 2020 21:32:53 GMT (envelope-from bhughes@FreeBSD.org) Received: (from bhughes@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 09TLWqaT051964; Thu, 29 Oct 2020 21:32:52 GMT (envelope-from bhughes@FreeBSD.org) Message-Id: <202010292132.09TLWqaT051964@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bhughes set sender to bhughes@FreeBSD.org using -f From: "Bradley T. Hughes" Date: Thu, 29 Oct 2020 21:32:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r553645 - in head: . www/node www/node/files X-SVN-Group: ports-head X-SVN-Commit-Author: bhughes X-SVN-Commit-Paths: in head: . www/node www/node/files X-SVN-Commit-Revision: 553645 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2020 21:32:54 -0000 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@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@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(mcontext.__gregs[_REG_PC]); state->sp = reinterpret_cast(mcontext.__gregs[_REG_SP]); state->fp = reinterpret_cast(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