Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2016 14:05:24 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418282 - head/www/node
Message-ID:  <201607091405.u69E5OP7047881@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Jul  9 14:05:24 2016
New Revision: 418282
URL: https://svnweb.freebsd.org/changeset/ports/418282

Log:
  www/node: 6.2.2 -> 6.3.0
  
  - buffer: Added buffer.swap64() to complement swap16() & swap32().
  - build: New configure options have been added for building Node.js as
    a shared library.
    o The options are: --shared, --without-v8-platform & --without-bundled-v8.
  - crypto: Root certificates have been updated.
  - debugger: The server address is now configurable via
    --debug=<address>:<port>.
  - npm: Upgraded npm to v3.10.3
  - readline: Added the prompt option to the readline constructor.
  - repl / vm: sigint/ctrl+c will now break out of infinite loops without
    stopping the Node.js instance.
  - src:
    o Added a node::FreeEnvironment public C++ API.
    o Refactored require('constants'), constants are now available
      directly from their respective modules. (James M Snell) #6534
  - stream: Improved readable.read() performance by up to 70%.
  - timers: setImmediate() is now up to 150% faster in some situations.
  - util: Added a breakLength option to util.inspect() to control how
    objects are formatted across lines.
  - v8-inspector: Experimental support has been added for debugging
    Node.js over the inspector protocol.
    o Note: This feature is experimental, and it could be altered or removed.
    o You can try this feature by running Node.js with the --inspect flag.
  
  PR:		210893
  Changes:	https://nodejs.org/en/blog/release/v6.3.0/
  Submitted by:	Bradley T. Hughes <bradleythughes@fastmail.fm> (maintainer)

Modified:
  head/www/node/Makefile
  head/www/node/distinfo

Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile	Sat Jul  9 13:58:28 2016	(r418281)
+++ head/www/node/Makefile	Sat Jul  9 14:05:24 2016	(r418282)
@@ -1,9 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	node
-PORTVERSION=	6.2.2
+PORTVERSION=	6.3.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	4
 CATEGORIES=	www
 MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
 
@@ -83,16 +82,14 @@ USE_GCC=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
 		${WRKSRC}/deps/v8/tools/gyp/v8.gyp
+	# So many different ways to run python. Fix them all.
 	@${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
 		${WRKSRC}/configure
-	@${REINPLACE_CMD} -e "s|python -c|${PYTHON_CMD} -c|" \
-		${WRKSRC}/deps/v8/build/toolchain.gypi
-	@${REINPLACE_CMD} -e "s|'python',|'${PYTHON_CMD}',|" \
-		${WRKSRC}/tools/icu/icu-generic.gyp \
-		${WRKSRC}/deps/v8/build/shim_headers.gypi \
-		${WRKSRC}/deps/v8/tools/gyp/v8.gyp \
-		${WRKSRC}/deps/v8/src/d8.gyp \
-		${WRKSRC}/node.gyp
+	@${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	Sat Jul  9 13:58:28 2016	(r418281)
+++ head/www/node/distinfo	Sat Jul  9 14:05:24 2016	(r418282)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1466582584
-SHA256 (node-v6.2.2.tar.gz) = b6baee57a0ede496c7c7765001f7495ad74c8dfe8c34f1a6fb2cd5d8d526ffce
-SIZE (node-v6.2.2.tar.gz) = 25165363
+TIMESTAMP = 1467872578
+SHA256 (node-v6.3.0.tar.gz) = 4ed7a99985f8afee337cc22d5fef61b495ab4238dfff3750ac9019e87fc6aae6
+SIZE (node-v6.3.0.tar.gz) = 25838379



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