pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/nodejs Update lang/nodejs to 7.0.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b3b928cdbba5
branches:  trunk
changeset: 354282:b3b928cdbba5
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Oct 25 19:50:40 2016 +0000

description:
Update lang/nodejs to 7.0.0.

This new major version of Node.js includes: V8 5.4 which brings along with
98% coverage of ES6 language features, improved reliability and performance,
and a new experimental URL parser based on the WHATWG URL standard.

As an odd numbered release, in accordance with our Long Term Support plan,
Node.js v7 will be supported only until about June, 2017, with Node.js v8
currently scheduled for release in April, 2017.

Notable changes

Buffer
- Passing invalid input to Buffer.byteLength will now throw an error #8946.
- Calling Buffer without new is now deprecated and will emit a process
  warning #8169.
- Passing a negative number to allocUnsafe will now throw an error #7079.

Child Process
- The fork and execFile methods now have stronger argument validation #7399.

Cluster
- The worker.suicide method is deprecated and will emit a process warning
  #3747.

Deps
- V8 has been updated to 5.4.500.36 #8317, #8852, #9253.
- NODE_MODULE_VERSION has been updated to 51 #8808.

File System
- A process warning is emitted if a callback is not passed to async file
  system methods #7897.

Intl
- Intl.v8BreakIterator constructor has been deprecated and will emit a
  process warning #8908.

Promises
- Unhandled Promise rejections have been deprecated and will emit a process
  warning #8217.

Punycode
- The punycode module has been deprecated #7941.

URL
- An Experimental WHATWG URL Parser has been introduced #7448.

diffstat:

 lang/nodejs/Makefile                                             |   4 +-
 lang/nodejs/PLIST                                                |   3 +-
 lang/nodejs/distinfo                                             |  14 +++++-----
 lang/nodejs/patches/patch-deps_v8_src_base_atomicops.h           |   8 ++--
 lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc |  13 +-------
 5 files changed, 17 insertions(+), 25 deletions(-)

diffs (106 lines):

diff -r e6d5c81010a0 -r b3b928cdbba5 lang/nodejs/Makefile
--- a/lang/nodejs/Makefile      Tue Oct 25 19:03:15 2016 +0000
+++ b/lang/nodejs/Makefile      Tue Oct 25 19:50:40 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.79 2016/10/20 06:45:03 fhajny Exp $
+# $NetBSD: Makefile,v 1.80 2016/10/25 19:50:40 fhajny Exp $
 
-DISTNAME=      node-v6.9.1
+DISTNAME=      node-v7.0.0
 
 .include "../../lang/nodejs/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r e6d5c81010a0 -r b3b928cdbba5 lang/nodejs/PLIST
--- a/lang/nodejs/PLIST Tue Oct 25 19:03:15 2016 +0000
+++ b/lang/nodejs/PLIST Tue Oct 25 19:50:40 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.39 2016/10/13 14:09:11 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.40 2016/10/25 19:50:40 fhajny Exp $
 bin/node
 bin/npm
 include/node/android-ifaddrs.h
@@ -9,6 +9,7 @@
 include/node/common.gypi
 include/node/config.gypi
 include/node/libplatform/libplatform.h
+include/node/libplatform/v8-tracing.h
 include/node/nameser.h
 include/node/node.h
 include/node/node_buffer.h
diff -r e6d5c81010a0 -r b3b928cdbba5 lang/nodejs/distinfo
--- a/lang/nodejs/distinfo      Tue Oct 25 19:03:15 2016 +0000
+++ b/lang/nodejs/distinfo      Tue Oct 25 19:50:40 2016 +0000
@@ -1,21 +1,21 @@
-$NetBSD: distinfo,v 1.78 2016/10/20 06:45:03 fhajny Exp $
+$NetBSD: distinfo,v 1.79 2016/10/25 19:50:40 fhajny Exp $
 
-SHA1 (node-v6.9.1.tar.gz) = 0698f4eed3a3149f6a92a9f83cfc7c43ca7cf343
-RMD160 (node-v6.9.1.tar.gz) = e722d24bb066d198d1905ecfd49e9ea8e48cacaa
-SHA512 (node-v6.9.1.tar.gz) = 71a6e081006c8b77f34b5cc26b76c56944b4de77d7ed5e6068c72dbaf49fc18ed2894231f6a5cd0308c40e95c2e1eb5ee2abd1470fd646bb8db3b230913c5014
-Size (node-v6.9.1.tar.gz) = 26504341 bytes
+SHA1 (node-v7.0.0.tar.gz) = 7f8eef789dba66e2b9925b95635cfc910892501d
+RMD160 (node-v7.0.0.tar.gz) = 705c24acf3354583249ad35ee9018559533610a0
+SHA512 (node-v7.0.0.tar.gz) = d1b40ee3d7bb03e0d5ac5ac7f5a61757fb76bd51626834d2a1603fc176b6da884bb6dbe6fae58568e116dd7ca8342865883a747837799f9677dcfc2ec700ac29
+Size (node-v7.0.0.tar.gz) = 27373724 bytes
 SHA1 (patch-common.gypi) = 5b3a50617358637a6f910de28bb5a14f037317a6
 SHA1 (patch-deps_cares_cares.gyp) = 2235eb44bc984fa2e745fdf1786f1ae6de6ef80f
 SHA1 (patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_generator_make.py) = 78d6ddd37ae30e869e0da666a78baad86a638c50
 SHA1 (patch-deps_uv_common.gypi) = ba9caa1f6d9d6df1913d0d72a8d18ea6db0a32ff
 SHA1 (patch-deps_uv_src_unix_netbsd.c) = 0915dcd6ff65ec9bc098c05c32e3fedee9c8168b
 SHA1 (patch-deps_v8_src_arm_cpu-arm.cc) = d0d11ac474ab109a6f40b26fa457b12d742eb48d
-SHA1 (patch-deps_v8_src_base_atomicops.h) = 65b6508f5260ae672b9efc5672ba2c93223355ff
+SHA1 (patch-deps_v8_src_base_atomicops.h) = 552d2b7781b39b93392fd00043b1cf4cb10802da
 SHA1 (patch-deps_v8_src_base_atomicops__internals__arm__gcc.h) = 1352769e157d5b49d019bdcd394db276421cdbad
 SHA1 (patch-deps_v8_src_base_platform_platform-freebsd.cc) = 686c2054838a25cfeed7fb9870a959e48dc4de35
 SHA1 (patch-deps_v8_src_base_platform_platform-openbsd.cc) = 0abf6a541f24da87dbbd22f57abcd5534999b3df
 SHA1 (patch-deps_v8_src_base_platform_platform-posix.cc) = eff609b75125dab536934bd8afa640955dcee674
-SHA1 (patch-deps_v8_src_base_platform_semaphore.cc) = dd8cafadd2668f069dab8625f57fbd71a304db3e
+SHA1 (patch-deps_v8_src_base_platform_semaphore.cc) = aa84bf1dbaac5808529f6b01502d117c88751649
 SHA1 (patch-deps_v8_src_log-utils.h) = 32bbf2de2af7a8ab6900a4d5e968dcc1357f6de2
 SHA1 (patch-deps_v8_src_types.h) = 250ab540fa28caeea034ed02b84182bc770cdf35
 SHA1 (patch-deps_v8_tools_run-llprof.sh) = 39aa3faf77492ef8dd35b411b7b0e4605b469af3
diff -r e6d5c81010a0 -r b3b928cdbba5 lang/nodejs/patches/patch-deps_v8_src_base_atomicops.h
--- a/lang/nodejs/patches/patch-deps_v8_src_base_atomicops.h    Tue Oct 25 19:03:15 2016 +0000
+++ b/lang/nodejs/patches/patch-deps_v8_src_base_atomicops.h    Tue Oct 25 19:50:40 2016 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-deps_v8_src_base_atomicops.h,v 1.1 2015/10/21 23:46:28 jmcneill Exp $
+$NetBSD: patch-deps_v8_src_base_atomicops.h,v 1.2 2016/10/25 19:50:40 fhajny Exp $
 
---- deps/v8/src/base/atomicops.h.orig  2015-10-13 17:20:07.000000000 +0000
+--- deps/v8/src/base/atomicops.h.orig  2016-10-25 13:26:03.000000000 +0000
 +++ deps/v8/src/base/atomicops.h
-@@ -54,9 +54,13 @@ typedef intptr_t Atomic64;
+@@ -52,9 +52,13 @@ typedef intptr_t Atomic64;
+ #endif  // defined(__ILP32__)
  #endif  // defined(V8_HOST_ARCH_64_BIT)
- #endif  // defined(__native_client__)
  
 +#if defined(__NetBSD__) && defined(__arm__)
 +typedef int32_t AtomicWord;
diff -r e6d5c81010a0 -r b3b928cdbba5 lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc
--- a/lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc  Tue Oct 25 19:03:15 2016 +0000
+++ b/lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc  Tue Oct 25 19:50:40 2016 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-deps_v8_src_base_platform_semaphore.cc,v 1.4 2015/09/09 00:04:54 ryoon Exp $
+$NetBSD: patch-deps_v8_src_base_platform_semaphore.cc,v 1.5 2016/10/25 19:50:40 fhajny Exp $
 Work around lack of sem_timedwait(3) in NetBSD < 6.99.4.
 Adapted from d4f11c0cf476dd854eaebec1cbacb1afc7bea18e of the Chromium V8 sources.
 
---- deps/v8/src/base/platform/semaphore.cc.orig        2015-09-08 15:30:38.000000000 +0000
+--- deps/v8/src/base/platform/semaphore.cc.orig        2016-10-25 13:26:03.000000000 +0000
 +++ deps/v8/src/base/platform/semaphore.cc
 @@ -11,6 +11,10 @@
  
@@ -15,12 +15,3 @@
  #include "src/base/logging.h"
  #include "src/base/platform/elapsed-timer.h"
  #include "src/base/platform/time.h"
-@@ -107,7 +111,7 @@ void Semaphore::Wait() {
- 
- 
- bool Semaphore::WaitFor(const TimeDelta& rel_time) {
--#if V8_OS_NACL
-+#if defined(V8_OS_NACL)  || (defined(V8_OS_NETBSD) && (__NetBSD_Version__ - 0 < 699000400))
-   // PNaCL doesn't support sem_timedwait, do ugly busy waiting.
-   ElapsedTimer timer;
-   timer.Start();



Home | Main Index | Thread Index | Old Index