Date: Fri, 27 Oct 2017 16:05:19 +0000 (UTC) From: "Bradley T. Hughes" <bhughes@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r453013 - in branches/2017Q4/www/node: . files Message-ID: <201710271605.v9RG5Jsg039433@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bhughes Date: Fri Oct 27 16:05:19 2017 New Revision: 453013 URL: https://svnweb.freebsd.org/changeset/ports/453013 Log: MFH: r452891 r452946 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) Security: CVE-2017-14919 Security: d7d1cc94-b971-11e7-af3a-f1035dd0da62 Differential Revision: https://reviews.freebsd.org/D12689 www/node: Update 8.8.0 -> 8.8.1 Update to address a regression in 8.8.0. https://nodejs.org/en/blog/release/v8.8.1/ Approved by: robak (mentor) Differential Revision: https://reviews.freebsd.org/D12800 Approved by: ports-secteam (swills) Modified: branches/2017Q4/www/node/Makefile branches/2017Q4/www/node/distinfo branches/2017Q4/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc branches/2017Q4/www/node/files/patch-deps_v8_src_libsampler_sampler.cc Directory Properties: branches/2017Q4/ (props changed) Modified: branches/2017Q4/www/node/Makefile ============================================================================== --- branches/2017Q4/www/node/Makefile Fri Oct 27 16:03:03 2017 (r453012) +++ branches/2017Q4/www/node/Makefile Fri Oct 27 16:05:19 2017 (r453013) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= node -PORTVERSION= 8.6.0 +PORTVERSION= 8.8.1 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: branches/2017Q4/www/node/distinfo ============================================================================== --- branches/2017Q4/www/node/distinfo Fri Oct 27 16:03:03 2017 (r453012) +++ branches/2017Q4/www/node/distinfo Fri Oct 27 16:05:19 2017 (r453013) @@ -1,3 +1,3 @@ -TIMESTAMP = 1506500421 -SHA256 (node-v8.6.0.tar.gz) = 80551d47440c602c5825a3f6611e13cb0c57d277234dbff693af433a88351a08 -SIZE (node-v8.6.0.tar.gz) = 31159108 +TIMESTAMP = 1509020523 +SHA256 (node-v8.8.1.tar.gz) = 1725bbbe623d6a13ee14522730dfc90eac1c9ebe9a0a8f4c3322a402dd7e75a2 +SIZE (node-v8.8.1.tar.gz) = 30315618 Modified: branches/2017Q4/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc ============================================================================== --- branches/2017Q4/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc Fri Oct 27 16:03:03 2017 (r453012) +++ branches/2017Q4/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc Fri Oct 27 16:05:19 2017 (r453013) @@ -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: branches/2017Q4/www/node/files/patch-deps_v8_src_libsampler_sampler.cc ============================================================================== --- branches/2017Q4/www/node/files/patch-deps_v8_src_libsampler_sampler.cc Fri Oct 27 16:03:03 2017 (r453012) +++ branches/2017Q4/www/node/files/patch-deps_v8_src_libsampler_sampler.cc Fri Oct 27 16:05:19 2017 (r453013) @@ -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?201710271605.v9RG5Jsg039433>