Hello community, here is the log from the commit of package nodejs for openSUSE:Factory checked in at 2016-06-07 23:49:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-03-29 10:39:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs.new/nodejs.changes 2016-06-07 23:49:59.000000000 +0200 @@ -1,0 +2,33 @@ +Mon Jun 6 08:44:43 UTC 2016 - [email protected] + +- uppdate version 6.2.1 + * buffer: Ignore negative lengths in calls to Buffer() and + Buffer.allocUnsafe(). + * npm: Upgrade npm to 3.9.3 + * V8: Upgrade to V8 5.0.71.52. +- update to version 6.2.0 + * buffer: fix lastIndexOf and indexOf in various edge cases + * src,module: add --preserve-symlinks command line flag + * util: adhere to noDeprecation set at runtime +- refresh support-arm64-build.patch + * `configure` bits incorporated upstream +- refresh addon-rpm.gypi + +------------------------------------------------------------------- +Fri May 13 14:52:12 UTC 2016 - [email protected] + +- update version 6.1.0 + * assert: deep{Strict}Equal() now works correctly with circular references. + * debugger: Arrays are now formatted correctly in the debugger repl. + * deps: Upgrade OpenSSL sources to 1.0.2h. + * net: Introduced a Socket#connecting property. Previously this information + was only available as the undocumented, internal _connecting property. + * process: Introduced process.cpuUsage(). + * stream: Writable#setDefaultEncoding() now returns this. + * util: Two new additions to util.inspect(): + + Added a maxArrayLength option to truncate the formatting of Arrays. + This is set to 100 by default. + + Added a showProxy option for formatting proxy intercepting handlers. + Inspecting proxies is non-trivial and as such this is off by default. + +------------------------------------------------------------------- Old: ---- node-v5.9.1.tar.xz New: ---- node-v6.2.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs.spec ++++++ --- /var/tmp/diff_new_pack.DlzeB2/_old 2016-06-07 23:50:00.000000000 +0200 +++ /var/tmp/diff_new_pack.DlzeB2/_new 2016-06-07 23:50:00.000000000 +0200 @@ -16,9 +16,9 @@ # -%define npm_version 3.6.0 +%define npm_version 3.9.3 Name: nodejs -Version: 5.9.1 +Version: 6.2.1 Release: 0 Summary: Evented I/O for V8 JavaScript License: MIT @@ -55,7 +55,7 @@ #we need ABI virtual provides where SONAMEs aren't enough/not present so deps #break when binary compatibility is broken -%global nodejs_abi 5.0 +%global nodejs_abi 6.0 Provides: nodejs(abi) = %{nodejs_abi} #this corresponds to the "engine" requirement in package.json ++++++ node-gyp-addon-gypi.patch ++++++ --- /var/tmp/diff_new_pack.DlzeB2/_old 2016-06-07 23:50:00.000000000 +0200 +++ /var/tmp/diff_new_pack.DlzeB2/_new 2016-06-07 23:50:00.000000000 +0200 @@ -1,7 +1,7 @@ -Index: node-v4.0.0/addon-rpm.gypi +Index: node-v6.2.1/addon-rpm.gypi =================================================================== --- /dev/null -+++ node-v4.0.0/addon-rpm.gypi ++++ node-v6.2.1/addon-rpm.gypi @@ -0,0 +1,35 @@ +{ + 'target_defaults': { @@ -38,11 +38,11 @@ + ] + } +} -Index: node-v4.0.0/deps/npm/node_modules/node-gyp/lib/configure.js +Index: node-v6.2.1/deps/npm/node_modules/node-gyp/lib/configure.js =================================================================== ---- node-v4.0.0.orig/deps/npm/node_modules/node-gyp/lib/configure.js -+++ node-v4.0.0/deps/npm/node_modules/node-gyp/lib/configure.js -@@ -140,10 +140,6 @@ function configure (gyp, argv, callback) +--- node-v6.2.1.orig/deps/npm/node_modules/node-gyp/lib/configure.js ++++ node-v6.2.1/deps/npm/node_modules/node-gyp/lib/configure.js +@@ -59,10 +59,6 @@ function configure (gyp, argv, callback) if ('v' + release.version !== process.version) { // if --target was given, then determine a target version to compile for log.verbose('get node dir', 'compiling against --target node version: %s', release.version) @@ -53,7 +53,7 @@ if (!release.semver) { // could not parse the version string with semver -@@ -158,6 +154,12 @@ function configure (gyp, argv, callback) +@@ -77,6 +73,12 @@ function configure (gyp, argv, callback) nodeDir = path.resolve(gyp.devDir, release.versionDir) createBuildDir() }) @@ -66,7 +66,7 @@ } } -@@ -301,7 +303,8 @@ function configure (gyp, argv, callback) +@@ -248,7 +250,8 @@ function configure (gyp, argv, callback) // this logic ported from the old `gyp_addon` python file var gyp_script = path.resolve(__dirname, '..', 'gyp', 'gyp_main.py') ++++++ node-v5.9.1.tar.xz -> node-v6.2.1.tar.xz ++++++ /work/SRC/openSUSE:Factory/nodejs/node-v5.9.1.tar.xz /work/SRC/openSUSE:Factory/.nodejs.new/node-v6.2.1.tar.xz differ: char 26, line 1 ++++++ nodejs-libpath.patch ++++++ --- /var/tmp/diff_new_pack.DlzeB2/_old 2016-06-07 23:50:00.000000000 +0200 +++ /var/tmp/diff_new_pack.DlzeB2/_new 2016-06-07 23:50:00.000000000 +0200 @@ -1,8 +1,8 @@ -Index: node-v5.7.0/lib/module.js +Index: node-v6.1.0/lib/module.js =================================================================== ---- node-v5.7.0.orig/lib/module.js -+++ node-v5.7.0/lib/module.js -@@ -459,7 +459,12 @@ Module._initPaths = function() { +--- node-v6.1.0.orig/lib/module.js ++++ node-v6.1.0/lib/module.js +@@ -587,7 +587,12 @@ Module._initPaths = function() { homeDir = process.env.HOME; } @@ -16,12 +16,12 @@ if (homeDir) { paths.unshift(path.resolve(homeDir, '.node_libraries')); -Index: node-v5.7.0/tools/install.py +Index: node-v6.1.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) +--- node-v6.1.0.orig/tools/install.py ++++ node-v6.1.0/tools/install.py +@@ -75,7 +75,10 @@ def install(paths, dst): map(lambda path + def uninstall(paths, dst): map(lambda path: try_remove(path, dst), paths) def npm_files(action): - target_path = 'lib/node_modules/npm/' @@ -32,7 +32,7 @@ # don't install npm if the target path is a symlink, it probably means # that a dev version of npm is installed there -@@ -105,7 +108,10 @@ def npm_files(action): +@@ -93,7 +96,10 @@ def npm_files(action): if action == uninstall: action([link_path], 'bin/npm') elif action == install: @@ -41,15 +41,15 @@ + try_symlink('../lib64/node_modules/npm/bin/npm-cli.js',link_path) + else: + try_symlink('../lib/node_modules/npm/bin/npm-cli.js', link_path) - if os.environ.get('PORTABLE'): - # This crazy hack is necessary to make the shebang execute the copy - # of node relative to the same directory as the npm script. The precompiled -@@ -134,7 +140,10 @@ def files(action): + else: + assert(0) # unhandled action type + +@@ -112,7 +118,10 @@ def files(action): action(['out/Release/node' + exeext], 'bin/node' + exeext) if 'true' == variables.get('node_use_dtrace'): - action(['out/Release/node.d'], 'lib/dtrace/node.d') -+ if 'true' == os.path.isdir('/usr/lib64/'): ++ if os.path.isdir('/usr/lib64/'): + action(['out/Release/node.d'], 'lib64/dtrace/node.d') + else: + action(['out/Release/node.d'], 'lib/dtrace/node.d') ++++++ support-arm64-build.patch ++++++ --- /var/tmp/diff_new_pack.DlzeB2/_old 2016-06-07 23:50:00.000000000 +0200 +++ /var/tmp/diff_new_pack.DlzeB2/_new 2016-06-07 23:50:00.000000000 +0200 @@ -1,8 +1,8 @@ -Index: node-v5.7.0/Makefile +Index: node-v6.2.1/Makefile =================================================================== ---- node-v5.7.0.orig/Makefile -+++ node-v5.7.0/Makefile -@@ -319,6 +319,9 @@ else +--- node-v6.2.1.orig/Makefile ++++ node-v6.2.1/Makefile +@@ -381,6 +381,9 @@ else ifeq ($(DESTCPU),arm) ARCH=arm else @@ -12,23 +12,11 @@ ifeq ($(DESTCPU),aarch64) ARCH=arm64 else -@@ -332,6 +335,7 @@ ARCH=x86 +@@ -400,6 +403,7 @@ ARCH=x86 endif endif endif +endif endif endif - -Index: node-v5.7.0/configure -=================================================================== ---- 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', -+ '__aarch64__' : 'arm64', - '__MIPSEL__' : 'mipsel', - '__mips__' : 'mips', - '__PPC64__' : 'ppc64', + endif
