From 3eebc51b4e6496f6ba293080bf602be2c521a20a Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Wed, 31 Oct 2018 22:09:10 +0000 Subject: www/node: Update 10.12.0_1 -> 11.0.0 Update to the latest major release of Node.js. Upstream has dropped support for FreeBSD 10.x, so mark the port as BROKEN on FreeBSD 10. Regenerate patches with `make makepatch`. https://nodejs.org/en/blog/release/v11.0.0/ Sponsored by: Miles AS --- UPDATING | 15 +++++++++++++++ www/node/Makefile | 4 ++-- www/node/distinfo | 6 +++--- www/node/files/patch-node.gypi | 4 ++-- www/node/pkg-plist | 3 --- 5 files changed, 22 insertions(+), 10 deletions(-) diff --git a/UPDATING b/UPDATING index bc1c49af6806..c579e512a86b 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. +20181031: + AFFECTS: users of www/node + AUTHOR: bhughes@FreeBSD.org + + The www/node port has been updated to Node.js v11.0.0, the latest + upstream release. A new port, www/node10, has been created for the + v10.x LTS branch. Users wanting to stay on v10.x can replace www/node + with www/node8 with one of the following commands: + + # pkg install www/node10 + or + # portmaster -o www/node10 www/node + or + # portupgrade -o www/node10 www/node + 20181022: AFFECTS: users of lang/php71 AUTHOR: joneum@FreeBSD.org diff --git a/www/node/Makefile b/www/node/Makefile index 4e743fc0d1b8..29b8a2e49222 100644 --- a/www/node/Makefile +++ b/www/node/Makefile @@ -1,9 +1,8 @@ # $FreeBSD$ PORTNAME= node -PORTVERSION= 10.12.0 +PORTVERSION= 11.0.0 DISTVERSIONPREFIX= v -PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ @@ -13,6 +12,7 @@ COMMENT= V8 JavaScript for client and server LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BROKEN_FreeBSD_10= upstream has dropped support for FreeBSD 10.x BROKEN_powerpc64= fails to build: KeyError: 'action' ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 diff --git a/www/node/distinfo b/www/node/distinfo index e92cdb03858d..86f85d84c03a 100644 --- a/www/node/distinfo +++ b/www/node/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1539321536 -SHA256 (node-v10.12.0.tar.gz) = c6552b95062f5e9f3a27da6fdb57914ab4b27a9aa2e783fb050791166554d059 -SIZE (node-v10.12.0.tar.gz) = 36277157 +TIMESTAMP = 1541020163 +SHA256 (node-v11.0.0.tar.gz) = 1f7e67f8d713e6a0c3b786d3b3d2eb03b7825cfbed395a5a9565e3c606caea3d +SIZE (node-v11.0.0.tar.gz) = 36233644 diff --git a/www/node/files/patch-node.gypi b/www/node/files/patch-node.gypi index 0c5968fa05e0..cfd957aede9a 100644 --- a/www/node/files/patch-node.gypi +++ b/www/node/files/patch-node.gypi @@ -1,6 +1,6 @@ ---- node.gypi.orig 2018-06-06 12:52:40 UTC +--- node.gypi.orig 2018-10-23 15:59:38 UTC +++ node.gypi -@@ -294,6 +294,9 @@ +@@ -304,6 +304,9 @@ ['openssl_fips != ""', { 'defines': [ 'NODE_FIPS_MODE' ], }], diff --git a/www/node/pkg-plist b/www/node/pkg-plist index 865466fb03d5..a4c599b1aa26 100644 --- a/www/node/pkg-plist +++ b/www/node/pkg-plist @@ -281,8 +281,6 @@ include/node/node_version.h %%BUNDLED_SSL%%include/node/openssl/x509.h %%BUNDLED_SSL%%include/node/openssl/x509_vfy.h %%BUNDLED_SSL%%include/node/openssl/x509v3.h -include/node/v8-inspector-protocol.h -include/node/v8-inspector.h include/node/v8-platform.h include/node/v8-profiler.h include/node/v8-testing.h @@ -296,5 +294,4 @@ include/node/v8config.h @(,,444) man/man1/node.1.gz %%PORTDOCS%%%%DOCSDIR%%/gdbinit %%PORTDOCS%%%%DOCSDIR%%/lldb_commands.py -%%PORTDOCS%%%%DOCSDIR%%/lldbinit share/systemtap/tapset/node.stp -- cgit v1.2.3