From owner-svn-ports-all@freebsd.org Wed Oct 25 18:43:34 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5C27E51A40; Wed, 25 Oct 2017 18:43:34 +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 mx1.freebsd.org (Postfix) with ESMTPS id A187A7E118; Wed, 25 Oct 2017 18:43:34 +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 v9PIhXNx005437; Wed, 25 Oct 2017 18:43:33 GMT (envelope-from bhughes@FreeBSD.org) Received: (from bhughes@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9PIhXde005433; Wed, 25 Oct 2017 18:43:33 GMT (envelope-from bhughes@FreeBSD.org) Message-Id: <201710251843.v9PIhXde005433@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bhughes set sender to bhughes@FreeBSD.org using -f From: "Bradley T. Hughes" Date: Wed, 25 Oct 2017 18:43:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r452891 - in head/www/node: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bhughes X-SVN-Commit-Paths: in head/www/node: . files X-SVN-Commit-Revision: 452891 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.23 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: Wed, 25 Oct 2017 18:43:34 -0000 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|sp = reinterpret_cast(mcontext.mc_rsp); state->fp = reinterpret_cast(mcontext.mc_rbp); #elif V8_HOST_ARCH_ARM