Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2017 18:43:33 +0000 (UTC)
From:      "Bradley T. Hughes" <bhughes@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r452891 - in head/www/node: . files
Message-ID:  <201710251843.v9PIhXde005433@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bhughes
Date: Wed Oct 25 18:43:33 2017
New Revision: 452891
URL: https://svnweb.freebsd.org/changeset/ports/452891

Log:
  www/node: Update 8.6.0 -> 8.8.0
  
  Update to the latest upstream v8.x release to address a remote DoS
  vulnerability.
  
  https://nodejs.org/en/blog/vulnerability/oct-2017-dos/
  https://nodejs.org/en/blog/release/v8.8.0/
  
  Remove post-patch rules to replace various occurrences of 'python' with
  PYTHON_CMD. Upstream has done a change to ensure that the "correct"
  python version is called at build time, making our post-patch steps
  unnecessary.
  
  Re-roll patches with 'make makepatch'.
  
  Approved by:	robak (mentor)
  MFH:		2017Q4
  Security:	CVE-2017-14919
  Differential Revision:	https://reviews.freebsd.org/D12689

Modified:
  head/www/node/Makefile
  head/www/node/distinfo
  head/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc
  head/www/node/files/patch-deps_v8_src_libsampler_sampler.cc

Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile	Wed Oct 25 18:38:45 2017	(r452890)
+++ head/www/node/Makefile	Wed Oct 25 18:43:33 2017	(r452891)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	node
-PORTVERSION=	8.6.0
+PORTVERSION=	8.8.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
@@ -89,14 +89,6 @@ CXXFLAGS+=	-D_GLIBCXX_USE_C99
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
 		${WRKSRC}/deps/v8/src/v8.gyp
-	# So many different ways to run python. Fix them all.
-	@${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
-		${WRKSRC}/configure
-	@${FIND} ${WRKSRC} -type f -name '*.gyp*' -print0 \
-		| ${XARGS} -0 ${REINPLACE_CMD} \
-			-e "s|'python'|'${PYTHON_CMD}'|" \
-			-e 's|<!(python |<!(${PYTHON_CMD} |' \
-			-e 's|\&\& python |\&\& ${PYTHON_CMD} |'
 
 post-configure:
 	# Post-process Makefile and *.mk files created by node-gyp and remove

Modified: head/www/node/distinfo
==============================================================================
--- head/www/node/distinfo	Wed Oct 25 18:38:45 2017	(r452890)
+++ head/www/node/distinfo	Wed Oct 25 18:43:33 2017	(r452891)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1506500421
-SHA256 (node-v8.6.0.tar.gz) = 80551d47440c602c5825a3f6611e13cb0c57d277234dbff693af433a88351a08
-SIZE (node-v8.6.0.tar.gz) = 31159108
+TIMESTAMP = 1508910429
+SHA256 (node-v8.8.0.tar.gz) = 669e0054a25c7f21e6d8bef182da566de35fb3b3441e8f90b6da9585c1f82caf
+SIZE (node-v8.8.0.tar.gz) = 30313488

Modified: head/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc
==============================================================================
--- head/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc	Wed Oct 25 18:38:45 2017	(r452890)
+++ head/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc	Wed Oct 25 18:43:33 2017	(r452891)
@@ -1,6 +1,6 @@
---- deps/v8/src/base/platform/platform-freebsd.cc.orig	2017-08-09 18:48:10 UTC
+--- deps/v8/src/base/platform/platform-freebsd.cc.orig	2017-10-24 19:40:14 UTC
 +++ deps/v8/src/base/platform/platform-freebsd.cc
-@@ -48,6 +48,48 @@ void* OS::Allocate(const size_t requested, size_t* all
+@@ -51,6 +51,48 @@ void* OS::Allocate(const size_t requested, size_t* all
    return mbase;
  }
  

Modified: head/www/node/files/patch-deps_v8_src_libsampler_sampler.cc
==============================================================================
--- head/www/node/files/patch-deps_v8_src_libsampler_sampler.cc	Wed Oct 25 18:38:45 2017	(r452890)
+++ head/www/node/files/patch-deps_v8_src_libsampler_sampler.cc	Wed Oct 25 18:43:33 2017	(r452891)
@@ -1,6 +1,6 @@
---- deps/v8/src/libsampler/sampler.cc.orig	2017-06-15 11:55:21 UTC
+--- deps/v8/src/libsampler/sampler.cc.orig	2017-10-24 19:40:19 UTC
 +++ deps/v8/src/libsampler/sampler.cc
-@@ -499,9 +499,9 @@ void SignalHandler::FillRegisterState(void* context, R
+@@ -506,9 +506,9 @@ void SignalHandler::FillRegisterState(void* context, R
    state->sp = reinterpret_cast<void*>(mcontext.mc_rsp);
    state->fp = reinterpret_cast<void*>(mcontext.mc_rbp);
  #elif V8_HOST_ARCH_ARM



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710251843.v9PIhXde005433>