Hello community, here is the log from the commit of package nodejs10 for openSUSE:Factory checked in at 2019-11-04 17:02:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs10 (Old) and /work/SRC/openSUSE:Factory/.nodejs10.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs10" Mon Nov 4 17:02:34 2019 rev:16 rq:744747 version:10.17.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs10/nodejs10.changes 2019-09-02 12:42:55.873773415 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs10.new.2990/nodejs10.changes 2019-11-04 17:02:38.396019538 +0100 @@ -1,0 +2,34 @@ +Thu Oct 24 13:37:11 UTC 2019 - Adam Majer <[email protected]> + +- New upstream LTS version 10.17.0: + * crypto: + + add support for chacha20-poly1305 for AEAD + + increase maxmem range from 32 to 53 bits + * deps: + + update npm to 6.11.3 + + upgrade openssl sources to 1.1.1d + * dns: remove dns.promises experimental warning + * fs: remove experimental warning for fs.promises + * http: makes response.writeHead return the response + * http2: makes response.writeHead return the response + * n-api: + + make func argument of napi_create_threadsafe_function optional + + mark version 5 N-APIs as stable + + implement date object + * process: add --unhandled-rejections flag + * stream: + + implement Readable.from async iterator utility + + make Symbol.asyncIterator support stable + +- CVE-2019-13173.patch: dropped, no longer in upstream npm +- fix_build_with_openssl_1.1.1d.patch: upstreamed +- node-gyp-addon-gypi.patch, versioned.patch: refreshed + +------------------------------------------------------------------- +Wed Sep 18 13:44:55 UTC 2019 - Vítězslav Čížek <[email protected]> + +- Fix build with OpenSSL 1.1.1d (bsc#1149792) + * https://github.com/nodejs/node/pull/29550 + * add fix_build_with_openssl_1.1.1d.patch + +------------------------------------------------------------------- Old: ---- CVE-2019-13173.patch node-v10.16.3.tar.xz New: ---- node-v10.17.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs10.spec ++++++ --- /var/tmp/diff_new_pack.fjK5Z8/_old 2019-11-04 17:02:39.396020610 +0100 +++ /var/tmp/diff_new_pack.fjK5Z8/_new 2019-11-04 17:02:39.404020618 +0100 @@ -26,7 +26,7 @@ ########################################################### Name: nodejs10 -Version: 10.16.3 +Version: 10.17.0 Release: 0 %define node_version_number 10 @@ -42,6 +42,7 @@ %endif %bcond_with valgrind_tests +%bcond_without nodejs_lto %if 0%{?suse_version} == 1110 %define _libexecdir %{_exec_prefix}/lib @@ -123,8 +124,6 @@ Patch7: manual_configure.patch Patch11: valgrind_fixes.patch -Patch31: CVE-2019-13173.patch - ## Patches specific to SUSE and openSUSE # PATCH-FIX-OPENSUSE -- set correct path for dtrace if it is built Patch101: nodejs-libpath.patch @@ -148,6 +147,8 @@ BuildRequires: binutils-gold %endif +BuildRequires: pkg-config + # Node.js 4/6/7 requires GCC 4.8.5+. # # For Node.js 8.x, upstream requires GCC 4.9.4+, as GCC 4.8 may have @@ -181,7 +182,6 @@ %endif BuildRequires: fdupes -BuildRequires: pkg-config BuildRequires: procps BuildRequires: xz BuildRequires: zlib-devel @@ -278,7 +278,7 @@ Provides: nodejs-npm = %{version} Obsoletes: nodejs-npm < 4.0.0 Provides: npm = %{version} -Provides: npm(npm) = 6.9.0 +Provides: npm(npm) = 6.11.3 %if 0%{?suse_version} >= 1500 %if %{node_version_number} >= 10 Requires: group(nobody) @@ -323,7 +323,6 @@ %if 0%{with valgrind_tests} %patch11 -p1 %endif -%patch31 -p1 %patch101 -p1 %patch102 -p1 # Add check_output to configure script (not part of Python 2.6 in SLE11). @@ -335,8 +334,11 @@ %patch120 -p1 %patch200 -p1 +# remove backup files, if any +find -name \*~ -print0 -delete + # abnormalities from patching -find -name configure.js.orig -delete +find \( -name \*.js.orig -or -name \*.md.orig \) -delete %build # normalize shebang @@ -362,10 +364,6 @@ find deps/zlib -name *.[ch] -delete -# Annoying, over-repetitive patch updated just because lines in -# documentation changes every version. -find -name *.md.orig -delete - # percent-configure pulls in something that confuses node's configure # script, so we'll do it thus: export CFLAGS="%{optflags}" @@ -381,7 +379,7 @@ ./configure \ --prefix=%{_prefix} \ -%if %{node_version_number} >= 12 +%if 0%{?with nodejs_lto} && %{node_version_number} >= 12 --enable-lto \ %endif %if ! 0%{with intree_openssl} ++++++ SHASUMS256.txt ++++++ --- /var/tmp/diff_new_pack.fjK5Z8/_old 2019-11-04 17:02:39.480020700 +0100 +++ /var/tmp/diff_new_pack.fjK5Z8/_new 2019-11-04 17:02:39.480020700 +0100 @@ -1,36 +1,36 @@ -1e246436e177d69354b5e3ea47579a03b68d7b61a2565972c18c3a4cb5d8ee33 node-v10.16.3-aix-ppc64.tar.gz -6febc571e1543c2845fa919c6d06b36a24e4e142c91aedbe28b6ff7d296119e4 node-v10.16.3-darwin-x64.tar.gz -1d5ce05abf39ef482c2c3eaf16c1f4edb01314308066871d3dfc99e95701b19b node-v10.16.3-darwin-x64.tar.xz -0901d1f1bfe0f5d922f9d79c5822a3624c11eb0f2de9fd552425bc98c7b95e54 node-v10.16.3-headers.tar.gz -6ceb3249ac26a098c943de8104c19d7ea5a540b02db8652b80ab54deed1e5848 node-v10.16.3-headers.tar.xz -3bab16e7107092e43426e082ee9fd88ef0a43a35816f662f14563bcc5152600d node-v10.16.3-linux-arm64.tar.gz -8ee77bad022bd460bf2867a97bf56ce7ddc4aa2ace067e45995fb1721a958428 node-v10.16.3-linux-arm64.tar.xz -c4ce8f8627c4d0d71647987924e5369cd1adeef2865bf1bdbb4387b75fba804b node-v10.16.3-linux-armv6l.tar.gz -17b6ea87cde13c330a72c44be8a30ebebf83c7c71d1a1b92e1d629f273fa0743 node-v10.16.3-linux-armv6l.tar.xz -f267710728ca56ca3b522076fff808540ea27d6aa5fd586bc0ad39c389530c3b node-v10.16.3-linux-armv7l.tar.gz -4a6f27308cd0cea136be6f5f7c194b0faabea016efe844fb1452c846d2eca7b1 node-v10.16.3-linux-armv7l.tar.xz -3e0f41b3cb991f062e1c93a297675af34d1a2f29052306cd585f1f5e25ea9159 node-v10.16.3-linux-ppc64le.tar.gz -b51731b49f6816f5e3e670c399611eb9386f558cc2d597301fb73e585640a642 node-v10.16.3-linux-ppc64le.tar.xz -ae87fa499fd5fd9d86d4f788cb4e54bd3eb4fdb735b20235537e9d38ae5da73b node-v10.16.3-linux-s390x.tar.gz -90cc57506c98cd5561f5dda9e103fa70083242fff2b1a39a5351fc15ff63db46 node-v10.16.3-linux-s390x.tar.xz -2f0397bb81c1d0c9901b9aff82a933257bf60f3992227b86107111a75b9030d9 node-v10.16.3-linux-x64.tar.gz -d2271fd8cf997fa7447d638dfa92749ff18ca4b0d796bf89f2a82bf7800d5506 node-v10.16.3-linux-x64.tar.xz -1c820559780c7a5b90ceebd819afce58f3c14805191141fbd59feb8485c2fc73 node-v10.16.3.pkg -d8f2418b748c4c9b1d8c1dc008b42384ca87c4c4c134df3a3009e6b7546f8b23 node-v10.16.3-sunos-x64.tar.gz -2952da9d127c3f72fe5b3e466fbfe8a45ab3ef63263d881da7e9b586559f3693 node-v10.16.3-sunos-x64.tar.xz -db5a5e03a815b84a1266a4b48bb6a6d887175705f84fd2472f0d28e5e305a1f8 node-v10.16.3.tar.gz -7bf1123d7415964775b8f81fe6ec6dd5c3c08abb42bb71dfe4409dbeeba26bbd node-v10.16.3.tar.xz -c2cc3b95d6e8504b20623cfe74f848d1ebc2f43a262e7bae14bee64db2b13889 node-v10.16.3-win-x64.7z -19aa47de7c5950d7bd71a1e878013b98d93871cc311d7185f5472e6d3f633146 node-v10.16.3-win-x64.zip -fc1ccb1e6f12fe68e816c552e6b1df289a8bfe064c025eb62c360bd041da4a5f node-v10.16.3-win-x86.7z -02a30a17c25c354747ac76fd130ff5495dde2f60f0a21ad675526951c2d7a52a node-v10.16.3-win-x86.zip -f68b75eea46232adb8fd38126c977dc244166d29e7c6cd2df930b460c38590a9 node-v10.16.3-x64.msi -b3cf18ad447d177cf858dbe45751100846cad96ba7497cd7c1850a616758e67f node-v10.16.3-x86.msi -cb8f5c1981e11a3d438b6867df5fb8e4f77cd29ddc0856d99b62060ef991c649 win-x64/node.exe -9f10cd25d27fc31f8fe8f5fcc5e9f27a8ba5bb79dc0791dc0df102f063c0066e win-x64/node.lib -654d350ee101cbb4a0246e5226169f99af763a4d4c14546370ec6dfb09cf5a47 win-x64/node_pdb.7z -426f326d88b5a184cc74ba50f5106eca933cb3386f872ffeb5844f3916296c09 win-x64/node_pdb.zip -78b71fd2fb792c5f24848a05119d50d02407675a54a72caf0e40b039a43fefdd win-x86/node.exe -459095d9bd9dc4e2d12c4284e6fc5bdc78eec8181c8327c57876499b002a59fd win-x86/node.lib -1d0bb57a74e836835a1f9b8c1e0bf2493d4bd095c81a8e12d05cbfbf8c363534 win-x86/node_pdb.7z -e2b5ea28cbe965e074e61035b559efda9312044ac5d0346243c041bbb62cea73 win-x86/node_pdb.zip +0e6237b642ce93704395a61468990fb1156df33c0b60a83bfebb42aaeee272f5 node-v10.17.0-aix-ppc64.tar.gz +9b96140ad74b217f216c83ddf50d1f70a4296576f6edbbbfb65d0f478015d9df node-v10.17.0-darwin-x64.tar.gz +540a8f636eabe470be454f63791165c8118bd7b5534fba0dd588d97c3ef0a0f2 node-v10.17.0-darwin-x64.tar.xz +d273faf81cdc0c5cc9457a095bc366f755427c9ffa67a438aa7169344d8adfbc node-v10.17.0-headers.tar.gz +40f79432091ae09f4657ef10bb0c0de99efcec4dd48245970ff1afd63b39dfba node-v10.17.0-headers.tar.xz +fca7862a435c48d634fd74464057edef0e6ed854678c4b1fee3f21f126f2d7c7 node-v10.17.0-linux-arm64.tar.gz +3ab8ee2b5c9aa4d060c68667ddef70cc2960e12bcfe4a0f2de7ebc0f008bf13d node-v10.17.0-linux-arm64.tar.xz +bc47d0ec1b70525558508962453456fda2b0c21013e2a6996479efbb8b96c518 node-v10.17.0-linux-armv6l.tar.gz +4f8dd4d85ed0de8cce0d16f4444e48ec456caf89c242cc75d6e3d35ec15da479 node-v10.17.0-linux-armv6l.tar.xz +6e7316b9a3e48c9cadfaa09adb89ee31ca00d803cdf7dd63687f4a6bf87070d4 node-v10.17.0-linux-armv7l.tar.gz +6315d336e1ae3ab268ca8f83b654ce48cc5d3cf8ff4f2960268890b1e87c6bfc node-v10.17.0-linux-armv7l.tar.xz +02d9af2a539c597980b55c0d04e949405213f1f1f4ecf62799c6bdde3d636a01 node-v10.17.0-linux-ppc64le.tar.gz +507d13d310d7d7c1e286cce24226dda0b48b33384233f148a17049b8663a7fe9 node-v10.17.0-linux-ppc64le.tar.xz +f98ff6a7949dc67f1fe5880a2407b57f246b3ac3c3a3c76a4c8a2f065e6d314f node-v10.17.0-linux-s390x.tar.gz +76db3a9b7d2afda32b4267004e4c8f2530e6e95572e68a31ce639e263db9bdc4 node-v10.17.0-linux-s390x.tar.xz +417bdc5402f6510fe1a5a898a9cdf1d67bd0202b5f014051c382f05358999534 node-v10.17.0-linux-x64.tar.gz +2b49cd296f969ef0ffb7922719ffa6542bedb89d6c959a47c023d11ce222f5d6 node-v10.17.0-linux-x64.tar.xz +493f4110d9427c4e036719138edffff0e15f0377bf006ca21bac3768211f5e76 node-v10.17.0.pkg +653a2cdd950f839b832157f66d3e47a7630c2a95ed56709cc1933fc62d256bac node-v10.17.0-sunos-x64.tar.gz +c6b410555a8a3a21b7c05c6e15b26bf8515591c915e19a4723e4c87bcf1de9bc node-v10.17.0-sunos-x64.tar.xz +5204249d135176b547737d3eed2ca8a9d7f731fef6e545f741129cfa21f90573 node-v10.17.0.tar.gz +412667d76bd5273c07cb69c215998109fd5bb35c874654f93e6a0132d666c58e node-v10.17.0.tar.xz +0889501b8933702c014bf44726820d79ee34e2c7deb7b4174248f6a6b24c07ee node-v10.17.0-win-x64.7z +e84a1f3685219811bb4662eb3e3b55abd0c764c24cd2b224ba31b3f9f162baf6 node-v10.17.0-win-x64.zip +d77b3bf851b843c4acebada9af72bbe3c805b2873a8b01c905401f9a8db2c477 node-v10.17.0-win-x86.7z +1956af513eba539614f5428f4fccdbb438fb33593f789bc20033b6a88c005cf1 node-v10.17.0-win-x86.zip +259a6a29b6f39685e0752e5f5153ebc6f4146aefd27ff18e8c1605d0826597fe node-v10.17.0-x64.msi +2281ceace216bbce7fa0a5ece8eb8650b961bbf03019400b3df5481ba3cd20b1 node-v10.17.0-x86.msi +07e22859fe23b8c4a8956dfed31e7a10d27894cee955a2a1589523907079f42f win-x64/node.exe +18da4bd0b611038dac2fb4b6f18e7b35fa2e30857017fc36e5053e7daa8304d5 win-x64/node.lib +4a45b33504942385585976caa3eb57c399186078107285f0fa9e8b3a3cee10e9 win-x64/node_pdb.7z +64570ca71e0dc844b80c234e4eaa6cda0bba4fffd92bb02e7447c023c41b7c7e win-x64/node_pdb.zip +035e0231a7b037b20803d0cf077d631518478fe76dbcf4d5e9ca6a33e5fe27d9 win-x86/node.exe +fea7d0c5a94fc834a78b44b7da206f0e60ef11dd20d84dc0d49d57ee77e20e16 win-x86/node.lib +62248995e9163c10691f421e573ba1d08aba52abaa9db13236d4b5c294b7f16a win-x86/node_pdb.7z +99a755f35449f56e5dc435dccb438128d0173a16633cd53373d0d15dc232bdbc win-x86/node_pdb.zip ++++++ SHASUMS256.txt.sig ++++++ Binary files /var/tmp/diff_new_pack.fjK5Z8/_old and /var/tmp/diff_new_pack.fjK5Z8/_new differ ++++++ fix_ci_tests.patch ++++++ --- /var/tmp/diff_new_pack.fjK5Z8/_old 2019-11-04 17:02:39.548020773 +0100 +++ /var/tmp/diff_new_pack.fjK5Z8/_new 2019-11-04 17:02:39.552020777 +0100 @@ -2,10 +2,10 @@ Date: Dec 20 09:18:49 UTC 2017 Summary: Fix CI unit tests framework for OBS building -Index: node-v10.16.0/test/parallel/test-module-loading-globalpaths.js +Index: node-v10.17.0/test/parallel/test-module-loading-globalpaths.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-module-loading-globalpaths.js -+++ node-v10.16.0/test/parallel/test-module-loading-globalpaths.js +--- node-v10.17.0.orig/test/parallel/test-module-loading-globalpaths.js ++++ node-v10.17.0/test/parallel/test-module-loading-globalpaths.js @@ -11,6 +11,9 @@ const { addLibraryPath } = require('../c addLibraryPath(process.env); @@ -16,10 +16,10 @@ if (process.argv[2] === 'child') { console.log(require(pkgName).string); } else { -Index: node-v10.16.0/Makefile +Index: node-v10.17.0/Makefile =================================================================== ---- node-v10.16.0.orig/Makefile -+++ node-v10.16.0/Makefile +--- node-v10.17.0.orig/Makefile ++++ node-v10.17.0/Makefile @@ -455,7 +455,7 @@ test-ci-js: | clear-stalled .PHONY: test-ci # Related CI jobs: most CI tests, excluding node-test-commit-arm-fanned @@ -39,10 +39,10 @@ echo "Skipping tools/doc/node_modules (no crypto)"; \ else \ cd tools/doc && $(call available-node,$(run-npm-ci)) \ -Index: node-v10.16.0/test/parallel/test-tls-env-bad-extra-ca.js +Index: node-v10.17.0/test/parallel/test-tls-env-bad-extra-ca.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-tls-env-bad-extra-ca.js -+++ node-v10.16.0/test/parallel/test-tls-env-bad-extra-ca.js +--- node-v10.17.0.orig/test/parallel/test-tls-env-bad-extra-ca.js ++++ node-v10.17.0/test/parallel/test-tls-env-bad-extra-ca.js @@ -36,7 +36,7 @@ fork(__filename, opts) // TODO(addaleax): Make `SafeGetenv` work like `process.env` // encoding-wise @@ -52,10 +52,10 @@ assert(re.test(stderr), stderr); } })) -Index: node-v10.16.0/test/parallel/test-tls-passphrase.js +Index: node-v10.17.0/test/parallel/test-tls-passphrase.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-tls-passphrase.js -+++ node-v10.16.0/test/parallel/test-tls-passphrase.js +--- node-v10.17.0.orig/test/parallel/test-tls-passphrase.js ++++ node-v10.17.0/test/parallel/test-tls-passphrase.js @@ -221,7 +221,7 @@ server.listen(0, common.mustCall(functio }, common.mustCall()); })).unref(); @@ -65,23 +65,23 @@ // Missing passphrase assert.throws(function() { -Index: node-v10.16.0/test/parallel/test-crypto-scrypt.js +Index: node-v10.17.0/test/parallel/test-crypto-scrypt.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-crypto-scrypt.js -+++ node-v10.16.0/test/parallel/test-crypto-scrypt.js +--- node-v10.17.0.orig/test/parallel/test-crypto-scrypt.js ++++ node-v10.17.0/test/parallel/test-crypto-scrypt.js @@ -167,7 +167,7 @@ for (const options of bad) { for (const options of toobig) { const expected = { - message: /error:[^:]+:digital envelope routines:EVP_PBE_scrypt:memory limit exceeded/, -+ message: /(error:[^:]+:digital envelope routines:EVP_PBE_scrypt:memory limit exceeded|Invalid scrypt parameter)/, ++ message: /(error:[^:]+:digital envelope routines:(EVP_PBE_scrypt|scrypt_alg):memory limit exceeded|Invalid scrypt parameter)/, type: Error, }; common.expectsError(() => crypto.scrypt('pass', 'salt', 1, options, () => {}), -Index: node-v10.16.0/test/parallel/test-repl-envvars.js +Index: node-v10.17.0/test/parallel/test-repl-envvars.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-repl-envvars.js -+++ node-v10.16.0/test/parallel/test-repl-envvars.js +--- node-v10.17.0.orig/test/parallel/test-repl-envvars.js ++++ node-v10.17.0/test/parallel/test-repl-envvars.js @@ -2,12 +2,14 @@ // Flags: --expose-internals @@ -98,10 +98,10 @@ const tests = [ { env: {}, -Index: node-v10.16.0/test/parallel/test-fs-utimes.js +Index: node-v10.17.0/test/parallel/test-fs-utimes.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-fs-utimes.js -+++ node-v10.16.0/test/parallel/test-fs-utimes.js +--- node-v10.17.0.orig/test/parallel/test-fs-utimes.js ++++ node-v10.17.0/test/parallel/test-fs-utimes.js @@ -144,8 +144,8 @@ function runTests(iter) { const path = `${tmpdir.path}/test-utimes-precision`; fs.writeFileSync(path, ''); @@ -113,10 +113,10 @@ const Y2K38_mtime = 2 ** 31; fs.utimesSync(path, Y2K38_mtime, Y2K38_mtime); const Y2K38_stats = fs.statSync(path); -Index: node-v10.16.0/test/common/index.js +Index: node-v10.17.0/test/common/index.js =================================================================== ---- node-v10.16.0.orig/test/common/index.js -+++ node-v10.16.0/test/common/index.js +--- node-v10.17.0.orig/test/common/index.js ++++ node-v10.17.0/test/common/index.js @@ -226,6 +226,8 @@ const pwdCommand = isWindows ? @@ -126,10 +126,10 @@ if (process.features.debug) ms = 2 * ms; -Index: node-v10.16.0/test/common/index.mjs +Index: node-v10.17.0/test/common/index.mjs =================================================================== ---- node-v10.16.0.orig/test/common/index.mjs -+++ node-v10.16.0/test/common/index.mjs +--- node-v10.17.0.orig/test/common/index.mjs ++++ node-v10.17.0/test/common/index.mjs @@ -42,6 +42,7 @@ const { expectsError, skipIfInspectorDisabled, @@ -146,10 +146,10 @@ getArrayBufferViews, getBufferSources, disableCrashOnUnhandledRejection, -Index: node-v10.16.0/test/parallel/test-crypto-keygen.js +Index: node-v10.17.0/test/parallel/test-crypto-keygen.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-crypto-keygen.js -+++ node-v10.16.0/test/parallel/test-crypto-keygen.js +--- node-v10.17.0.orig/test/parallel/test-crypto-keygen.js ++++ node-v10.17.0/test/parallel/test-crypto-keygen.js @@ -171,7 +171,7 @@ function convertDERToPEM(label, der) { // Since the private key is encrypted, signing shouldn't work anymore. assert.throws(() => { @@ -186,10 +186,10 @@ testSignVerify(publicKey, { key: privateKey, -Index: node-v10.16.0/test/parallel/test-dns.js +Index: node-v10.17.0/test/parallel/test-dns.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-dns.js -+++ node-v10.16.0/test/parallel/test-dns.js +--- node-v10.17.0.orig/test/parallel/test-dns.js ++++ node-v10.17.0/test/parallel/test-dns.js @@ -315,12 +315,3 @@ common.expectsError(() => { type: TypeError }); ++++++ node-gyp-addon-gypi.patch ++++++ --- /var/tmp/diff_new_pack.fjK5Z8/_old 2019-11-04 17:02:39.580020807 +0100 +++ /var/tmp/diff_new_pack.fjK5Z8/_new 2019-11-04 17:02:39.580020807 +0100 @@ -1,14 +1,14 @@ -Index: node-v9.1.0/addon-rpm.gypi +Index: node-v12.8.0/addon-rpm.gypi =================================================================== --- /dev/null -+++ node-v9.1.0/addon-rpm.gypi ++++ node-v12.8.0/addon-rpm.gypi @@ -0,0 +1,35 @@ +{ + 'target_defaults': { + 'type': 'loadable_module', + 'product_prefix': '', + 'include_dirs': [ -+ '/usr/include/node10/', ++ '/usr/include/node12/', + '/usr/include/' + ], + @@ -38,11 +38,11 @@ + ] + } +} -Index: node-v9.1.0/deps/npm/node_modules/node-gyp/lib/configure.js +Index: node-v12.8.0/deps/npm/node_modules/node-gyp/lib/configure.js =================================================================== ---- node-v9.1.0.orig/deps/npm/node_modules/node-gyp/lib/configure.js -+++ node-v9.1.0/deps/npm/node_modules/node-gyp/lib/configure.js -@@ -62,10 +62,6 @@ function configure (gyp, argv, callback) +--- node-v12.8.0.orig/deps/npm/node_modules/node-gyp/lib/configure.js ++++ node-v12.8.0/deps/npm/node_modules/node-gyp/lib/configure.js +@@ -46,10 +46,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,26 +53,26 @@ if (!release.semver) { // could not parse the version string with semver -@@ -80,6 +76,12 @@ function configure (gyp, argv, callback) +@@ -68,6 +64,12 @@ function configure (gyp, argv, callback) nodeDir = path.resolve(gyp.devDir, release.versionDir) createBuildDir() }) + } 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/include/node10' ++ nodeDir = '/usr/include/node12' + createBuildDir() + } } } -@@ -271,7 +273,8 @@ function configure (gyp, argv, callback) +@@ -282,7 +284,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') -- var addon_gypi = path.resolve(__dirname, '..', 'addon.gypi') + var gypScript = path.resolve(__dirname, '..', 'gyp', 'gyp_main.py') +- var addonGypi = path.resolve(__dirname, '..', 'addon.gypi') + var addon_gypi_file = gyp.opts.target || gyp.opts.nodedir ? 'addon.gypi' : 'addon-rpm.gypi' -+ var addon_gypi = path.resolve(__dirname, '..', addon_gypi_file) - var common_gypi = path.resolve(nodeDir, 'include/node/common.gypi') - fs.stat(common_gypi, function (err, stat) { - if (err) ++ var addonGypi = path.resolve(__dirname, '..', addon_gypi_file) + var commonGypi = path.resolve(nodeDir, 'include/node/common.gypi') + fs.stat(commonGypi, function (err) { + if (err) { ++++++ node-v10.16.3.tar.xz -> node-v10.17.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/nodejs10/node-v10.16.3.tar.xz /work/SRC/openSUSE:Factory/.nodejs10.new.2990/node-v10.17.0.tar.xz differ: char 27, line 1 ++++++ versioned.patch ++++++ --- /var/tmp/diff_new_pack.fjK5Z8/_old 2019-11-04 17:02:39.668020901 +0100 +++ /var/tmp/diff_new_pack.fjK5Z8/_new 2019-11-04 17:02:39.672020906 +0100 @@ -8,10 +8,10 @@ This is also important for generation of binary modules for multiple versions of NodeJS -Index: node-v10.16.0/Makefile +Index: node-v10.17.0/Makefile =================================================================== ---- node-v10.16.0.orig/Makefile -+++ node-v10.16.0/Makefile +--- node-v10.17.0.orig/Makefile ++++ node-v10.17.0/Makefile @@ -43,7 +43,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT EXEEXT := $(shell $(PYTHON) -c \ "import sys; print('.exe' if sys.platform == 'win32' else '')") @@ -21,10 +21,10 @@ NODE ?= ./$(NODE_EXE) NODE_G_EXE = node_g$(EXEEXT) NPM ?= ./deps/npm/bin/npm-cli.js -Index: node-v10.16.0/tools/install.py +Index: node-v10.17.0/tools/install.py =================================================================== ---- node-v10.16.0.orig/tools/install.py -+++ node-v10.16.0/tools/install.py +--- node-v10.17.0.orig/tools/install.py ++++ node-v10.17.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) @@ -125,10 +125,10 @@ def run(args): global node_prefix, install_path, target_defaults, variables -Index: node-v10.16.0/doc/node.1 +Index: node-v10.17.0/doc/node.1 =================================================================== ---- node-v10.16.0.orig/doc/node.1 -+++ node-v10.16.0/doc/node.1 +--- node-v10.17.0.orig/doc/node.1 ++++ node-v10.17.0/doc/node.1 @@ -30,24 +30,24 @@ .Dt NODE 1 . @@ -158,10 +158,10 @@ .Op Fl -v8-options . .\"====================================================================== -Index: node-v10.16.0/src/node.stp +Index: node-v10.17.0/src/node.stp =================================================================== ---- node-v10.16.0.orig/src/node.stp -+++ node-v10.16.0/src/node.stp +--- node-v10.17.0.orig/src/node.stp ++++ node-v10.17.0/src/node.stp @@ -19,7 +19,7 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -234,12 +234,12 @@ { scavenge = 1 << 0; compact = 1 << 1; -Index: node-v10.16.0/deps/npm/man/man1/npm.1 +Index: node-v10.17.0/deps/npm/man/man1/npm.1 =================================================================== ---- node-v10.16.0.orig/deps/npm/man/man1/npm.1 -+++ node-v10.16.0/deps/npm/man/man1/npm.1 +--- node-v10.17.0.orig/deps/npm/man/man1/npm.1 ++++ node-v10.17.0/deps/npm/man/man1/npm.1 @@ -1,11 +1,11 @@ - .TH "NPM" "1" "April 2019" "" "" + .TH "NPM" "1" "September 2019" "" "" .SH "NAME" -\fBnpm\fR \- javascript package manager +\fBnpm10\fR \- javascript package manager @@ -347,10 +347,10 @@ .RE -Index: node-v10.16.0/node.gyp +Index: node-v10.17.0/node.gyp =================================================================== ---- node-v10.16.0.orig/node.gyp -+++ node-v10.16.0/node.gyp +--- node-v10.17.0.orig/node.gyp ++++ node-v10.17.0/node.gyp @@ -22,8 +22,8 @@ 'node_shared_openssl%': 'false', 'node_v8_options%': '', @@ -362,10 +362,10 @@ 'node_intermediate_lib_type%': 'static_library', 'library_files': [ 'lib/internal/per_context.js', -Index: node-v10.16.0/src/node_main.cc +Index: node-v10.17.0/src/node_main.cc =================================================================== ---- node-v10.16.0.orig/src/node_main.cc -+++ node-v10.16.0/src/node_main.cc +--- node-v10.17.0.orig/src/node_main.cc ++++ node-v10.17.0/src/node_main.cc @@ -119,6 +119,7 @@ int main(int argc, char* argv[]) { #endif // Disable stdio buffering, it interacts poorly with printf() @@ -374,10 +374,10 @@ setvbuf(stdout, nullptr, _IONBF, 0); setvbuf(stderr, nullptr, _IONBF, 0); return node::Start(argc, argv); -Index: node-v10.16.0/deps/npm/man/man1/npx.1 +Index: node-v10.17.0/deps/npm/man/man1/npx.1 =================================================================== ---- node-v10.16.0.orig/deps/npm/man/man1/npx.1 -+++ node-v10.16.0/deps/npm/man/man1/npx.1 +--- node-v10.17.0.orig/deps/npm/man/man1/npx.1 ++++ node-v10.17.0/deps/npm/man/man1/npx.1 @@ -1,32 +1,32 @@ .TH "NPX" "1" "April 2018" "[email protected]" "User Commands" .SH "NAME" @@ -461,11 +461,11 @@ +\fBnpm10\-config(7)\fP .RE -Index: node-v10.16.0/tools/test.py +Index: node-v10.17.0/tools/test.py =================================================================== ---- node-v10.16.0.orig/tools/test.py -+++ node-v10.16.0/tools/test.py -@@ -943,7 +943,7 @@ class Context(object): +--- node-v10.17.0.orig/tools/test.py ++++ node-v10.17.0/tools/test.py +@@ -893,7 +893,7 @@ class Context(object): if self.vm is not None: return self.vm if arch == 'none':
