Hello community, here is the log from the commit of package nodejs8 for openSUSE:Factory checked in at 2018-06-22 13:12:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs8 (Old) and /work/SRC/openSUSE:Factory/.nodejs8.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs8" Fri Jun 22 13:12:42 2018 rev:18 rq:617096 version:8.11.3 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs8/nodejs8.changes 2018-05-18 14:27:48.970561764 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs8.new/nodejs8.changes 2018-06-22 13:12:47.608799752 +0200 @@ -1,0 +2,31 @@ +Fri Jun 15 12:03:47 UTC 2018 - [email protected] + +- Recommend same major version npm package (bsc#1097748) + +------------------------------------------------------------------- +Wed Jun 13 16:32:24 UTC 2018 - [email protected] + +- New upstream LTS release 8.11.3: + * buffer: Fixes Denial of Service vulnerability where calling + Buffer.fill() could hang (CVE-2018-7167, bsc#1097375) + * http2: + + Fixes Denial of Service vulnerability by updating the http2 + implementation to not crash under certain circumstances + during cleanup (CVE-2018-7161, bsc#1097404) + + Unbundled nghttp2 to fix Denial of Service vulnerability + (CVE-2018-1000168, bsc#1097401) + +------------------------------------------------------------------- +Thu May 24 14:17:25 UTC 2018 - [email protected] + +- env_shebang.patch: use absolute paths in executable shebang lines +- versioned.patch: updated to move shebang modifications to above + patch. + +------------------------------------------------------------------- +Wed May 23 11:31:09 UTC 2018 - [email protected] + +- use gcc7 for SLE12 +- manual_configure.patch: configure nghttp2 correctly + +------------------------------------------------------------------- Old: ---- node-v8.11.2.tar.xz New: ---- env_shebang.patch manual_configure.patch node-v8.11.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs8.spec ++++++ --- /var/tmp/diff_new_pack.mkgaJg/_old 2018-06-22 13:12:48.384770977 +0200 +++ /var/tmp/diff_new_pack.mkgaJg/_new 2018-06-22 13:12:48.384770977 +0200 @@ -26,7 +26,7 @@ ########################################################### Name: nodejs8 -Version: 8.11.2 +Version: 8.11.3 Release: 0 %define node_version_number 8 @@ -60,6 +60,12 @@ %bcond_without intree_icu %endif +%if 0%{suse_version} >= 1500 +%bcond_with intree_nghttp2 +%else +%bcond_without intree_nghttp2 +%endif + %ifarch aarch64 ppc ppc64 ppc64le s390 s390x %bcond_with gdb %else @@ -101,11 +107,12 @@ Source2: https://nodejs.org/dist/v%{version}/SHASUMS256.txt.sig Source3: nodejs.keyring -## UPSTREAM PATCHES HERE, if any +## Patches not distribution specific Patch3: fix_ci_tests.patch Patch6: icu_61_namespacefix.patch +Patch7: manual_configure.patch -## Our patches +## Patches specific to SUSE and openSUSE # PATCH-FIX-OPENSUSE -- set correct path for dtrace if it is built Patch101: nodejs-libpath.patch # PATCH-FIX-UPSTREAM -- use custom addon.gypi by default instead of @@ -121,6 +128,8 @@ # Use versioned binaries and paths Patch200: versioned.patch +Patch201: env_shebang.patch + %if %{with binutils_gold} BuildRequires: binutils-gold %endif @@ -145,24 +154,11 @@ %endif # node >= 8 %endif # sles == 11 -# SLE 12 and Leap 42 -# GCC 6 is only available with SLE 12 SP1 and Leap 42.2+. +# Use GCC 7, since it is in SLE-12:Update %if %node_version_number >= 8 && 0%{?suse_version} == 1315 -%if 0%{?sle_version} < 120100 -BuildRequires: gcc5-c++ -%define cc_exec gcc-5 -%define cpp_exec g++-5 -%else -%if 0%{?sle_version} <= 120200 || (0%{?sle_version} == 120300 && !0%{?is_opensuse}) -BuildRequires: gcc6-c++ -%define cc_exec gcc-6 -%define cpp_exec g++-6 -%else BuildRequires: gcc7-c++ %define cc_exec gcc-7 %define cpp_exec g++-7 -%endif # SLE 12 <= SP2 and SLE 12 SP3 but not Leap 42.3 -%endif # SLE 12 < SP1 %endif # node >= 8 and sle == 12 # No special version defined, use default. @@ -204,9 +200,13 @@ BuildRequires: pkgconfig(icu-i18n) >= 57 %endif +%if ! %{with intree_nghttp2} +BuildRequires: libnghttp2-devel >= 1.31.0 +%endif + Requires(post): update-alternatives Requires(postun): update-alternatives -Recommends: npm(npm) = 5.6.0 +Recommends: npm8 #we need ABI virtual provides where SONAMEs aren't enough/not present so deps #break when binary compatibility is broken @@ -285,6 +285,7 @@ %if ! %{with intree_openssl} %endif %patch6 -p1 +%patch7 -p1 %patch101 -p1 %patch102 -p1 # Add check_output to configure script (not part of Python 2.6 in SLE11). @@ -293,7 +294,9 @@ %endif %patch104 -p1 %patch200 -p1 +%patch201 -p1 +%build # Make sure nothing gets included from bundled deps: # We only delete the source and header files, because # the remaining build scripts are still used. @@ -315,7 +318,6 @@ # documentation changes every version. find -name *.md.orig -delete -%build # percent-configure pulls in something that confuses node's configure # script, so we'll do it thus: export CFLAGS="%{optflags}" @@ -346,6 +348,9 @@ --with-icu-source=deps/icu-small \ %endif %endif +%if ! %{with intree_nghttp2} + --shared-nghttp2 \ +%endif %if %{with gdb} --gdb \ %endif @@ -354,6 +359,9 @@ make %{?_smp_mflags} +# Fix documentation permissions +find doc/api -type f -exec chmod 0644 {} + + %install make install DESTDIR=%{buildroot} %{?_smp_mflags} rm %{buildroot}%{_datadir}/doc/node/gdbinit @@ -395,7 +403,7 @@ find %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/node_modules -type d -name "benchmark" -print0 | xargs -0 rm -rf -- # fix permissions -find %{buildroot}%{_libdir}/node_modules -type f -exec chmod -x {} + +find %{buildroot}%{_libdir}/node_modules -type f -exec chmod 0644 {} + chmod 0755 %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/bin/np*-cli.js chmod 0755 %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/bin/node-gyp-bin/node-gyp chmod 0755 %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/node_modules/node-gyp/bin/node-gyp.js ++++++ SHASUMS256.txt ++++++ --- /var/tmp/diff_new_pack.mkgaJg/_old 2018-06-22 13:12:48.420769642 +0200 +++ /var/tmp/diff_new_pack.mkgaJg/_new 2018-06-22 13:12:48.424769494 +0200 @@ -1,40 +1,40 @@ -9a39fa0477246ada0ba248f410c57fec25abf3c581018f4b7dbaefb3f1d6dd7f node-v8.11.2-aix-ppc64.tar.gz -6bd619ab577a1256531e50e31924d99a094eb920de8b5bd060a056a2608282b9 node-v8.11.2-darwin-x64.tar.gz -b6503f5566932cc231f581805a4ccc79eadfdad19d351e0c40a2055cff82fdc3 node-v8.11.2-darwin-x64.tar.xz -6125250fe8e074e509a7c691ebf04a93c20246fea5637ef6fe8aa844cef98b41 node-v8.11.2-headers.tar.gz -45189696c1a3f78a41adaadcc64a94cdaf4fec5210a31d6af095e87932bbacd4 node-v8.11.2-headers.tar.xz -8b376554ea7dc4ae3e2bfbd407b45ee4f978c199b1764430a40802dd6019d882 node-v8.11.2-linux-arm64.tar.gz -c8e9833402277c1a5a31b41cc31c9cedad68ba87c2ef78aed6a3ced81af9da7f node-v8.11.2-linux-arm64.tar.xz -f9614139addda5c327486a5d7e92d6a9d1bd6d8dccb3dd4eed0d0e81ec2a605d node-v8.11.2-linux-armv6l.tar.gz -6d0577d40fa61606d6c4da4bb329ca561f559dd11285af535e281b08a491ffd6 node-v8.11.2-linux-armv6l.tar.xz -5cfef0c7bd142964b195fbeed574e5887beeec5ad4f403561a78f1924b53bb38 node-v8.11.2-linux-armv7l.tar.gz -b7e2d9db8a3e6ddcb16238d08e256595874f5396c7404a9b1fe795b45654c83a node-v8.11.2-linux-armv7l.tar.xz -6f00fc607273c148670423b64485e750977f2968b1f699635ba2310012adc41e node-v8.11.2-linux-ppc64le.tar.gz -840d76db330bfc9c0b63aab61e7d79baeeccbb69833d2e3a5687013e47f03bbf node-v8.11.2-linux-ppc64le.tar.xz -cc8e3551f1c687c7912205c1e992547a021f705696f3e5e1a893f50df29803df node-v8.11.2-linux-s390x.tar.gz -ed8069f679b1bbd911c11ad193ebfeddfac0d33724c359e8f2d88f02aba6c235 node-v8.11.2-linux-s390x.tar.xz -67dc4c06a58d4b23c5378325ad7e0a2ec482b48cea802252b99ebe8538a3ab79 node-v8.11.2-linux-x64.tar.gz -213599127d24496cbf1cbb2a7c51060a3506d6b11132c59bb7f9f8a0edd210a7 node-v8.11.2-linux-x64.tar.xz -7700e140e13f49c641dc2dc6874a6c8d0aba0969fa6b728a14887d4bef3b29a8 node-v8.11.2-linux-x86.tar.gz -b380090649229d0ccc7afb8a6b432d60dd012da5e40dca903c7ac2d15f33a7a1 node-v8.11.2-linux-x86.tar.xz -b4dae89125bedd97552d88134df9110938661f43cde09c55e2b1ad61812ecaea node-v8.11.2.pkg -a2409071006c36d92ed2aa868ee5093edb11ca7c081a47195f81fa54c0fb554f node-v8.11.2-sunos-x64.tar.gz -f88abcfeeb8c49aaf9d6a39a09311c372cc3f711e14456a3c515aba22cf4ddbe node-v8.11.2-sunos-x64.tar.xz -2851fe1e9beab968e639445678ac017056e3c93ed3e8a6e4f3d16a3e616c6d67 node-v8.11.2-sunos-x86.tar.gz -f6cd3779b9c770ce82c2082084b255a790530d869fdaaf5900d5ff29a9362d18 node-v8.11.2-sunos-x86.tar.xz -0ac2c4de270caa08b5adcdb3c6bcb8aae3651a37d035d385bc819fbacaf350e6 node-v8.11.2.tar.gz -539946c0381809576bed07424a35fc1740d52f4bd56305d6278d9e76c88f4979 node-v8.11.2.tar.xz -8bbd03b041f8326aba5ab754e4619eb3322907ddbfd77b93ddbcdaa435533ce0 node-v8.11.2-win-x64.7z -bbac1f56e8001a093acb2942f8a43c3bf22aec58216f446b7bf01f6f822dfe3f node-v8.11.2-win-x64.zip -03f1bf7a206b8d24f921606ddafd865b5d60bd54e7998fc5d1744cef2e12c443 node-v8.11.2-win-x86.7z -f002b0c4e3fcfb30f15b8f52076a483f789f5413a6e406c98d629c4a9025e51f node-v8.11.2-win-x86.zip -108dd9ccd131931e42b57dc1243dc28aacfebe207de48c420a576fe453d33ed7 node-v8.11.2-x64.msi -334d5ed17811b22fafd2c359f5f5dc7e803b13ec1099a9426dbcb2ca9871add0 node-v8.11.2-x86.msi -5909e2899950e95cfb67ffca7ca4a77e70158c84bbaa3136ffd144075a12aaff win-x64/node.exe -20899b5265163175a265cd7b211dc7054642fe65155ded3c13795b0e1d430f9f win-x64/node.lib -d5d6355cd1965b1c78e2cabbf9546ca429863d47e36ed46aa0ebffd75fd3c6ca win-x64/node_pdb.7z -b70ae6ad1d65299e7e632da9ee536826a53fb01b5e934b7f86213010de3d6db5 win-x64/node_pdb.zip -cae63b5db208fca6a95f342064964bf3a2ff16c738801f002662d92a612adfed win-x86/node.exe -d6694de6420ea035f3c28a77f1527234baa1c97e690ebe9ba82ad44540c43829 win-x86/node.lib -43a2b686a5658ef82db7258efd7801c47618d076065f24702c626857edb767b0 win-x86/node_pdb.7z -61fb800c2bf4338b117cb9ae80b89f6f4f35ae87027a33b2985217671ecefcb8 win-x86/node_pdb.zip +3933bbdbc678cf237072b0429f0552e01c77fe0a6118da907bff81769d2c801e node-v8.11.3-aix-ppc64.tar.gz +77fa26b4c2fc34bdf5a5dd1cd39c93b12087fbd25148c6f04bf409698ee48b86 node-v8.11.3-darwin-x64.tar.gz +7eac0bf398cb6ecf9f84dfc577ee84eee3d930f7a54b7e50f56d1a358b528792 node-v8.11.3-darwin-x64.tar.xz +36bf155f2c42bb3628f146a35fcf2ce812ba29f5d57bbec4780787fe282f9b80 node-v8.11.3-headers.tar.gz +cf42ee988b81b5fd0744f121caa16c7e3fc689137aad66c12eff4d8ac3ebc158 node-v8.11.3-headers.tar.xz +27bbee0710a798f61fab945dc22d4680926d0a679e293f285ff06bb86142b086 node-v8.11.3-linux-arm64.tar.gz +b8fddec18f20533929a07bc1d38ae63b1999a0252740094f0974b2cbea76eaa4 node-v8.11.3-linux-arm64.tar.xz +4e44edd4830159fe026ae2a240308d590e4e3930d794370c2cfcb4c6c1b6db30 node-v8.11.3-linux-armv6l.tar.gz +7eec60b638843f0336759dd6cc6fa236c103ce9a10e137e6a0b3a82bb7e59f9b node-v8.11.3-linux-armv6l.tar.xz +3ab2037f7de2be2021e9b2eccad4a4480f6ec66cad8d7b344ac6a8aeba6908ca node-v8.11.3-linux-armv7l.tar.gz +7a2bb6e37615fa45926ac0ad4e5ecda4a98e2956e468dedc337117bfbae0ac68 node-v8.11.3-linux-armv7l.tar.xz +5c73e55c748c3176746f4e3c278646b44a39e3526c72767a74ce9444165e9e80 node-v8.11.3-linux-ppc64le.tar.gz +6a29ea871e2288dc83d79473bd7b6702a1da126c1a5c900247344252970cb87e node-v8.11.3-linux-ppc64le.tar.xz +3bdb471bbf28478ea82a184193d2fd20d9a5fa5bfe962ecd87a6b4d06a20bd9a node-v8.11.3-linux-s390x.tar.gz +4ba85841c7c31e2846bfaf4346e3c6419e30318bc42677f60bb0d1d5dedebcfd node-v8.11.3-linux-s390x.tar.xz +1ea408e9a467ed4571730e160993f67a100e8c347f6f9891c9a83350df2bf2be node-v8.11.3-linux-x64.tar.gz +08e2fcfea66746bd966ea3a89f26851f1238d96f86c33eaf6274f67fce58421a node-v8.11.3-linux-x64.tar.xz +7fe0d547baaa6334c1b14cfad8f4dc707b58b3568659b7466894ff26030944e5 node-v8.11.3-linux-x86.tar.gz +79fc372d8cb2d9d352bad00ae6630994fde802767fafff2dc411f37a3e84a5d3 node-v8.11.3-linux-x86.tar.xz +e4c21b34356cc734034d6b19431e8c4d191b3eac698cad23b75dc99bf34398f9 node-v8.11.3.pkg +a49a53d12385eb841e49091c6b94bc38c1bf9696ddc5f41ae30f5b4c829b0892 node-v8.11.3-sunos-x64.tar.gz +04f0fe764f6b6ca6a2dfa9d868ca6df4986fd215c344f2e06d06a005516eb11e node-v8.11.3-sunos-x64.tar.xz +93bf636a0bcbfd4d95c3e9686a8e16b3c99e4fe8f6dda13e746e7745ea6d5bab node-v8.11.3-sunos-x86.tar.gz +b78288b650e025916087847158185cee41cbbd644fe110b97197870f87873b50 node-v8.11.3-sunos-x86.tar.xz +0d7e795c0579226c8b197353bbb9392cae802f4fefa4787a2c0e678beaf85cce node-v8.11.3.tar.gz +577c751fdca91c46c60ffd8352e5b465881373bfdde212c17c3a3c1bd2616ee0 node-v8.11.3.tar.xz +87ea95cef11a0c840556a164a664917ddaebde76e2dac6607c519d56ea68d5f8 node-v8.11.3-win-x64.7z +91b779def1b21dcd1def7fc9671a869a1e2f989952e76fdc08a5d73570075f31 node-v8.11.3-win-x64.zip +df3649ce8fed94c474491d378f1385b949a6208d2f6a6b4097e081ab55501c4e node-v8.11.3-win-x86.7z +9482a0ad7aa5cd964cbeb11a605377b5c5aae4eae952c838aecf079de6088dc6 node-v8.11.3-win-x86.zip +d7e3057e921803159266ff1340283420a3e5053bad0c3ff951d8946a8f9aa66b node-v8.11.3-x64.msi +66d1750f03f9319312843e8e80764625c8157600c1add99cba92c783cf9ff02a node-v8.11.3-x86.msi +8ec35e8b61e08e3c09547ab52101e480285761baa9d35d707866540942ae0b0d win-x64/node.exe +dd212906d408a23a1e7f32ab67c962aac33ed911b591d482cb37df390d536d48 win-x64/node.lib +ee8480f5c41973b41abc95fdd8cd2034a7484f5979d174a217d041da86464a12 win-x64/node_pdb.7z +80279ed44f5e4a332d36060078632af8723d0935eddda4b1a7a1e97a121d53fa win-x64/node_pdb.zip +e7a5aa4d5b06aba4ab68a4c57d899800550cd05428ab1d74336170b98c4fe96a win-x86/node.exe +244daecad206b29215dfaab70bb73eb56f48f43c780ba4b70d0bf0046f9514f2 win-x86/node.lib +bac3cfe70b1c4802bc2b751ba7d1e860769c2899018ed81c9f47fc045a7d5a16 win-x86/node_pdb.7z +aba100bac88199c457dec75571a2078b1ec3ee57670587cd0c12ce5a3fed9c4c win-x86/node_pdb.zip ++++++ SHASUMS256.txt.sig ++++++ Binary files /var/tmp/diff_new_pack.mkgaJg/_old and /var/tmp/diff_new_pack.mkgaJg/_new differ ++++++ env_shebang.patch ++++++ Index: node-v8.11.2/deps/npm/bin/npm-cli.js =================================================================== --- node-v8.11.2.orig/deps/npm/bin/npm-cli.js +++ node-v8.11.2/deps/npm/bin/npm-cli.js @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/node8 ;(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-v8.11.2/deps/npm/bin/npx =================================================================== --- node-v8.11.2.orig/deps/npm/bin/npx +++ node-v8.11.2/deps/npm/bin/npx @@ -1,4 +1,3 @@ -#!/bin/sh (set -o igncr) 2>/dev/null && set -o igncr; # cygwin encoding fix basedir=`dirname "$0"` Index: node-v8.11.2/deps/npm/bin/npm =================================================================== --- node-v8.11.2.orig/deps/npm/bin/npm +++ node-v8.11.2/deps/npm/bin/npm @@ -1,4 +1,3 @@ -#!/bin/sh (set -o igncr) 2>/dev/null && set -o igncr; # cygwin encoding fix basedir=`dirname "$0"` Index: node-v8.11.2/deps/npm/bin/npx-cli.js =================================================================== --- node-v8.11.2.orig/deps/npm/bin/npx-cli.js +++ node-v8.11.2/deps/npm/bin/npx-cli.js @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/node8 const npx = require('libnpx') const path = require('path') Index: node-v8.11.2/deps/npm/node_modules/mkdirp/bin/cmd.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/mkdirp/bin/cmd.js +++ node-v8.11.2/deps/npm/node_modules/mkdirp/bin/cmd.js @@ -1,5 +1,3 @@ -#!/usr/bin/env node - var mkdirp = require('../'); var minimist = require('minimist'); var fs = require('fs'); Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/gyp =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/gyp +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/gyp @@ -1,4 +1,3 @@ -#!/bin/sh # Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/gyp_main.py =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/gyp_main.py +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/gyp_main.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # Copyright (c) 2009 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/gyptest.py =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/gyptest.py +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/gyptest.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright (c) 2011 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/samples/samples =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/samples/samples +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/samples/samples @@ -1,5 +1,3 @@ -#!/usr/bin/python - # Copyright (c) 2009 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/setup.py =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/setup.py +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/setup.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # Copyright (c) 2009 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/tools/graphviz.py =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/tools/graphviz.py +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/tools/graphviz.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # Copyright (c) 2011 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/tools/pretty_gyp.py =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/tools/pretty_gyp.py +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/tools/pretty_gyp.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/tools/pretty_vcproj.py =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/tools/pretty_vcproj.py +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/tools/pretty_vcproj.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/node_modules/node-gyp/node_modules/nopt/bin/nopt.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/node_modules/nopt/bin/nopt.js +++ node-v8.11.2/deps/npm/node_modules/node-gyp/node_modules/nopt/bin/nopt.js @@ -1,4 +1,3 @@ -#!/usr/bin/env node var nopt = require("../lib/nopt") , path = require("path") , types = { num: Number Index: node-v8.11.2/deps/npm/node_modules/node-gyp/node_modules/semver/bin/semver =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/node_modules/semver/bin/semver +++ node-v8.11.2/deps/npm/node_modules/node-gyp/node_modules/semver/bin/semver @@ -1,4 +1,3 @@ -#!/usr/bin/env node // Standalone semver comparison program. // Exits successfully and prints matching version(s) if // any supplied version is valid and passes all tests. Index: node-v8.11.2/deps/npm/node_modules/nopt/bin/nopt.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/nopt/bin/nopt.js +++ node-v8.11.2/deps/npm/node_modules/nopt/bin/nopt.js @@ -1,4 +1,3 @@ -#!/usr/bin/env node var nopt = require("../lib/nopt") , path = require("path") , types = { num: Number Index: node-v8.11.2/deps/npm/node_modules/opener/opener.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/opener/opener.js +++ node-v8.11.2/deps/npm/node_modules/opener/opener.js @@ -1,5 +1,3 @@ -#!/usr/bin/env node - "use strict"; var childProcess = require("child_process"); Index: node-v8.11.2/deps/npm/node_modules/qrcode-terminal/bin/qrcode-terminal.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/qrcode-terminal/bin/qrcode-terminal.js +++ node-v8.11.2/deps/npm/node_modules/qrcode-terminal/bin/qrcode-terminal.js @@ -1,5 +1,3 @@ -#!/usr/bin/env node - /*! * Module dependencies. */ Index: node-v8.11.2/deps/npm/node_modules/request/node_modules/har-validator/node_modules/ajv/scripts/info =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/request/node_modules/har-validator/node_modules/ajv/scripts/info +++ node-v8.11.2/deps/npm/node_modules/request/node_modules/har-validator/node_modules/ajv/scripts/info @@ -1,5 +1,3 @@ -#!/usr/bin/env node - 'use strict'; var fs = require('fs'); Index: node-v8.11.2/deps/npm/node_modules/request/node_modules/har-validator/node_modules/ajv/scripts/prepare-tests =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/request/node_modules/har-validator/node_modules/ajv/scripts/prepare-tests +++ node-v8.11.2/deps/npm/node_modules/request/node_modules/har-validator/node_modules/ajv/scripts/prepare-tests @@ -1,5 +1,3 @@ -#!/usr/bin/env sh - set -e mkdir -p .browser Index: node-v8.11.2/deps/npm/node_modules/request/node_modules/har-validator/node_modules/ajv/scripts/travis-gh-pages =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/request/node_modules/har-validator/node_modules/ajv/scripts/travis-gh-pages +++ node-v8.11.2/deps/npm/node_modules/request/node_modules/har-validator/node_modules/ajv/scripts/travis-gh-pages @@ -1,5 +1,3 @@ -#!/usr/bin/env bash - set -e if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" && $TRAVIS_JOB_NUMBER =~ ".3" ]]; then Index: node-v8.11.2/deps/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv +++ node-v8.11.2/deps/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv @@ -1,4 +1,3 @@ -#!/usr/bin/env node // -*- mode: js -*- // vim: set filetype=javascript : // Copyright 2015 Joyent, Inc. All rights reserved. Index: node-v8.11.2/deps/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-sign =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-sign +++ node-v8.11.2/deps/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-sign @@ -1,4 +1,3 @@ -#!/usr/bin/env node // -*- mode: js -*- // vim: set filetype=javascript : // Copyright 2015 Joyent, Inc. All rights reserved. Index: node-v8.11.2/deps/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-verify =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-verify +++ node-v8.11.2/deps/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-verify @@ -1,4 +1,3 @@ -#!/usr/bin/env node // -*- mode: js -*- // vim: set filetype=javascript : // Copyright 2015 Joyent, Inc. All rights reserved. Index: node-v8.11.2/deps/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/etc/dashdash.bash_completion.in =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/etc/dashdash.bash_completion.in +++ node-v8.11.2/deps/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/etc/dashdash.bash_completion.in @@ -1,4 +1,3 @@ -#!/bin/bash # # Bash completion generated for '{{name}}' at {{date}}. # @@ -386,4 +385,4 @@ fi ## ## cp FILE > ~/.{{name}}.completion ## echo "source ~/.{{name}}.completion" >> ~/.bashrc -## \ No newline at end of file +## Index: node-v8.11.2/deps/npm/node_modules/rimraf/bin.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/rimraf/bin.js +++ node-v8.11.2/deps/npm/node_modules/rimraf/bin.js @@ -1,5 +1,3 @@ -#!/usr/bin/env node - var rimraf = require('./') var help = false Index: node-v8.11.2/deps/npm/node_modules/semver/bin/semver =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/semver/bin/semver +++ node-v8.11.2/deps/npm/node_modules/semver/bin/semver @@ -1,4 +1,3 @@ -#!/usr/bin/env node // Standalone semver comparison program. // Exits successfully and prints matching version(s) if // any supplied version is valid and passes all tests. Index: node-v8.11.2/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/index.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/index.js +++ node-v8.11.2/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/index.js @@ -1,4 +1,3 @@ -#! /usr/bin/env node var cc = require('./lib/utils') var join = require('path').join var deepExtend = require('deep-extend') Index: node-v8.11.2/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/index.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/index.js +++ node-v8.11.2/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/index.js @@ -1,4 +1,3 @@ -#! /usr/bin/env node var cc = require('./lib/utils') var join = require('path').join var deepExtend = require('deep-extend') Index: node-v8.11.2/deps/npm/node_modules/uuid/bin/uuid =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/uuid/bin/uuid +++ node-v8.11.2/deps/npm/node_modules/uuid/bin/uuid @@ -1,4 +1,3 @@ -#!/usr/bin/env node var assert = require('assert'); function usage() { Index: node-v8.11.2/deps/npm/node_modules/which/bin/which =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/which/bin/which +++ node-v8.11.2/deps/npm/node_modules/which/bin/which @@ -1,4 +1,3 @@ -#!/usr/bin/env node var which = require("../") if (process.argv.length < 3) usage() Index: node-v8.11.2/deps/npm/node_modules/worker-farm/node_modules/errno/build.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/worker-farm/node_modules/errno/build.js +++ node-v8.11.2/deps/npm/node_modules/worker-farm/node_modules/errno/build.js @@ -1,5 +1,3 @@ -#!/usr/bin/env node - var request = require('request') , fs = require('fs') @@ -40,4 +38,4 @@ request(uvheadloc, function (err, respon out += '\nmodule.exports.custom = require("./custom")(module.exports)\n' fs.writeFile('errno.js', out) -}) \ No newline at end of file +}) Index: node-v8.11.2/deps/npm/node_modules/worker-farm/node_modules/errno/cli.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/worker-farm/node_modules/errno/cli.js +++ node-v8.11.2/deps/npm/node_modules/worker-farm/node_modules/errno/cli.js @@ -1,5 +1,3 @@ -#!/usr/bin/env node - var errno = require('./') , arg = process.argv[2] , data, code @@ -17,4 +15,4 @@ if (data) else { console.error('No such errno/code: "' + arg + '"') process.exit(1) -} \ No newline at end of file +} Index: node-v8.11.2/deps/npm/node_modules/worker-farm/node_modules/errno/test.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/worker-farm/node_modules/errno/test.js +++ node-v8.11.2/deps/npm/node_modules/worker-farm/node_modules/errno/test.js @@ -1,5 +1,3 @@ -#!/usr/bin/env node - var test = require('tape') , errno = require('./') Index: node-v8.11.2/deps/npm/bin/node-gyp-bin/node-gyp =================================================================== --- node-v8.11.2.orig/deps/npm/bin/node-gyp-bin/node-gyp +++ node-v8.11.2/deps/npm/bin/node-gyp-bin/node-gyp @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/bin/sh if [ "x$npm_config_node_gyp" = "x" ]; then node "`dirname "$0"`/../../node_modules/node-gyp/bin/node-gyp.js" "$@" else Index: node-v8.11.2/deps/npm/node_modules/node-gyp/bin/node-gyp.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/bin/node-gyp.js +++ node-v8.11.2/deps/npm/node_modules/node-gyp/bin/node-gyp.js @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/node8 /** * Set the title. Index: node-v8.11.2/deps/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp +++ node-v8.11.2/deps/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/bin/sh if [ "x$npm_config_node_gyp" = "x" ]; then node "`dirname "$0"`/../../node_modules/node-gyp/bin/node-gyp.js" "$@" else Index: node-v8.11.2/deps/npm/node_modules/JSONStream/index.js =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/JSONStream/index.js +++ node-v8.11.2/deps/npm/node_modules/JSONStream/index.js @@ -1,5 +1,3 @@ -#! /usr/bin/env node - 'use strict' var Parser = require('jsonparse') Index: node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/buildbot/buildbot_run.py =================================================================== --- node-v8.11.2.orig/deps/npm/node_modules/node-gyp/gyp/buildbot/buildbot_run.py +++ node-v8.11.2/deps/npm/node_modules/node-gyp/gyp/buildbot/buildbot_run.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Index: node-v8.11.2/deps/npm/configure =================================================================== --- node-v8.11.2.orig/deps/npm/configure +++ node-v8.11.2/deps/npm/configure @@ -1,5 +1,3 @@ -#!/bin/bash - # set configurations that will be "sticky" on this system, # surviving npm self-updates. Index: node-v8.11.2/deps/npm/lib/utils/completion.sh =================================================================== --- node-v8.11.2.orig/deps/npm/lib/utils/completion.sh +++ node-v8.11.2/deps/npm/lib/utils/completion.sh @@ -1,4 +1,3 @@ -#!/bin/bash ###-begin-npm-completion-### # # npm command completion script ++++++ manual_configure.patch ++++++ Author: Adam Majer <[email protected]> Date: Wed May 23 14:13:33 CEST 2018 Summary: This config.h is defined by hand Gyp doesn't run autotools, so this config is not quite correct. Update to prevent implicit defines to be used. Index: node-v8.11.2/deps/nghttp2/lib/includes/config.h =================================================================== --- node-v8.11.2.orig/deps/nghttp2/lib/includes/config.h +++ node-v8.11.2/deps/nghttp2/lib/includes/config.h @@ -54,7 +54,7 @@ typedef intptr_t ssize_t; /* #undef NOTHREADS */ /* Define to 1 if you have the <arpa/inet.h> header file. */ -/* #undef HAVE_ARPA_INET_H */ +#define HAVE_ARPA_INET_H 1 /* Define to 1 if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 @@ -69,7 +69,7 @@ typedef intptr_t ssize_t; /* #undef HAVE_NETDB_H */ /* Define to 1 if you have the <netinet/in.h> header file. */ -/* #undef HAVE_NETINET_IN_H */ +#define HAVE_NETINET_IN_H 1 /* Define to 1 if you have the <pwd.h> header file. */ /* #undef HAVE_PWD_H */ Index: node-v8.11.2/deps/nghttp2/nghttp2.gyp =================================================================== --- node-v8.11.2.orig/deps/nghttp2/nghttp2.gyp +++ node-v8.11.2/deps/nghttp2/nghttp2.gyp @@ -12,6 +12,7 @@ 'defines': [ 'BUILDING_NGHTTP2', 'NGHTTP2_STATICLIB', + 'HAVE_CONFIG_H', ], 'conditions': [ ['OS=="win"', { ++++++ node-v8.11.2.tar.xz -> node-v8.11.3.tar.xz ++++++ /work/SRC/openSUSE:Factory/nodejs8/node-v8.11.2.tar.xz /work/SRC/openSUSE:Factory/.nodejs8.new/node-v8.11.3.tar.xz differ: char 27, line 1 ++++++ versioned.patch ++++++ --- /var/tmp/diff_new_pack.mkgaJg/_old 2018-06-22 13:12:48.496766824 +0200 +++ /var/tmp/diff_new_pack.mkgaJg/_new 2018-06-22 13:12:48.496766824 +0200 @@ -385,16 +385,6 @@ 'node_intermediate_lib_type%': 'static_library', 'library_files': [ 'lib/internal/bootstrap_node.js', -Index: node-v8.11.2/deps/npm/bin/npm-cli.js -=================================================================== ---- node-v8.11.2.orig/deps/npm/bin/npm-cli.js -+++ node-v8.11.2/deps/npm/bin/npm-cli.js -@@ -1,4 +1,4 @@ --#!/usr/bin/env node -+#!/usr/bin/env node8 - ;(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-v8.11.2/src/node_main.cc =================================================================== --- node-v8.11.2.orig/src/node_main.cc
