Hello community, here is the log from the commit of package nodejs for openSUSE:Factory checked in at 2016-02-25 22:10:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs (Old) and /work/SRC/openSUSE:Factory/.nodejs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs" Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs/nodejs.changes 2016-02-23 16:59:21.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.nodejs.new/nodejs.changes 2016-02-26 00:36:58.000000000 +0100 @@ -1,0 +2,60 @@ +Tue Feb 23 12:45:30 UTC 2016 - [email protected] + +- update version 5.7.0 + + buffer: + * You can now supply an encoding argument when filling a Buffer + Buffer#fill(string[, start[, end]][, encoding]), supplying an + existing Buffer will also work with + Buffer#fill(buffer[, start[, end]]). See the API documentation + for details on how this works. + * Buffer#indexOf() no longer requires a byteOffset argument if + you also wish to specify an encoding: + Buffer#indexOf(val[, byteOffset][, encoding]). + + child_process: + * spawn() and spawnSync() now support a 'shell' option to allow + for optional execution of the given command inside a shell. If + set to true, cmd.exe will be used on Windows and /bin/sh elsewhere. + A path to a custom shell can also be passed to override these + defaults. On Windows, this option allows .bat. and .cmd files to + be executed with spawn() and spawnSync(). + + http_parser: + * Update to http-parser 2.6.2 to fix an unintentionally strict + limitation of allowable header characters + + dgram: + * socket.send() now supports accepts an array of Buffers or + Strings as the first argument. See the API docs for details on + how this works. + + http: + * Fix a bug where handling headers will mistakenly trigger an + 'upgrade' event where the server is just advertising its + protocols. This bug can prevent HTTP clients from communicating + with HTTP/2 enabled servers. + + net: + * Added a listening Boolean property to net and http servers to + indicate whether the server is listening for connections. + + node: + * The C++ node::MakeCallback() API is now reentrant and calling + it from inside another MakeCallback() call no longer causes the + nextTick queue or Promises microtask queue to be processed out + of order. + + tls: + * Add a new tlsSocket.getProtocol() method to get the negotiated + TLS protocol version of the current connection. + + vm: + * Introduce new 'produceCachedData' and 'cachedData' options to + new vm.Script() to interact with V8's code cache. When a new + vm.Script object is created with the 'produceCachedData' set to + true a Buffer with V8's code cache data will be produced and + stored in cachedData property of the returned object. This data + in turn may be supplied back to another vm.Script() object with + a 'cachedData' option if the supplied source is the same. + Successfully executing a script from cached data can speed up + instantiation time. See the API docs for details. + + performance: Improvements in: + * process.nextTick() + * path module + * querystring module + * streams module when processing small chunks +- rework nodejs-libpath.patch + +------------------------------------------------------------------- Old: ---- node-v5.6.0.tar.xz New: ---- node-v5.7.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs.spec ++++++ --- /var/tmp/diff_new_pack.SDkJaz/_old 2016-02-26 00:36:59.000000000 +0100 +++ /var/tmp/diff_new_pack.SDkJaz/_new 2016-02-26 00:36:59.000000000 +0100 @@ -18,7 +18,7 @@ %define npm_version 3.6.0 Name: nodejs -Version: 5.6.0 +Version: 5.7.0 Release: 0 Summary: Evented I/O for V8 JavaScript License: MIT ++++++ node-v5.6.0.tar.xz -> node-v5.7.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/nodejs/node-v5.6.0.tar.xz /work/SRC/openSUSE:Factory/.nodejs.new/node-v5.7.0.tar.xz differ: char 26, line 1 ++++++ nodejs-libpath.patch ++++++ --- /var/tmp/diff_new_pack.SDkJaz/_old 2016-02-26 00:36:59.000000000 +0100 +++ /var/tmp/diff_new_pack.SDkJaz/_new 2016-02-26 00:36:59.000000000 +0100 @@ -1,26 +1,25 @@ -Index: node-v5.6.0/lib/module.js +Index: node-v5.7.0/lib/module.js =================================================================== ---- node-v5.6.0.orig/lib/module.js -+++ node-v5.6.0/lib/module.js -@@ -459,7 +459,13 @@ Module._initPaths = function() { +--- node-v5.7.0.orig/lib/module.js ++++ node-v5.7.0/lib/module.js +@@ -459,7 +459,12 @@ Module._initPaths = function() { homeDir = process.env.HOME; } - var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node')]; -+ if fs.exists('/usr/lib64', fs.F_OK, function(err) { -+ if (!err) { -+ var paths = ['/usr/lib/node','/usr/lib64/node']; -+ } else { -+ var paths = ['/usr/lib/node']; ++ var paths = ['/usr/lib/node']; ++ try { ++ if (fs.statSync('/usr/lib64').isDirectory()) { ++ paths.push('/usr/lib64/node'); + } -+ }; ++ } catch (e) {} if (homeDir) { paths.unshift(path.resolve(homeDir, '.node_libraries')); -Index: node-v5.6.0/tools/install.py +Index: node-v5.7.0/tools/install.py =================================================================== ---- node-v5.6.0.orig/tools/install.py -+++ node-v5.6.0/tools/install.py +--- node-v5.7.0.orig/tools/install.py ++++ node-v5.7.0/tools/install.py @@ -87,7 +87,10 @@ def update_shebang(path, shebang): open(path, 'w').write(s) ++++++ support-arm64-build.patch ++++++ --- /var/tmp/diff_new_pack.SDkJaz/_old 2016-02-26 00:36:59.000000000 +0100 +++ /var/tmp/diff_new_pack.SDkJaz/_new 2016-02-26 00:36:59.000000000 +0100 @@ -1,30 +1,30 @@ -Index: node-v4.2.1/Makefile +Index: node-v5.7.0/Makefile =================================================================== ---- node-v4.2.1.orig/Makefile -+++ node-v4.2.1/Makefile -@@ -272,6 +272,9 @@ else +--- node-v5.7.0.orig/Makefile ++++ node-v5.7.0/Makefile +@@ -319,6 +319,9 @@ else ifeq ($(DESTCPU),arm) ARCH=arm else +ifeq ($(DESTCPU),arm64) +ARCH=arm64 +else - ifeq ($(DESTCPU),ppc64) - ARCH=ppc64 + ifeq ($(DESTCPU),aarch64) + ARCH=arm64 else -@@ -282,6 +285,7 @@ ARCH=x86 +@@ -332,6 +335,7 @@ ARCH=x86 endif endif endif +endif endif + endif - # enforce "x86" over "ia32" as the generally accepted way of referring to 32-bit intel -Index: node-v4.2.1/configure +Index: node-v5.7.0/configure =================================================================== ---- node-v4.2.1.orig/configure -+++ node-v4.2.1/configure -@@ -580,6 +580,7 @@ def host_arch_cc(): +--- node-v5.7.0.orig/configure ++++ node-v5.7.0/configure +@@ -588,6 +588,7 @@ def host_arch_cc(): '__aarch64__' : 'arm64', '__arm__' : 'arm', '__i386__' : 'ia32',
