Hello community,

here is the log from the commit of package nodejs6 for openSUSE:Factory checked 
in at 2017-07-19 11:20:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs6 (Old)
 and      /work/SRC/openSUSE:Factory/.nodejs6.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nodejs6"

Wed Jul 19 11:20:53 2017 rev:10 rq:509753 version:6.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs6/nodejs6.changes  2017-06-21 
13:57:54.305331911 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs6.new/nodejs6.changes     2017-07-19 
12:21:49.633432091 +0200
@@ -1,0 +2,35 @@
+Wed Jul 12 08:24:32 UTC 2017 - adam.ma...@suse.de
+
+- New upstream LTS release 6.11.1
+  * v8: disable V8 snapshots. The hashseed embedded in the snapshot
+    is currently the same for all runs of the binary. This opens
+    node up to collision attacks which could result in a Denial
+    of Service. We have temporarily disabled snapshots until a more
+    robust solution is found. (bnc#1048299)
+  * The c-ares function ares_parse_naptr_reply(), which is used for
+    parsing NAPTR responses, could be triggered to read memory
+    outside of the given input buffer if the passed in DNS response
+    packet was crafted in a particular way.
+    (CVE-2017-1000381, bnc#1044946)
+
+-------------------------------------------------------------------
+Fri Jul  7 14:05:05 UTC 2017 - adam.ma...@suse.de
+
+- Depend on nodejs-common that is then used to pick correctly
+  versioned node or npm binary. This is required since 3rd party
+  modules use `/usr/bin/env node` which breaks if multiple versions
+  of NodeJS are installed at the same time and non-default version
+  is used (for example, to compile a native module)
+ 
+-------------------------------------------------------------------
+Thu Jul  6 12:08:26 UTC 2017 - adam.ma...@suse.de
+
+- npm_search_paths.patch: Since concurrent installations are now
+  possible, node manual pages are moved once again back under npm
+  searcheable locations only.
+- versioned.patch: All files are now under versioned directoies
+  and names. node and npm symlinks are now managed by
+  update-alternatives
+- node-gyp-addon-gypi.patch: Reference versioned directories only
+
+-------------------------------------------------------------------

Old:
----
  node-v6.11.0.tar.xz

New:
----
  node-v6.11.1.tar.xz
  versioned.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nodejs6.spec ++++++
--- /var/tmp/diff_new_pack.6C11Cm/_old  2017-07-19 12:21:50.849260524 +0200
+++ /var/tmp/diff_new_pack.6C11Cm/_new  2017-07-19 12:21:50.853259959 +0200
@@ -26,7 +26,7 @@
 ###########################################################
 
 Name:           nodejs6
-Version:        6.11.0
+Version:        6.11.1
 Release:        0
 
 %if 0%{?sles_version} == 11
@@ -105,6 +105,9 @@
 # instead of /usr
 Patch104:       npm_search_paths.patch
 
+# Use versioned binaries and paths
+Patch200:       versioned.patch
+
 %if %{with binutils_gold}
 BuildRequires:  binutils-gold
 %endif
@@ -135,6 +138,8 @@
 BuildRequires:  pkgconfig(icu-i18n) >= 52
 %endif
 
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends:     npm(npm) = 3.10.10
 
 #we need ABI virtual provides where SONAMEs aren't enough/not present so deps
@@ -145,9 +150,12 @@
 #this corresponds to the "engine" requirement in package.json
 Provides:       nodejs(engine) = %{version}
 
-# Only one nodejs installed at a time
+# Multiple versions of NodeJS can be installed at a time, but
+# to properly allow correct version execution from 3rd party
+# npm software, `env node` requires further help than only
+# update-alternatives can provide.
 Provides:       nodejs = %{version}
-Conflicts:      otherproviders(nodejs)
+Requires:       nodejs-common
 
 # For SLE11, to be able to use the certificate store we need to have properly
 # symlinked certificates. The compatability symlinks are provided by the
@@ -171,7 +179,6 @@
 Group:          Development/Languages/NodeJS
 Provides:       nodejs-devel = %{version}
 Requires:       %{name} = %{version}
-Conflicts:      otherproviders(nodejs-devel)
 
 %description devel
 This package provides development headers for Node.js.
@@ -181,10 +188,9 @@
 Group:          Development/Languages/NodeJS
 Requires:       %{name}-devel = %{version}
 Provides:       nodejs-npm = %{version}
-Obsoletes:      nodejs-npm < 5.3.1
+Obsoletes:      nodejs-npm < 4.0.0
 Provides:       npm = %{version}
 Provides:       npm(npm) = 3.10.10
-Conflicts:      otherproviders(npm)
 
 %description -n npm6
 A package manager for Node.js that allows developers to install and
@@ -220,6 +226,8 @@
 %patch103 -p1
 %endif
 %patch104 -p1
+%patch200 -p1
+
 # Make sure nothing gets included from bundled deps:
 # We only delete the source and header files, because
 # the remaining build scripts are still used.
@@ -274,99 +282,123 @@
 rm -f %{buildroot}%{_datadir}/doc/node/lldb_commands.py
 
 # npm man page
-rm -rf %{buildroot}%{_libdir}/node_modules/npm/man
-mkdir -p %{buildroot}%{_mandir}/{man1,man5,man7}
-install -m 644 deps/npm/man/man1/* %{buildroot}%{_mandir}/man1
-install -m 644 deps/npm/man/man5/* %{buildroot}%{_mandir}/man5
-install -m 644 deps/npm/man/man7/* %{buildroot}%{_mandir}/man7
+install -D -m 644 deps/npm/man/man1/npm.1 %{buildroot}%{_mandir}/man1/npm6.1
 
 #node-gyp needs common.gypi too
 install -D -m 644 common.gypi \
-       %{buildroot}%{_datadir}/node/common.gypi
+       
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/node-gyp/common.gypi
+#       %%{buildroot}%%{_datadir}/node/common.gypi
 # install addon-rpm.gypi
 install -D -m 644 addon-rpm.gypi \
-       
%{buildroot}%{_libdir}/node_modules/npm/node_modules/node-gyp/addon-rpm.gypi
-
-# Own nodejs_sitelib
-#mkdir -p %{buildroot}%{_libdir}/node_modules/npm
+       
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/node-gyp/addon-rpm.gypi
 
 # clean
 # hidden files and directories
-find %{buildroot}%{_libdir}/node_modules/npm -name ".*" -print0 | xargs -r0 -0 
rm -rf --
+find %{buildroot}%{_libdir}/node_modules/npm6 -name ".*" -print0 | xargs -r0 
-0 rm -rf --
 # windows stuff
-find %{buildroot}%{_libdir}/node_modules/npm -name "*.bat" -delete
-find %{buildroot}%{_libdir}/node_modules/npm -name "*.cmd" -delete
+find %{buildroot}%{_libdir}/node_modules/npm6 -name "*.bat" -delete
+find %{buildroot}%{_libdir}/node_modules/npm6 -name "*.cmd" -delete
 # build stuff
-find %{buildroot}%{_libdir}/node_modules/npm -name "Makefile" -delete
-rm -rf %{buildroot}%{_libdir}/node_modules/npm/{test,scripts}
-find %{buildroot}%{_libdir}/node_modules/npm/node_modules -name "*.sh" -delete
-rm -rf %{buildroot}%{_libdir}/node_modules/npm/node_modules/node-gyp/src
+find %{buildroot}%{_libdir}/node_modules/npm6 -name "Makefile" -delete
+rm -rf %{buildroot}%{_libdir}/node_modules/npm6/{test,scripts}
+find %{buildroot}%{_libdir}/node_modules/npm6/node_modules -name "*.sh" -delete
+rm -rf %{buildroot}%{_libdir}/node_modules/npm6/node_modules/node-gyp/src
 # remove examples/tests/benchmark stuff
-find %{buildroot}%{_libdir}/node_modules/npm/node_modules -name "example*" 
-print0 | xargs -0 rm -rf --
-find %{buildroot}%{_libdir}/node_modules/npm/node_modules -name "test*" 
-print0 | xargs -0 rm -rf --
-find %{buildroot}%{_libdir}/node_modules/npm/node_modules -name "*_test.*" 
-delete
-find %{buildroot}%{_libdir}/node_modules/npm/node_modules -type d -name 
"benchmark" -print0 | xargs -0 rm -rf --
+find %{buildroot}%{_libdir}/node_modules/npm6/node_modules -name "example*" 
-print0 | xargs -0 rm -rf --
+find %{buildroot}%{_libdir}/node_modules/npm6/NODE_MODULES -name "test*" 
-print0 | xargs -0 rm -rf --
+find %{buildroot}%{_libdir}/node_modules/npm6/node_modules -name "*_test.*" 
-delete
+find %{buildroot}%{_libdir}/node_modules/npm6/node_modules -type d -name 
"benchmark" -print0 | xargs -0 rm -rf --
 # README.md LICENSE file permission
-find %{buildroot}%{_libdir}/node_modules/npm -name "README.md" -exec chmod -x 
{} +
-find %{buildroot}%{_libdir}/node_modules/npm -name "LICENSE" -exec chmod -x {} 
+
+find %{buildroot}%{_libdir}/node_modules/npm6 -name "README.md" -exec chmod -x 
{} +
+find %{buildroot}%{_libdir}/node_modules/npm6 -name "LICENSE" -exec chmod -x 
{} +
 # browser.js is useless for npm cli
-find %{buildroot}%{_libdir}/node_modules/npm -name "browser.js" -delete
+find %{buildroot}%{_libdir}/node_modules/npm6 -name "browser.js" -delete
 # fix permissions
-chmod 0644 
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js
 \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/qs/lib/parse.js
 \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/hawk/lib/index.js
 \
-   %{buildroot}%{_libdir}/node_modules/npm/node_modules/config-chain/index.js \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/qs/lib/stringify.js
 \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/hawk/lib/client.js
 \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/hawk/lib/crypto.js
 \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/hawk/lib/utils.js
 \
-   %{buildroot}%{_libdir}/node_modules/npm/node_modules/request/index.js \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/qs/lib/index.js
 \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js
 \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/hawk/lib/server.js
 \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js
 \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/index.js
 \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/qs/lib/utils.js
 \
-   
%{buildroot}%{_libdir}/node_modules/npm/node_modules/uid-number/get-uid-gid.js \
-   %{buildroot}%{_libdir}/node_modules/npm/bin/read-package-json.js
+chmod 0644 
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js
 \
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/qs/lib/parse.js
 \
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/hawk/lib/index.js
 \
+   %{buildroot}%{_libdir}/node_modules/npm6/node_modules/config-chain/index.js 
\
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/qs/lib/stringify.js
 \
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/hawk/lib/client.js
 \
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/hawk/lib/crypto.js
 \
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/hawk/lib/utils.js
 \
+   %{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/index.js \
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/qs/lib/index.js
 \
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js
 \
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/hawk/lib/server.js
 \
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js
 \
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/hawk/node_modules/sntp/index.js
 \
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/request/node_modules/qs/lib/utils.js
 \
+   
%{buildroot}%{_libdir}/node_modules/npm6/node_modules/uid-number/get-uid-gid.js 
\
+   %{buildroot}%{_libdir}/node_modules/npm6/bin/read-package-json.js
 
 # file duplicates
-%fdupes %{buildroot}%{_libdir}/node_modules/npm
-%fdupes %{buildroot}%{_includedir}/node
-%fdupes %{buildroot}%{_mandir}/man5
+%fdupes %{buildroot}%{_libdir}/node_modules/npm6
+%fdupes %{buildroot}%{_includedir}/node6
+
+# Update alternatives
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+ln -s -f node-default     %{buildroot}%{_sysconfdir}/alternatives/node-default
+ln -s -f node.1%{ext_man} 
%{buildroot}%{_sysconfdir}/alternatives/node.1%{ext_man}
+ln -s -f npm-default      %{buildroot}%{_sysconfdir}/alternatives/npm-default
+ln -s -f npm.1%{ext_man}  
%{buildroot}%{_sysconfdir}/alternatives/npm.1%{ext_man}
+ln -s %{_sysconfdir}/alternatives/node-default         
%{buildroot}%{_bindir}/node-default
+ln -s %{_sysconfdir}/alternatives/node.1%{ext_man}     
%{buildroot}%{_mandir}/man1/node.1%{ext_man}
+ln -s %{_sysconfdir}/alternatives/npm-default          
%{buildroot}%{_bindir}/npm-default
+ln -s %{_sysconfdir}/alternatives/npm.1%{ext_man}      
%{buildroot}%{_mandir}/man1/npm.1%{ext_man}
 
 # Check that Node.js isn't completely broken.
 %check
-%{buildroot}%{_bindir}/node -e 
'require("assert").strictEqual(process.versions.node, "%{version}");'
+%{buildroot}%{_bindir}/node6 -e 
'require("assert").strictEqual(process.versions.node, "%{version}");'
 
 %files
 %defattr(-, root, root)
 %doc AUTHORS LICENSE *.md
 %doc deps/v8/tools/gdbinit
 %dir %{_libdir}/node_modules
-%{_bindir}/node
-%{_libdir}/node_modules
-%{_mandir}/man1/node.1%{ext_man}
-%exclude %{_libdir}/node_modules/npm
+%{_bindir}/node6
+%{_mandir}/man1/node6.1%{ext_man}
+%ghost %{_bindir}/node-default
+%ghost %{_mandir}/man1/node.1%{ext_man}
+%ghost %{_sysconfdir}/alternatives/node-default
+%ghost %{_sysconfdir}/alternatives/node.1%{ext_man}
+%exclude %{_libdir}/node_modules/npm6
 
 %files -n npm6
 %defattr(-, root, root)
-%{_bindir}/npm
-%{_libdir}/node_modules/npm
-%{_mandir}/man*/*npm*%{ext_man}
-%{_mandir}/man5/package*.json.5%{ext_man}
-%{_mandir}/man7/semver.7%{ext_man}
+%{_bindir}/npm6
+%{_libdir}/node_modules/npm6
+%{_mandir}/man1/npm6.1%{ext_man}
+%ghost %{_bindir}/npm-default
+%ghost %{_mandir}/man1/npm.1%{ext_man}
+%ghost %{_sysconfdir}/alternatives/npm-default
+%ghost %{_sysconfdir}/alternatives/npm.1%{ext_man}
 
 %files devel
 %defattr(-, root, root)
-%{_includedir}/node
-%{_datadir}/node
+%{_includedir}/node6
 %dir %{_datadir}/systemtap
 %dir %{_datadir}/systemtap/tapset
-%{_datadir}/systemtap/tapset/node.stp
+%{_datadir}/systemtap/tapset/node6.stp
 
 %files docs
 %defattr(-,root,root)
 %doc doc/api
 
+%post
+update-alternatives \
+        --install %{_bindir}/node-default node-default %{_bindir}/node6 6 \
+        --slave %{_mandir}/man1/node.1%{ext_man} node.1%{ext_man} 
%{_mandir}/man1/node6.1%{ext_man}
+
+%postun
+update-alternatives --remove node-default %{_bindir}/node6
+
+%post -n npm6
+update-alternatives \
+        --install %{_bindir}/npm-default npm-default %{_bindir}/npm6 6 \
+        --slave %{_mandir}/man1/npm.1%{ext_man} npm.1%{ext_man} 
%{_mandir}/man1/npm6.1%{ext_man}
+
+%postun -n npm6
+update-alternatives --remove npm-default %{_bindir}/npm6
+
 %changelog

++++++ SHASUMS256.txt ++++++
--- /var/tmp/diff_new_pack.6C11Cm/_old  2017-07-19 12:21:50.905252623 +0200
+++ /var/tmp/diff_new_pack.6C11Cm/_new  2017-07-19 12:21:50.905252623 +0200
@@ -1,42 +1,42 @@
-70e0d8d853f88d5178fba02d8516f58f26c0d52dbcc2bd5c979bc9bb35e38c77  
node-v6.11.0-aix-ppc64.tar.gz
-87a9a64000a58e46ebc38ea053fa732496e9909110a86440f51f6bc8dd1534da  
node-v6.11.0-darwin-x64.tar.gz
-47803223d23d26937dcc3158c59f7615f86d906cc77532b8b80258ee3e6f60dd  
node-v6.11.0-darwin-x64.tar.xz
-a82caf153b7649656bce64dec40d136008babbef419e35b2a83242049de44b23  
node-v6.11.0-headers.tar.gz
-b139a80bf85e8a6f50d9761c2c4353695c56e3c964772f1f554b7eeeb586b29b  
node-v6.11.0-headers.tar.xz
-9f843c115fbcb8bb0f9ac4f0f1bd20156e0cd15dcea490b352ca10ddadc75de2  
node-v6.11.0-linux-arm64.tar.gz
-8f5df1bd8b690cde811d16fb9f5b33d64fad4049144557c9337a9dc6ec51fe6c  
node-v6.11.0-linux-arm64.tar.xz
-db829105774adbde8dd030e7beec13fa5502f9cd75c2eb50ef4c5946649c6b6e  
node-v6.11.0-linux-armv6l.tar.gz
-078b00a51a62267ceb505a260050183a175eed20d133429d2b514d24e67356f4  
node-v6.11.0-linux-armv6l.tar.xz
-8a81318a4d035469cfc85808cb30f6f644c7e5b4138361fb2c4b2fdb3c893896  
node-v6.11.0-linux-armv7l.tar.gz
-986a29afd909d2f563c8dca0830bf009529500bd74f2f249f6f62c637c1ce749  
node-v6.11.0-linux-armv7l.tar.xz
-2ecc4bf12d450e7c3b8d40f97edce457803ee658e6efa13fe2d82bc8b582d89f  
node-v6.11.0-linux-ppc64le.tar.gz
-0ac439c6656da95f364a60933a127135c54bfdd65cdb1120717c19290a30ca2a  
node-v6.11.0-linux-ppc64le.tar.xz
-51cbf250161ce2e07c1bbbd3b0ee05eba424f34d227c64009f161b10a20b3b88  
node-v6.11.0-linux-ppc64.tar.gz
-dce5a65b60989412f201da61b4bdace1cef056fb289ee4e042867180c80724c9  
node-v6.11.0-linux-ppc64.tar.xz
-0134c83a74a18c3cb44048cd856241a4a5c92bf4e06bb6026b21bac4c4f0ef61  
node-v6.11.0-linux-s390x.tar.gz
-571f07bf3d897d912d690b5609fc156aa70c03fbdfb536a4ded16eeed6b6fa49  
node-v6.11.0-linux-s390x.tar.xz
-2b0e1b06bf8658ce02c16239eb6a74b55ad92d4fb7888608af1d52b383642c3c  
node-v6.11.0-linux-x64.tar.gz
-2f0c0833a1dc0d1d52ef42d275d40125c5163bf92d2a663139beef70896f544d  
node-v6.11.0-linux-x64.tar.xz
-790cae8d5055aa174f2121d2ebb31bc08620d82fb5b7b9707df0859d2b24d869  
node-v6.11.0-linux-x86.tar.gz
-b409d26f5d4146bd2c0b872168cf85a9774c9a103aa0f78aab7161c745b1ea74  
node-v6.11.0-linux-x86.tar.xz
-e37386e4bcb20676e706ad21cd3aa86856f095bcd2c3d5acbad8d0dab56685fb  
node-v6.11.0.pkg
-70709408014e5f87fe33426be54762d0b67545ad87a28a692e70617872cefadd  
node-v6.11.0-sunos-x64.tar.gz
-ff194399cbc09a4cb98ef2499d7bc5814b158b61a7c800a1ec717f6067e0c503  
node-v6.11.0-sunos-x64.tar.xz
-058bc4635494dc40592aa07c2dbcb390fcb3d8daf78b155ac2787055a53cd562  
node-v6.11.0-sunos-x86.tar.gz
-73c136030edf29fdae3437898c0e0daf05c7a2c0dec6d6228361360c420c2d8e  
node-v6.11.0-sunos-x86.tar.xz
-821f518c9b25b7dc52c4d87fce4dbf6df3227aba92f0d008ec9d1f32e5f603d9  
node-v6.11.0.tar.gz
-02ba35391edea2b294c736489af01954ce6e6c39d318f4423ae6617c69ef0a51  
node-v6.11.0.tar.xz
-335f5918cbebaf5a819fe575eee0cb1646625a09709416bc293e837b660d1800  
node-v6.11.0-win-x64.7z
-cc4c167825fbd0b182b53100e622e518f32fd32b29ce122ab0bf648645dfff34  
node-v6.11.0-win-x64.zip
-9bed6a3ce1fba503e54ef8f49a109b515f2f872037304edcc4c04eda1fff215b  
node-v6.11.0-win-x86.7z
-61db6cc5a693cc87d51455cb57a323a8d6394c1c81eced72d260ca70dd9393fd  
node-v6.11.0-win-x86.zip
-131786611782ff79acbb070db1fcd6f94b96534b54177baaae3e47f4af81d35d  
node-v6.11.0-x64.msi
-ac945c06df15bccaac79b87f4422a324e06bdc4f629df6f1bdb9903764be3004  
node-v6.11.0-x86.msi
-3976e6bbcc0e4970517f9967cb986aa2c23f16a62f82f0efe475abfce6e15ddf  
win-x64/node.exe
-3789d6bee43bada6591704a8702bc46dea2a103e8736681e229f45f906895153  
win-x64/node.lib
-ab2983f1112472fcdd1009a5f813a0e2ba85862ff0a66cd340eadf2cf2dad06f  
win-x64/node_pdb.7z
-07f82eb6cde0e4bf7a1b0ac57adda653df71c8ea9663201ff8332437ad6a9b1c  
win-x64/node_pdb.zip
-4c11c10ef5b74964ee6776cc9ca9cf85a3275761b5a81f1f239a6d91a58b5c95  
win-x86/node.exe
-2a9d89a648fadd3f11b21dd44ea24b7680e322f2e458b7f6dc9fa1fd24a1a42e  
win-x86/node.lib
-1ebabe0454b56e5ecb21e3ac890e60909bc108da7ad0b03339bc270374427b9f  
win-x86/node_pdb.7z
-13ac5e5aaa8eda7beea2853f3563bd9d98237c27fa8a46d225de18597dc0bbe5  
win-x86/node_pdb.zip
+903c39914631c25509467516f22d2b8b320d08f17d1a4d2a7de740dffc7a1c1b  
node-v6.11.1-aix-ppc64.tar.gz
+a2b839259089ef26f20c17864ff5ce9cd1a67e841be3d129b38d288b45fe375b  
node-v6.11.1-darwin-x64.tar.gz
+60521df5c436552bc09ae68e8399e7e32cf34c36b21f1dd93c4ddfa421ed7ef0  
node-v6.11.1-darwin-x64.tar.xz
+333fd57e7ffa419655980b462ece5efc1b2f09c50c5d702ce2a24cb763f19885  
node-v6.11.1-headers.tar.gz
+cef0b18c510fc396e571576d6479072ae2895387335532dd6811ef337a0bfcb5  
node-v6.11.1-headers.tar.xz
+f8c898c39ecc9806fd6b5a3b49f037fee3cfe823238b8c119b4f6f8b7869168e  
node-v6.11.1-linux-arm64.tar.gz
+da1188f66aefab601c419b18d658b2fb22dbfcd8dd9db1efe033454182302a06  
node-v6.11.1-linux-arm64.tar.xz
+f725f0b55f1ddf8b297325e7d34e7dd2acb940c380adadae0489df438f7b5976  
node-v6.11.1-linux-armv6l.tar.gz
+9111c08c27553afe39bf75b5c70d1090e99eab79874a349d2475372447751171  
node-v6.11.1-linux-armv6l.tar.xz
+f48a17b7781052a57414f4c4f9b8cda61886ac82dbcc72cb054151b8ddae7f13  
node-v6.11.1-linux-armv7l.tar.gz
+81d5cfeca28134e1c4011ef473b836f17b9833ce35477ce3d5d5244a574cb2d7  
node-v6.11.1-linux-armv7l.tar.xz
+79d64e0265d29eb2ce2b592657ef36ef8f263db85bd81a01ddc6e20c9602117a  
node-v6.11.1-linux-ppc64le.tar.gz
+2ce2f559d7b3e165638659c4bd8190f0b944376f6af2613af08b7dca390d9ca3  
node-v6.11.1-linux-ppc64le.tar.xz
+af73c5213a986c3cbe152ea06fd02e9bf9ae534f01f0f9aebf976aa1aecf3ce8  
node-v6.11.1-linux-ppc64.tar.gz
+47a51a7a92ca4dfd24e3ea545d3ecb85de028fe0213472a041c7244d05dd0557  
node-v6.11.1-linux-ppc64.tar.xz
+afb203218defb33189e9205ea3aaed8b16d7f8e8ba1c754225d931919f42566a  
node-v6.11.1-linux-s390x.tar.gz
+8b3ab3eb08245ee5fa381952d5b2e6a12c29dc8216687adc8a0f775ae56a9fd1  
node-v6.11.1-linux-s390x.tar.xz
+175e00ad504f0dca5a4d2af0f941e27ea0bd3178529fd1a9c3d67f3d75afd864  
node-v6.11.1-linux-x64.tar.gz
+e68cc956f0ca5c54e7f3016d639baf987f6f9de688bb7b31339ab7561af88f41  
node-v6.11.1-linux-x64.tar.xz
+6471fbb402e2e26086e125abb6dfe51d1f1aaee4c7cc769539490de6bca635c3  
node-v6.11.1-linux-x86.tar.gz
+5bab3ae4e437b94dfe6116fab5e0ad30eb9ef91d728f8daa9518ced28910f2af  
node-v6.11.1-linux-x86.tar.xz
+b74310f4de51f60de8377686d8c150c737a3f41bb2bda353f4b170f9db58aa5f  
node-v6.11.1.pkg
+9d7826c823df9edc51967005d80ba93ba962000c99e9a32b8f2c380275698b82  
node-v6.11.1-sunos-x64.tar.gz
+a0312c958f07b54ec2be0123a3fd04490a0bd85f5a63ed52a0f5b572b1e5a822  
node-v6.11.1-sunos-x64.tar.xz
+f400f12a1c7e954247e48d858cac4282b821858ac1d40760cfd30544c63a6752  
node-v6.11.1-sunos-x86.tar.gz
+beda0888e07856c5c1ae5a27bdb83af63706a78d402d0dd742a26927d0b0c4ad  
node-v6.11.1-sunos-x86.tar.xz
+0187d4e4ef00cee2b70b0ad0689100050654f26629775d097b145d0d8727f9a0  
node-v6.11.1.tar.gz
+6f6655b85919aa54cb045a6d69a226849802fcc26491d0db4ce59873e41cc2b8  
node-v6.11.1.tar.xz
+22adcce6cbf2e40a879906be662f1818073f4668964d3b4ce544da56c17051f9  
node-v6.11.1-win-x64.7z
+9ffdaf75546fdc39b1a4f49ed816618c4669e34e2ee3b7a810ad89c8287f1293  
node-v6.11.1-win-x64.zip
+117bdeec7008492e2b313b637773375f07bf9582d13083566d3ad5e089f30875  
node-v6.11.1-win-x86.7z
+39be718eab141a38edc8abd6328362e8bb63c13c0d6114f8f59df95e0eb36952  
node-v6.11.1-win-x86.zip
+a3cd79655e4bff8c33884923eb0ccdb7290729e5f3352e8644d63e2849ae445d  
node-v6.11.1-x64.msi
+6d10c47ad968bee5bf8d467a375eb93c148a780e3c34ee8d656055035f1f90c8  
node-v6.11.1-x86.msi
+2b740a411bd8d6d63749452169fdeb662d7bbec35a5108c19753fe993e0df141  
win-x64/node.exe
+392f789336568f3c4d5f8f24ddfe62e8084f33ef10d0fb186cd508055e579e6e  
win-x64/node.lib
+db8ce8256c5281139de57cadd19910125123ba16184027f58f269f82d9e370e2  
win-x64/node_pdb.7z
+2fd21217fba052f49ce175f16398163eb7616f8052403d0c5a8264e3ff3bd583  
win-x64/node_pdb.zip
+781f24b0426f30fa4ac0baf2d22710a938360df4f8c4ae3285ca8921937d985c  
win-x86/node.exe
+5b0285b9e03214d384e7a72cf45bf0eb047481dcab85ab93932271020b78b342  
win-x86/node.lib
+95eb4925543f143da527ecfabf454c3e6f2845e76afa8cac49a2c66d5ec06727  
win-x86/node_pdb.7z
+37a7dc654c03fea7f98428ecb81a1b575de5f19efa0f382f81302fdac7bdf0d1  
win-x86/node_pdb.zip

++++++ SHASUMS256.txt.sig ++++++
Binary files /var/tmp/diff_new_pack.6C11Cm/_old and 
/var/tmp/diff_new_pack.6C11Cm/_new differ

++++++ node-gyp-addon-gypi.patch ++++++
--- /var/tmp/diff_new_pack.6C11Cm/_old  2017-07-19 12:21:50.941247543 +0200
+++ /var/tmp/diff_new_pack.6C11Cm/_new  2017-07-19 12:21:50.945246979 +0200
@@ -8,7 +8,7 @@
 +    'type': 'loadable_module',
 +    'product_prefix': '',
 +    'include_dirs': [
-+      '/usr/include/node/',
++      '/usr/include/node6/',
 +      '/usr/include/'
 +    ],
 +
@@ -60,7 +60,7 @@
 +      } else {
 +        // if no --target was specified then use RPM-installed headers
 +        log.verbose('get node dir', 'no --target version specified, falling 
back to RPM installed headers')
-+        nodeDir = '/usr/share/node'
++        nodeDir = '/usr/include/node6'
 +        createBuildDir()
 +      }
      }

++++++ node-v6.11.0.tar.xz -> node-v6.11.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/nodejs6/node-v6.11.0.tar.xz 
/work/SRC/openSUSE:Factory/.nodejs6.new/node-v6.11.1.tar.xz differ: char 26, 
line 1


++++++ npm_search_paths.patch ++++++
--- /var/tmp/diff_new_pack.6C11Cm/_old  2017-07-19 12:21:51.005238513 +0200
+++ /var/tmp/diff_new_pack.6C11Cm/_new  2017-07-19 12:21:51.005238513 +0200
@@ -20,28 +20,6 @@
    }
  
    function afterUserContinuation () {
-Index: node-v6.3.0/deps/npm/lib/help.js
-===================================================================
---- node-v6.3.0.orig/deps/npm/lib/help.js
-+++ node-v6.3.0/deps/npm/lib/help.js
-@@ -58,7 +58,7 @@ function help (args, cb) {
-   }
- 
-   // npm help <section>: Try to find the path
--  var manroot = path.resolve(__dirname, '..', 'man')
-+  var manroot = "/usr/share/man"
- 
-   // legacy
-   if (section === 'global') section = 'folders'
-@@ -108,7 +108,7 @@ function viewMan (man, cb) {
-   var section = path.basename(man, '.' + num)
- 
-   // at this point, we know that the specified man page exists
--  var manpath = path.join(__dirname, '..', 'man')
-+  var manpath = "/usr/share/man"
-   var env = {}
-   Object.keys(process.env).forEach(function (i) {
-     env[i] = process.env[i]
 Index: node-v6.3.0/deps/npm/lib/help-search.js
 ===================================================================
 --- node-v6.3.0.orig/deps/npm/lib/help-search.js

++++++ versioned.patch ++++++
Author: Adam Majer <ama...@suse.de>
Date: Tue Jul  4 15:54:34 CEST 2017
Summary: Generate versioned binaries

Generate versioned binaries and install paths
so we can allow concurrent installations and
management via update_alternatives.

This is also important for generation of binary
modules for multiple versions of NodeJS
Index: node-v6.11.0/node.gyp
===================================================================
--- node-v6.11.0.orig/node.gyp
+++ node-v6.11.0/node.gyp
@@ -19,7 +19,7 @@
     'node_shared_openssl%': 'false',
     'node_v8_options%': '',
     'node_enable_v8_vtunejit%': 'false',
-    'node_core_target_name%': 'node',
+    'node_core_target_name%': 'node6',
     'library_files': [
       'lib/internal/bootstrap_node.js',
       'lib/_debug_agent.js',
@@ -762,10 +762,10 @@
             {
               'action_name': 'node_dtrace_provider_o',
               'inputs': [
-                '<(OBJ_DIR)/node/src/node_dtrace.o',
+                '<(OBJ_DIR)/node6/src/node_dtrace.o',
               ],
               'outputs': [
-                '<(OBJ_DIR)/node/src/node_dtrace_provider.o'
+                '<(OBJ_DIR)/node6/src/node_dtrace_provider.o'
               ],
               'action': [ 'dtrace', '-G', '-xnolibs', '-s', 
'src/node_provider.d',
                 '<@(_inputs)', '-o', '<@(_outputs)' ]
@@ -815,7 +815,7 @@
                 '<(SHARED_INTERMEDIATE_DIR)/v8constants.h'
               ],
               'outputs': [
-                '<(OBJ_DIR)/node/src/node_dtrace_ustack.o'
+                '<(OBJ_DIR)/node6/src/node_dtrace_ustack.o'
               ],
               'conditions': [
                 [ 'target_arch=="ia32"', {
@@ -927,7 +927,7 @@
     ['OS=="aix"', {
       'targets': [
         {
-          'target_name': 'node',
+          'target_name': 'node6',
           'conditions': [
             ['node_shared=="true"', {
               'type': 'shared_library',
Index: node-v6.11.0/Makefile
===================================================================
--- node-v6.11.0.orig/Makefile
+++ node-v6.11.0/Makefile
@@ -37,10 +37,10 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT
 EXEEXT := $(shell $(PYTHON) -c \
                "import sys; print('.exe' if sys.platform == 'win32' else '')")
 
-NODE_EXE = node$(EXEEXT)
+NODE_EXE = node6$(EXEEXT)
 NODE ?= ./$(NODE_EXE)
 NODE_G_EXE = node_g$(EXEEXT)
-NPM ?= ./deps/npm/bin/npm-cli.js
+NPM ?= ./deps/npm6/bin/npm-cli.js
 
 # Flags for packaging.
 BUILD_DOWNLOAD_FLAGS ?= --download=all
Index: node-v6.11.0/tools/install.py
===================================================================
--- node-v6.11.0.orig/tools/install.py
+++ node-v6.11.0/tools/install.py
@@ -77,7 +77,7 @@ 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 = sysconfig.get_config_var("LIB") + '/node_modules/npm/'
+  target_path = sysconfig.get_config_var("LIB") + '/node_modules/npm6/'
 
   # don't install npm if the target path is a symlink, it probably means
   # that a dev version of npm is installed there
@@ -91,11 +91,11 @@ def npm_files(action):
     action(paths, target_path + dirname[9:] + '/')
 
   # create/remove symlink
-  link_path = abspath(install_path, 'bin/npm')
+  link_path = abspath(install_path, 'bin/npm6')
   if action == uninstall:
-    action([link_path], 'bin/npm')
+    action([link_path], 'bin/npm6')
   elif action == install:
-    try_symlink("../" + sysconfig.get_config_var("LIB") + 
'/node_modules/npm/bin/npm-cli.js',link_path)
+    try_symlink("../" + sysconfig.get_config_var("LIB") + 
'/node_modules/npm6/bin/npm-cli.js',link_path)
   else:
     assert(0) # unhandled action type
 
@@ -109,7 +109,7 @@ def subdir_files(path, dest, action):
 
 def files(action):
   is_windows = sys.platform == 'win32'
-  output_file = 'node'
+  output_file = 'node6'
   output_prefix = 'out/Release/'
 
   if 'false' == variables.get('node_shared'):
@@ -131,7 +131,7 @@ def files(action):
     action(['out/Release/node.d'], sysconfig.get_config_var("LIB") + 
'/dtrace/node.d')
 
   # behave similarly for systemtap
-  action(['src/node.stp'], 'share/systemtap/tapset/')
+  action(['src/node.stp'], 'share/systemtap/tapset/node6.stp')
 
   action(['deps/v8/tools/gdbinit'], 'share/doc/node/')
   action(['deps/v8/tools/lldbinit'], 'share/doc/node/')
@@ -140,7 +140,7 @@ def files(action):
   if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
     action(['doc/node.1'], 'man/man1/')
   else:
-    action(['doc/node.1'], 'share/man/man1/')
+    action(['doc/node.1'], 'share/man/man1/node6.1')
 
   if 'true' == variables.get('node_install_npm'): npm_files(action)
 
@@ -154,31 +154,31 @@ def headers(action):
     'src/node_buffer.h',
     'src/node_object_wrap.h',
     'src/node_version.h',
-  ], 'include/node/')
+  ], 'include/node6/')
 
   # Add the expfile that is created on AIX
   if sys.platform.startswith('aix'):
-    action(['out/Release/node.exp'], 'include/node/')
+    action(['out/Release/node.exp'], 'include/node6/')
 
-  subdir_files('deps/v8/include', 'include/node/', action)
+  subdir_files('deps/v8/include', 'include/node6/', action)
 
   if 'false' == variables.get('node_shared_cares'):
-    subdir_files('deps/cares/include', 'include/node/', action)
+    subdir_files('deps/cares/include', 'include/node6/', action)
 
   if 'false' == variables.get('node_shared_libuv'):
-    subdir_files('deps/uv/include', 'include/node/', action)
+    subdir_files('deps/uv/include', 'include/node6/', action)
 
   if 'true' == variables.get('node_use_openssl') and \
      'false' == variables.get('node_shared_openssl'):
-    subdir_files('deps/openssl/openssl/include/openssl', 
'include/node/openssl/', action)
-    subdir_files('deps/openssl/config/archs', 'include/node/openssl/archs', 
action)
-    action(['deps/openssl/config/opensslconf.h'], 'include/node/openssl/')
+    subdir_files('deps/openssl/openssl/include/openssl', 
'include/node6/openssl/', action)
+    subdir_files('deps/openssl/config/archs', 'include/node6/openssl/archs', 
action)
+    action(['deps/openssl/config/opensslconf.h'], 'include/node6/openssl/')
 
   if 'false' == variables.get('node_shared_zlib'):
     action([
       'deps/zlib/zconf.h',
       'deps/zlib/zlib.h',
-    ], 'include/node/')
+    ], 'include/node6/')
 
 def run(args):
   global node_prefix, install_path, target_defaults, variables
Index: node-v6.11.0/doc/node.1
===================================================================
--- node-v6.11.0.orig/doc/node.1
+++ node-v6.11.0/doc/node.1
@@ -26,12 +26,12 @@
 
 .SH NAME
 
-node \- Server-side JavaScript runtime
+node6 \- Server-side JavaScript runtime
 
 
 .SH SYNOPSIS
 
-.B node
+.B node6
 .RI [ options ]
 .RI [ v8\ options ]
 .RI [ script.js \ |
@@ -40,14 +40,14 @@ node \- Server-side JavaScript runtime
 .B [--]
 .RI [ arguments ]
 .br
-.B node debug
+.B node6 debug
 .RI [ script.js " | "
 .B \-e
 .RI \&" script \&"\ |
 .IR <host>:<port> ]
 .I ...
 .br
-.B node
+.B node6
 .RB [ \-\-v8-options ]
 
 Execute without arguments to start the REPL.
Index: node-v6.11.0/src/node.stp
===================================================================
--- node-v6.11.0.orig/src/node.stp
+++ node-v6.11.0/src/node.stp
@@ -1,4 +1,4 @@
-probe node_net_server_connection = 
process("node").mark("net__server__connection")
+probe node_net_server_connection = 
process("node6").mark("net__server__connection")
 {
   remote = user_string($arg2);
   port = $arg3;
@@ -11,7 +11,7 @@ probe node_net_server_connection = proce
     fd);
 }
 
-probe node_net_stream_end = process("node").mark("net__stream__end")
+probe node_net_stream_end = process("node6").mark("net__stream__end")
 {
   remote = user_string($arg2);
   port = $arg3;
@@ -24,7 +24,7 @@ probe node_net_stream_end = process("nod
     fd);
 }
 
-probe node_http_server_request = process("node").mark("http__server__request")
+probe node_http_server_request = process("node6").mark("http__server__request")
 {
   remote = user_string($arg3);
   port = $arg4;
@@ -41,7 +41,7 @@ probe node_http_server_request = process
     fd);
 }
 
-probe node_http_server_response = 
process("node").mark("http__server__response")
+probe node_http_server_response = 
process("node6").mark("http__server__response")
 {
   remote = user_string($arg2);
   port = $arg3;
@@ -54,7 +54,7 @@ probe node_http_server_response = proces
     fd);
 }
 
-probe node_http_client_request = process("node").mark("http__client__request")
+probe node_http_client_request = process("node6").mark("http__client__request")
 {
   remote = user_string($arg3);
   port = $arg4;
@@ -71,7 +71,7 @@ probe node_http_client_request = process
     fd);
 }
 
-probe node_http_client_response = 
process("node").mark("http__client__response")
+probe node_http_client_response = 
process("node6").mark("http__client__response")
 {
   remote = user_string($arg2);
   port = $arg3;
@@ -84,7 +84,7 @@ probe node_http_client_response = proces
     fd);
 }
 
-probe node_gc_start = process("node").mark("gc__start")
+probe node_gc_start = process("node6").mark("gc__start")
 {
   scavenge = 1 << 0;
   compact = 1 << 1;
@@ -104,7 +104,7 @@ probe node_gc_start = process("node").ma
     flags);
 }
 
-probe node_gc_stop = process("node").mark("gc__stop")
+probe node_gc_stop = process("node6").mark("gc__stop")
 {
   scavenge = 1 << 0;
   compact = 1 << 1;
Index: node-v6.11.0/deps/npm/man/man1/npm.1
===================================================================
--- node-v6.11.0.orig/deps/npm/man/man1/npm.1
+++ node-v6.11.0/deps/npm/man/man1/npm.1
@@ -1,11 +1,11 @@
 .TH "NPM" "1" "November 2016" "" ""
 .SH "NAME"
-\fBnpm\fR \- javascript package manager
+\fBnpm6\fR \- javascript package manager
 .SH SYNOPSIS
 .P
 .RS 2
 .nf
-npm <command> [args]
+npm6 <command> [args]
 .fi
 .RE
 .SH VERSION
@@ -21,16 +21,16 @@ It is extremely configurable to support
 Most commonly, it is used to publish, discover, install, and develop node
 programs\.
 .P
-Run \fBnpm help\fP to get a list of available commands\.
+Run \fBnpm6 help\fP to get a list of available commands\.
 .SH INTRODUCTION
 .P
 You probably got npm because you want to install stuff\.
 .P
-Use \fBnpm install blerg\fP to install the latest version of "blerg"\.  Check 
out
-npm help \fBnpm\-install\fP for more info\.  It can do a lot of stuff\.
+Use \fBnpm6 install blerg\fP to install the latest version of "blerg"\.  Check 
out
+npm6 help \fBnpm\-install\fP for more info\.  It can do a lot of stuff\.
 .P
-Use the \fBnpm search\fP command to show everything that's available\.
-Use \fBnpm ls\fP to show everything you've installed\.
+Use the \fBnpm6 search\fP command to show everything that's available\.
+Use \fBnpm6 ls\fP to show everything you've installed\.
 .SH DEPENDENCIES
 .P
 If a package references to another package with a git URL, npm depends
@@ -48,7 +48,7 @@ the node\-gyp repository \fIhttps://gith
 the node\-gyp Wiki \fIhttps://github\.com/TooTallNate/node\-gyp/wiki\fR\|\.
 .SH DIRECTORIES
 .P
-See npm help 5 \fBnpm\-folders\fP to learn about where npm puts stuff\.
+See npm6 help 5 \fBnpm\-folders\fP to learn about where npm puts stuff\.
 .P
 In particular, npm has two modes of operation:
 .RS 0
@@ -75,24 +75,24 @@ following help topics:
 .RS 0
 .IP \(bu 2
 json:
-Make a package\.json file\.  See npm help 5 \fBpackage\.json\fP\|\.
+Make a package\.json file\.  See npm6 help 5 \fBpackage\.json\fP\|\.
 .IP \(bu 2
 link:
 For linking your current working code into Node's path, so that you
 don't have to reinstall every time you make a change\.  Use
-\fBnpm link\fP to do this\.
+\fBnpm6 link\fP to do this\.
 .IP \(bu 2
 install:
 It's a good idea to install things if you don't need the symbolic link\.
 Especially, installing other peoples code from the registry is done via
-\fBnpm install\fP
+\fBnpm6 install\fP
 .IP \(bu 2
 adduser:
 Create an account or log in\.  Credentials are stored in the
 user config file\.
 .IP \(bu 2
 publish:
-Use the \fBnpm publish\fP command to upload your code to the registry\.
+Use the \fBnpm6 publish\fP command to upload your code to the registry\.
 
 .RE
 .SH CONFIGURATION
@@ -133,14 +133,14 @@ lib/utils/config\-defs\.js\.  These must
 
 .RE
 .P
-See npm help 7 \fBnpm\-config\fP for much much more information\.
+See npm6 help 7 \fBnpm\-config\fP for much much more information\.
 .SH CONTRIBUTIONS
 .P
 Patches welcome!
 .RS 0
 .IP \(bu 2
 code:
-Read through npm help 7 \fBnpm\-coding\-style\fP if you plan to submit code\.
+Read through npm6 help 7 \fBnpm\-coding\-style\fP if you plan to submit code\.
 You don't have to agree with it, but you do have to follow it\.
 .IP \(bu 2
 docs:
@@ -150,7 +150,7 @@ file in the "doc" folder\.  (Don't worry
 .RE
 .P
 Contributors are listed in npm's \fBpackage\.json\fP file\.  You can view them
-easily by doing \fBnpm view npm contributors\fP\|\.
+easily by doing \fBnpm6 view npm contributors\fP\|\.
 .P
 If you would like to contribute, but don't know what to work on, read
 the contributing guidelines and check the issues list\.
@@ -185,21 +185,21 @@ i@izs\.me
 .SH SEE ALSO
 .RS 0
 .IP \(bu 2
-npm help help
+npm6 help help
 .IP \(bu 2
 README
 .IP \(bu 2
-npm help 5 package\.json
+npm6 help 5 package\.json
 .IP \(bu 2
-npm help install
+npm6 help install
 .IP \(bu 2
-npm help config
+npm6 help config
 .IP \(bu 2
-npm help 7 config
+npm6 help 7 config
 .IP \(bu 2
-npm help 5 npmrc
+npm6 help 5 npmrc
 .IP \(bu 2
-npm help 7 index
+npm6 help 7 index
 
 .RE
 
Index: node-v6.11.0/deps/npm/bin/npm-cli.js
===================================================================
--- node-v6.11.0.orig/deps/npm/bin/npm-cli.js
+++ node-v6.11.0/deps/npm/bin/npm-cli.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/env node6
 ;(function () { // wrapper in case we're in module_context mode
   // windows: running "npm blah" in this folder will invoke WSH, not node.
   /*global WScript*/
Index: node-v6.11.0/src/node_main.cc
===================================================================
--- node-v6.11.0.orig/src/node_main.cc
+++ node-v6.11.0/src/node_main.cc
@@ -52,6 +52,7 @@ int wmain(int argc, wchar_t *wargv[]) {
 int main(int argc, char *argv[]) {
   // Disable stdio buffering, it interacts poorly with printf()
   // calls elsewhere in the program (e.g., any logging from V8.)
+  setenv("NODE_VERSION", "6", 0);
   setvbuf(stdout, nullptr, _IONBF, 0);
   setvbuf(stderr, nullptr, _IONBF, 0);
   return node::Start(argc, argv);

Reply via email to