pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/nodejs



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Tue Oct 25 19:50:40 UTC 2016

Modified Files:
        pkgsrc/lang/nodejs: Makefile PLIST distinfo
        pkgsrc/lang/nodejs/patches: patch-deps_v8_src_base_atomicops.h
            patch-deps_v8_src_base_platform_semaphore.cc

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/lang/nodejs/Makefile
cvs rdiff -u -r1.39 -r1.40 pkgsrc/lang/nodejs/PLIST
cvs rdiff -u -r1.78 -r1.79 pkgsrc/lang/nodejs/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_atomicops.h
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/nodejs/Makefile
diff -u pkgsrc/lang/nodejs/Makefile:1.79 pkgsrc/lang/nodejs/Makefile:1.80
--- pkgsrc/lang/nodejs/Makefile:1.79    Thu Oct 20 06:45:03 2016
+++ pkgsrc/lang/nodejs/Makefile Tue Oct 25 19:50:40 2016
@@ -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"

Index: pkgsrc/lang/nodejs/PLIST
diff -u pkgsrc/lang/nodejs/PLIST:1.39 pkgsrc/lang/nodejs/PLIST:1.40
--- pkgsrc/lang/nodejs/PLIST:1.39       Thu Oct 13 14:09:11 2016
+++ pkgsrc/lang/nodejs/PLIST    Tue Oct 25 19:50:40 2016
@@ -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/ares_version.h
 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

Index: pkgsrc/lang/nodejs/distinfo
diff -u pkgsrc/lang/nodejs/distinfo:1.78 pkgsrc/lang/nodejs/distinfo:1.79
--- pkgsrc/lang/nodejs/distinfo:1.78    Thu Oct 20 06:45:03 2016
+++ pkgsrc/lang/nodejs/distinfo Tue Oct 25 19:50:40 2016
@@ -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

Index: pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_atomicops.h
diff -u pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_atomicops.h:1.1 pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_atomicops.h:1.2
--- pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_atomicops.h:1.1   Wed Oct 21 23:46:28 2015
+++ pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_atomicops.h       Tue Oct 25 19:50:40 2016
@@ -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;

Index: pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc
diff -u pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc:1.4 pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc:1.5
--- pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc:1.4 Wed Sep  9 00:04:54 2015
+++ pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc     Tue Oct 25 19:50:40 2016
@@ -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 @@ Adapted from d4f11c0cf476dd854eaebec1cba
  #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