Hello community, here is the log from the commit of package nodejs12 for openSUSE:Factory checked in at 2019-08-29 17:16:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs12 (Old) and /work/SRC/openSUSE:Factory/.nodejs12.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs12" Thu Aug 29 17:16:54 2019 rev:2 rq:726171 version:12.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs12/nodejs12.changes 2019-06-27 15:24:56.745337282 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs12.new.7948/nodejs12.changes 2019-08-29 17:17:03.291372066 +0200 @@ -1,0 +2,78 @@ +Fri Aug 16 14:33:44 UTC 2019 - Adam Majer <[email protected]> + +- Update to 12.8.1: + Security update regarding HTTP/2 Denial of Service vulnerabilities + For details see, + https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md#12.8.1 + https://github.com/Netflix/security-bulletins/blob/master/advisories/third-party/2019-002.md + (CVE-2019-9511, CVE-2019-9512, CVE-2019-9513, CVE-2019-9514, + bsc#1146091, bsc#1146099, bsc#1146094, bsc#1146095, + CVE-2019-9515, CVE-2019-9516, CVE-2019-9517, CVE-2019-9518, + bsc#1146100, bsc#1146090, bsc#1146097, bsc#1146093) + +------------------------------------------------------------------- +Fri Aug 16 11:36:48 UTC 2019 - Adam Majer <[email protected]> + +- Minimum ICU version is 64. Use in-tree ICU copy for older + distributions + +------------------------------------------------------------------- +Mon Aug 12 08:12:27 UTC 2019 - Adam Majer <[email protected]> + +- dont_return_garbage.patch: dropped and turn off unnecessary + errors about it during compilation + +------------------------------------------------------------------- +Fri Aug 9 14:40:09 UTC 2019 - Adam Majer <[email protected]> + +- Update to 12.8.0: + * crypto: + + The outputLength option is added to crypto.createHash + + The maxmem range is increased from 32 to 53 bits + * n-api: Added APIs for per-instance state management + * report: Network interfaces get included in the report + * src: v8.getHeapCodeStatistics() is now exported + +------------------------------------------------------------------- +Wed Jul 24 10:44:10 UTC 2019 - Adam Majer <[email protected]> + +- Update to 12.7.0: + * deps: + + Updated nghttp2 to 1.39.1 + + Updated npm to 6.10.0 (bsc#1140290, CVE-2019-13173) + * esm: Implemented experimental "pkg-exports" proposal. + * http: + + Added response.writableFinished + + Exposed headers, rawHeaders and other fields on an + http.ClientRequest "information" event + * inspector: Added inspector.waitForDebugger() + * policy: Added --policy-integrity=sri CLI option to mitigate + policy tampering + * readline,tty: Exposed stream API + * src: Use cgroups to get memory limits. + +- Changes in version 12.6.0: + * child_process: The promisified versions of child_process.exec + and child_process.execFile now both return a Promise which + has the child instance attached to their child property + * deps: Updated libuv to 1.30.1 + * process: A new method, process.resourceUsage() was added + * stream: Added a writableFinished property to writable streams. + * worker: Fixed an issue that prevented worker threads to listen + for data on stdin + +- Changes in version 12.5.0: + * build: Improve startup time by enabling V8 snapshots by default + * deps: Updated V8 to 7.5.288.22 + * inspector: The --inspect-publish-uid flag was added to specify + ways of the inspector web socket url exposure + * n-api: Accessors on napi_define_* are now ECMAScript-compliant + * report: The cpu info got added to the report output + * src: Restore the original state of the stdio file descriptors + on exit to prevent leaving stdio in raw or non-blocking mode + * worker: worker.terminate() now returns a promise + +- refreshed patches: dont_return_garbage.patch, fix_ci_tests.patch, + nodejs-libpath.patch, versioned.patch + +------------------------------------------------------------------- Old: ---- dont_return_garbage.patch node-v12.4.0.tar.xz New: ---- node-v12.8.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs12.spec ++++++ --- /var/tmp/diff_new_pack.JNwSUh/_old 2019-08-29 17:17:04.683371835 +0200 +++ /var/tmp/diff_new_pack.JNwSUh/_new 2019-08-29 17:17:04.683371835 +0200 @@ -1,7 +1,7 @@ # # spec file for package nodejs12 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + ########################################################### # # WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! @@ -25,7 +26,7 @@ ########################################################### Name: nodejs12 -Version: 12.4.0 +Version: 12.8.1 Release: 0 %define node_version_number 12 @@ -58,7 +59,7 @@ %bcond_without intree_cares %endif -%if 0%{?suse_version} >= 1330 +%if 0%{?suse_version} >= 1550 %bcond_with intree_icu %else %bcond_without intree_icu @@ -120,8 +121,6 @@ ## Patches not distribution specific Patch3: fix_ci_tests.patch Patch7: manual_configure.patch -Patch9: dont_return_garbage.patch - ## Patches specific to SUSE and openSUSE # PATCH-FIX-OPENSUSE -- set correct path for dtrace if it is built @@ -189,14 +188,14 @@ %endif %if 0%{?suse_version} >= 1500 && %{node_version_number} >= 10 -BuildRequires: user(nobody) BuildRequires: group(nobody) +BuildRequires: user(nobody) %endif %if ! 0%{with intree_openssl} %if %node_version_number >= 8 -BuildRequires: openssl-devel >= %{openssl_req_ver} +BuildRequires: pkgconfig(openssl) >= %{openssl_req_ver} %else # older node doesn't support OpenSSL 1.1 %if 0%{?suse_version} >= 1330 @@ -213,11 +212,11 @@ %endif %if ! 0%{with intree_icu} -BuildRequires: pkgconfig(icu-i18n) >= 57 +BuildRequires: pkgconfig(icu-i18n) >= 64 %endif %if ! 0%{with intree_nghttp2} -BuildRequires: libnghttp2-devel >= 1.34.0 +BuildRequires: libnghttp2-devel >= 1.39.2 %endif %if 0%{with valgrind_tests} @@ -251,7 +250,7 @@ %endif # Building Node.js only makes sense on V8 architectures. -ExclusiveArch: %{ix86} x86_64 armv7hl aarch64 ppc ppc64 ppc64le s390 s390x +ExclusiveArch: %{ix86} x86_64 armv7hl aarch64 ppc64 ppc64le s390x BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -274,12 +273,12 @@ Requires: %{name}-devel = %{version} Provides: nodejs-npm = %{version} Obsoletes: nodejs-npm < 4.0.0 -Provides: npm(npm) = 6.5.0 Provides: npm = %{version} +Provides: npm(npm) = 6.10.2 %if 0%{?suse_version} >= 1500 %if %{node_version_number} >= 10 -Requires: user(nobody) Requires: group(nobody) +Requires: user(nobody) %endif Recommends: python2 %else @@ -317,7 +316,6 @@ %if ! 0%{with intree_openssl} %endif %patch7 -p1 -%patch9 -p1 %if 0%{with valgrind_tests} %endif %patch101 -p1 @@ -364,7 +362,7 @@ # percent-configure pulls in something that confuses node's configure # script, so we'll do it thus: export CFLAGS="%{optflags}" -export CXXFLAGS="%{optflags} -Wno-class-memaccess" +export CXXFLAGS="%{optflags} -Wno-class-memaccess -Wno-error=return-type" %if 0%{?cc_exec:1} export CC=%{?cc_exec} ++++++ SHASUMS256.txt ++++++ --- /var/tmp/diff_new_pack.JNwSUh/_old 2019-08-29 17:17:04.723371828 +0200 +++ /var/tmp/diff_new_pack.JNwSUh/_new 2019-08-29 17:17:04.723371828 +0200 @@ -1,34 +1,34 @@ -b5fbeca9b72725a9825cad0a73af3f804ec01f8a7bac335fc9547c89443ad7f6 node-v12.4.0-aix-ppc64.tar.gz -aaff97d59cda775165ef966ae74e70f55f3267e86d735ed3740ae9bf1d40531e node-v12.4.0-darwin-x64.tar.gz -2457811f736d94ee33f94c6cc31cd5463ff526fc7f0d9bcc020c3c605c6077fd node-v12.4.0-darwin-x64.tar.xz -3a5bbb6ad1a5f3ba912981c13910d7c617bb8fa6b6ae2026d6aee2edcd590a45 node-v12.4.0-headers.tar.gz -00ec93780abfc32ab207c25319ac370a75f383efe84d541b5be4e29583c4ea35 node-v12.4.0-headers.tar.xz -312a7942f5fbd0aa83d6e624a06681275db2cb3c3eeaf3e452ad04aac17b6de5 node-v12.4.0-linux-arm64.tar.gz -bb2e7eabebdceb52424516dabce94cb37f55419e6ed19493916843a323c423cd node-v12.4.0-linux-arm64.tar.xz -12929c2128f740a47690c5e991c401b213a0b0923383f40ed53c1ca44ae99ec2 node-v12.4.0-linux-armv7l.tar.gz -5f3334d313804671dac22720ea8ef801efac231a1933e255beebe9217c9294d7 node-v12.4.0-linux-armv7l.tar.xz -7fc99ee4ea2fb145599e115f04f68070e221c83677a1089fc2d5a271133c6f7d node-v12.4.0-linux-ppc64le.tar.gz -6de87f20b43cd621b745f4c476965e705d3416e0acdc8acb67aa69ed62a98e99 node-v12.4.0-linux-ppc64le.tar.xz -bf7c825cdad31696bdc947a621434bbf3f48280161c333037853752591b60832 node-v12.4.0-linux-s390x.tar.gz -8dfa841d83e47db766d0ac6f7866d233276138691f3a56ff2f6e2a5c7f00d9d0 node-v12.4.0-linux-s390x.tar.xz -9a16909157e68d4e409a73b008994ed05b4b6bc952b65ffa7fbc5abb973d31e9 node-v12.4.0-linux-x64.tar.gz -9aec6a2a50c1791704a6069cbda6da62781361e44814d024e8bbaaf0deb41c5e node-v12.4.0-linux-x64.tar.xz -df5f09b785f34fe545beb43dd73d410de5f4577fe1631f88b49d736a009f93d1 node-v12.4.0.pkg -69c143a49e7f8276b8058e7dd35c07b723aa6003d0a24cd3842818328c502b7e node-v12.4.0-sunos-x64.tar.gz -b91deefabdb52ce12645e04f2d089ec8b9daa63adc9e4b4898664c7060198a64 node-v12.4.0-sunos-x64.tar.xz -cf39befb8ea486363cac6f297d8f451fd0d5dd8ad21dca51e9c2ea86b242baa0 node-v12.4.0.tar.gz -20b52366d3502c60d4aec0bd5052c841a94bf1cd5d74b2ea1e498c1a2ada8ce3 node-v12.4.0.tar.xz -0044440b9d2b6f99d5c93eee6da3ecbf9d186130e2a1c61664f03a1b52797c41 node-v12.4.0-win-x64.7z -ec8623e2528a35d3219200308e7ed41e24d4f7cd96530a4e6ac2513e44f7fad1 node-v12.4.0-win-x64.zip -b85b199e84fb3a3912481c6ccf01031857717ce91b2137e4150b0ba6aff0de7c node-v12.4.0-win-x86.7z -9240ba7da7f8704aa5d1e9caeac8914bd3d38965564c5f5a49bb9727e15b2cb4 node-v12.4.0-win-x86.zip -323a41a8c5ec6fc6f48dc853e9db886a1c23853d6d08a679907a77eda6ae5e61 node-v12.4.0-x64.msi -2bb09ebce2b62da1382f8f7b28116bea7aa37f5d1d9509e9daa4a94a76860cf7 node-v12.4.0-x86.msi -7c042a1980ba080199486ecf32272e28f205bcffcae54a1fa72c150910fbb3f8 win-x64/node.exe -5b198b078cb2924b29148de188296151ce8fca9683735c63d3104969e132bdd0 win-x64/node.lib -b83d389a4e0b4397703fd7b0f3bcf6516923d377816e009435566e68f34eb110 win-x64/node_pdb.7z -f32cb2c6d468a1bd2fa38d064eb39cfd069c49bce6a505e5de120c3d5d0925dd win-x64/node_pdb.zip -15618b6a205b8a7814122124348d0154cdfc2512682c2ab75a4f26bb78d5a44a win-x86/node.exe -094cf74776ea08a116e65d19e1facf705c2ac64e6f04c347aa4bf2293c1378c0 win-x86/node.lib -2d6e1fa44f9484a7f415109adb927ed5f558c4343e2939c3d50f7f9611c19b69 win-x86/node_pdb.7z -72b09155fce8fe93644f2af062682bcfaea1908302e12f1576189e145d07cda1 win-x86/node_pdb.zip +a140e9c84fdb5c40328dc1ea6425954e08cec722ab4e1ab4521b0523bd7b2fa0 node-v12.8.1-aix-ppc64.tar.gz +caccf8b409af342e35672cc766430587664f88d01dab622a5de44c8be1336e44 node-v12.8.1-darwin-x64.tar.gz +c4789916ef5fcb61f8d6b10e15f9137d043ee5dbd004638c88ea4dde2841b2c2 node-v12.8.1-darwin-x64.tar.xz +06c011a5601fca1107d4a29428a051416dffb592391b47e23d6150abc98e4fef node-v12.8.1-headers.tar.gz +b39eb6675c88b62c7c0d5103d7098f98b43b841a2d0065692760c9513b2bb6c4 node-v12.8.1-headers.tar.xz +3ad6e53bcf8a3b92b10504fa70d83f69eab85a8603c2fbe210121278dd19920b node-v12.8.1-linux-arm64.tar.gz +3707240c402aae0b5879ce1ba17b32ebd224d47f5147639c6881a1b71ce65383 node-v12.8.1-linux-arm64.tar.xz +44e2f0dda0ae2ebabecfefe9a33995939d8e362a5bb3fcc579df98c107db2272 node-v12.8.1-linux-armv7l.tar.gz +cbe09af1f41de4cdc917a8874a1cda6bf877495dee159752d3f8745cf6a1e9a3 node-v12.8.1-linux-armv7l.tar.xz +1ddabc01c81dc8056daf831db9815439aa2dea9f93e653c6a185ec859836cf93 node-v12.8.1-linux-ppc64le.tar.gz +2002c80e3cd8c3c4816bdb96e9fc496510a5d2edf273a5cda91625a48a87dedd node-v12.8.1-linux-ppc64le.tar.xz +a4b73e4c847ebc33d05d7f0d2efb7720ebbb643d17f3848ff3fe4266cc32f0ff node-v12.8.1-linux-s390x.tar.gz +f8712268de942b2c05a58eb7291b8ed7cdd9b6413f82bc1aa99e23fae42375f9 node-v12.8.1-linux-s390x.tar.xz +8758a131cac2e8a373153b9eb53696d2e823b910dbf175af7ec4a0592b065c22 node-v12.8.1-linux-x64.tar.gz +1c7cf61cb8fa98a76d92445823d6dd1649e985899e16900b39eacdd8cd4094f3 node-v12.8.1-linux-x64.tar.xz +79c92434d5e9cf7b77122b679aa4b61e12dffa9feb1caee0134446ff8b7ecf05 node-v12.8.1.pkg +9e6fbd7d4346ddb0e86e14dbeff5f1cb23a69e09096dde6c0ad2785dc5643742 node-v12.8.1-sunos-x64.tar.gz +9f0ac2d6f98efeb54bb3a6f52ea58e545bc542b354061f79c1f2804e52a406a0 node-v12.8.1-sunos-x64.tar.xz +fbd4de6657f6301cdcd0c60a0e5a413c490670d8c21b501c380b96cc3b9b5b95 node-v12.8.1.tar.gz +3e63b2e7979b51d79b6f2f89d2869de85222be8edc549f08e10dc8d039de5b88 node-v12.8.1.tar.xz +52ece730f0d4d80657eb8d5c62120c2a91f435b8ef3bea672e1bfdaf9f7eae70 node-v12.8.1-win-x64.7z +c81ecaa03dc882dde36087c854e4831c13d3eb237f262f9ce74ccc6f156684da node-v12.8.1-win-x64.zip +73e50beac826d2a68ad7bfa9c69d02881651a84d8284b609eb6de1f816422ce1 node-v12.8.1-win-x86.7z +71257bcb20caeb22320f4316549424329af888d4fb49f9beb6ea660a85c5848b node-v12.8.1-win-x86.zip +cf7766ff0ffb30a6b1d88832b059c151cd84a43b9e80891bde0b456a730034ed node-v12.8.1-x64.msi +b861512e89b07266b90422c5a48ba5a718f5377e0a3fe2e64e13ac69b87f6d29 node-v12.8.1-x86.msi +f54c49a9652b59f10b7961f6b3891636946b68e404e69d83e32762135c1fa862 win-x64/node.exe +508026e08ee3d579c17f766167c5c69ce31280a4a5607ac853099cd2b84e0426 win-x64/node.lib +dd9308e9161a5ff3bc549cf017d498d6bb05c7a9940c9e6d4d34f95cbce55e2d win-x64/node_pdb.7z +46240f4ddb0d8ce81bff744b14376b702f37c2b43022602b002464622b7e8395 win-x64/node_pdb.zip +bf42f24a980db702b51939fdcfdf38a95580b00dd57a78d3d9d9c8bc558ab8c9 win-x86/node.exe +26e54309d4e8a8ac8f10d460962c474f1ae3f83ffa1bf420ec773b53db36a90a win-x86/node.lib +297a842f38c8bb2bb1082ca763c40ca9ab104bcab3d57ea85fa62bb6682f2f43 win-x86/node_pdb.7z +07e4a6cdc87b1e5bbd2970ef7b35412c50393d9a74199f7babe6c432cc7db299 win-x86/node_pdb.zip ++++++ SHASUMS256.txt.sig ++++++ Binary files /var/tmp/diff_new_pack.JNwSUh/_old and /var/tmp/diff_new_pack.JNwSUh/_new differ ++++++ fix_ci_tests.patch ++++++ --- /var/tmp/diff_new_pack.JNwSUh/_old 2019-08-29 17:17:04.759371821 +0200 +++ /var/tmp/diff_new_pack.JNwSUh/_new 2019-08-29 17:17:04.759371821 +0200 @@ -2,10 +2,8 @@ Date: Dec 20 09:18:49 UTC 2017 Summary: Fix CI unit tests framework for OBS building -Index: node-git.40a1a11542/test/parallel/test-module-loading-globalpaths.js -=================================================================== ---- node-git.40a1a11542.orig/test/parallel/test-module-loading-globalpaths.js -+++ node-git.40a1a11542/test/parallel/test-module-loading-globalpaths.js +--- a/test/parallel/test-module-loading-globalpaths.js ++++ b/test/parallel/test-module-loading-globalpaths.js @@ -11,6 +11,9 @@ const { addLibraryPath } = require('../c addLibraryPath(process.env); @@ -16,10 +14,8 @@ if (process.argv[2] === 'child') { console.log(require(pkgName).string); } else { -Index: node-git.40a1a11542/test/parallel/test-tls-env-bad-extra-ca.js -=================================================================== ---- node-git.40a1a11542.orig/test/parallel/test-tls-env-bad-extra-ca.js -+++ node-git.40a1a11542/test/parallel/test-tls-env-bad-extra-ca.js +--- a/test/parallel/test-tls-env-bad-extra-ca.js ++++ b/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 @@ -29,10 +25,8 @@ assert(re.test(stderr), stderr); } })) -Index: node-git.40a1a11542/test/parallel/test-tls-passphrase.js -=================================================================== ---- node-git.40a1a11542.orig/test/parallel/test-tls-passphrase.js -+++ node-git.40a1a11542/test/parallel/test-tls-passphrase.js +--- a/test/parallel/test-tls-passphrase.js ++++ b/test/parallel/test-tls-passphrase.js @@ -221,7 +221,7 @@ server.listen(0, common.mustCall(functio }, common.mustCall()); })).unref(); @@ -51,23 +45,21 @@ // Invalid passphrase assert.throws(function() { -Index: node-git.40a1a11542/test/parallel/test-crypto-scrypt.js -=================================================================== ---- node-git.40a1a11542.orig/test/parallel/test-crypto-scrypt.js -+++ node-git.40a1a11542/test/parallel/test-crypto-scrypt.js -@@ -169,7 +169,7 @@ for (const options of bad) { +--- a/test/parallel/test-crypto-scrypt.js ++++ b/test/parallel/test-crypto-scrypt.js +@@ -169,8 +169,8 @@ 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: new RegExp('error:[^:]+:digital envelope routines:' + +- '(?:EVP_PBE_scrypt|scrypt_alg):memory limit exceeded'), ++ message: new RegExp('(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-git.40a1a11542/test/parallel/test-repl-envvars.js -=================================================================== ---- node-git.40a1a11542.orig/test/parallel/test-repl-envvars.js -+++ node-git.40a1a11542/test/parallel/test-repl-envvars.js +--- a/test/parallel/test-repl-envvars.js ++++ b/test/parallel/test-repl-envvars.js @@ -2,12 +2,14 @@ // Flags: --expose-internals @@ -84,10 +76,8 @@ const tests = [ { env: {}, -Index: node-git.40a1a11542/test/common/index.mjs -=================================================================== ---- node-git.40a1a11542.orig/test/common/index.mjs -+++ node-git.40a1a11542/test/common/index.mjs +--- a/test/common/index.mjs ++++ b/test/common/index.mjs @@ -50,6 +50,7 @@ const { expectsError, skipIfInspectorDisabled, @@ -104,10 +94,8 @@ getArrayBufferViews, getBufferSources, disableCrashOnUnhandledRejection, -Index: node-git.40a1a11542/test/parallel/test-fs-utimes.js -=================================================================== ---- node-git.40a1a11542.orig/test/parallel/test-fs-utimes.js -+++ node-git.40a1a11542/test/parallel/test-fs-utimes.js +--- a/test/parallel/test-fs-utimes.js ++++ b/test/parallel/test-fs-utimes.js @@ -145,7 +145,7 @@ const path = `${tmpdir.path}/test-utimes fs.writeFileSync(path, ''); @@ -117,10 +105,8 @@ const Y2K38_mtime = 2 ** 31; fs.utimesSync(path, Y2K38_mtime, Y2K38_mtime); const Y2K38_stats = fs.statSync(path); -Index: node-git.40a1a11542/Makefile -=================================================================== ---- node-git.40a1a11542.orig/Makefile -+++ node-git.40a1a11542/Makefile +--- a/Makefile ++++ b/Makefile @@ -483,7 +483,7 @@ test-all-valgrind: test-build $(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=debug,release --valgrind @@ -130,7 +116,7 @@ $(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) test/* CI_NATIVE_SUITES ?= addons js-native-api node-api -@@ -687,11 +687,12 @@ apidocs_json = $(addprefix out/,$(apidoc +@@ -695,11 +695,12 @@ apidocs_json = $(addprefix out/,$(apidoc apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*))) tools/doc/node_modules: tools/doc/package.json @@ -148,10 +134,8 @@ .PHONY: doc-only doc-only: tools/doc/node_modules \ -Index: node-git.40a1a11542/test/parallel/test-child-process-spawnsync-args.js -=================================================================== ---- node-git.40a1a11542.orig/test/parallel/test-child-process-spawnsync-args.js -+++ node-git.40a1a11542/test/parallel/test-child-process-spawnsync-args.js +--- a/test/parallel/test-child-process-spawnsync-args.js ++++ b/test/parallel/test-child-process-spawnsync-args.js @@ -12,6 +12,8 @@ const tmpdir = require('../common/tmpdir const assert = require('assert'); const { spawnSync } = require('child_process'); @@ -161,15 +145,12 @@ const command = common.isWindows ? 'cd' : 'pwd'; const options = { cwd: tmpdir.path }; -Index: node-git.40a1a11542/test/parallel/test-dns.js -=================================================================== ---- node-git.40a1a11542.orig/test/parallel/test-dns.js -+++ node-git.40a1a11542/test/parallel/test-dns.js -@@ -317,12 +317,3 @@ common.expectsError(() => { - type: TypeError +--- a/test/parallel/test-dns.js ++++ b/test/parallel/test-dns.js +@@ -320,16 +320,6 @@ common.expectsError(() => { }); --{ + { - dns.resolveMx('foo.onion', function(err) { - assert.deepStrictEqual(err.errno, 'ENOTFOUND'); - assert.deepStrictEqual(err.code, 'ENOTFOUND'); @@ -178,20 +159,8 @@ - assert.deepStrictEqual(err.message, 'queryMx ENOTFOUND foo.onion'); - }); -} -Index: node-git.40a1a11542/test/addons/uv-handle-leak/binding.cc -=================================================================== ---- node-git.40a1a11542.orig/test/addons/uv-handle-leak/binding.cc -+++ node-git.40a1a11542/test/addons/uv-handle-leak/binding.cc -@@ -15,9 +15,11 @@ void CloseCallback(uv_handle_t* handle) - - class ExampleOwnerClass { - public: -- virtual ~ExampleOwnerClass() {} -+ virtual ~ExampleOwnerClass(); - }; - -+ExampleOwnerClass::~ExampleOwnerClass() {} -+ - ExampleOwnerClass example_instance; - - void LeakHandle(const FunctionCallbackInfo<Value>& args) { +- +-{ + const cases = [ + { method: 'resolveAny', + answers: [ ++++++ node-gyp-addon-gypi.patch ++++++ --- /var/tmp/diff_new_pack.JNwSUh/_old 2019-08-29 17:17:04.767371820 +0200 +++ /var/tmp/diff_new_pack.JNwSUh/_new 2019-08-29 17:17:04.767371820 +0200 @@ -1,7 +1,7 @@ -Index: node-git.b4e670dc26/addon-rpm.gypi +Index: node-v12.8.0/addon-rpm.gypi =================================================================== --- /dev/null -+++ node-git.b4e670dc26/addon-rpm.gypi ++++ node-v12.8.0/addon-rpm.gypi @@ -0,0 +1,35 @@ +{ + 'target_defaults': { @@ -38,11 +38,11 @@ + ] + } +} -Index: node-git.b4e670dc26/deps/npm/node_modules/node-gyp/lib/configure.js +Index: node-v12.8.0/deps/npm/node_modules/node-gyp/lib/configure.js =================================================================== ---- node-git.b4e670dc26.orig/deps/npm/node_modules/node-gyp/lib/configure.js -+++ node-git.b4e670dc26/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,7 +53,7 @@ if (!release.semver) { // could not parse the version string with semver -@@ -82,6 +78,12 @@ function configure (gyp, argv, callback) +@@ -68,6 +64,12 @@ function configure (gyp, argv, callback) nodeDir = path.resolve(gyp.devDir, release.versionDir) createBuildDir() }) @@ -66,13 +66,13 @@ } } -@@ -280,7 +282,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-v12.4.0.tar.xz -> node-v12.8.1.tar.xz ++++++ /work/SRC/openSUSE:Factory/nodejs12/node-v12.4.0.tar.xz /work/SRC/openSUSE:Factory/.nodejs12.new.7948/node-v12.8.1.tar.xz differ: char 27, line 1 ++++++ nodejs-libpath.patch ++++++ --- /var/tmp/diff_new_pack.JNwSUh/_old 2019-08-29 17:17:04.795371816 +0200 +++ /var/tmp/diff_new_pack.JNwSUh/_new 2019-08-29 17:17:04.795371816 +0200 @@ -1,7 +1,7 @@ -Index: node-git.62ac84b5f8/tools/install.py +Index: node-v12.7.0/tools/install.py =================================================================== ---- node-git.62ac84b5f8.orig/tools/install.py -+++ node-git.62ac84b5f8/tools/install.py +--- node-v12.7.0.orig/tools/install.py ++++ node-v12.7.0/tools/install.py @@ -7,6 +7,7 @@ import errno import os import shutil @@ -46,11 +46,11 @@ # behave similarly for systemtap action(['src/node.stp'], 'share/systemtap/tapset/') -Index: node-git.62ac84b5f8/lib/internal/modules/cjs/loader.js +Index: node-v12.7.0/lib/internal/modules/cjs/loader.js =================================================================== ---- node-git.62ac84b5f8.orig/lib/internal/modules/cjs/loader.js -+++ node-git.62ac84b5f8/lib/internal/modules/cjs/loader.js -@@ -907,7 +907,7 @@ Module._initPaths = function() { +--- node-v12.7.0.orig/lib/internal/modules/cjs/loader.js ++++ node-v12.7.0/lib/internal/modules/cjs/loader.js +@@ -902,7 +902,7 @@ Module._initPaths = function() { } else { prefixDir = path.resolve(process.execPath, '..', '..'); } ++++++ versioned.patch ++++++ --- /var/tmp/diff_new_pack.JNwSUh/_old 2019-08-29 17:17:04.819371811 +0200 +++ /var/tmp/diff_new_pack.JNwSUh/_new 2019-08-29 17:17:04.819371811 +0200 @@ -8,10 +8,8 @@ This is also important for generation of binary modules for multiple versions of NodeJS -Index: node-git.40a1a11542/Makefile -=================================================================== ---- node-git.40a1a11542.orig/Makefile -+++ node-git.40a1a11542/Makefile +--- a/Makefile ++++ b/Makefile @@ -45,7 +45,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT EXEEXT := $(shell $(PYTHON) -c \ "import sys; print('.exe' if sys.platform == 'win32' else '')") @@ -21,10 +19,8 @@ NODE ?= ./$(NODE_EXE) NODE_G_EXE = node_g$(EXEEXT) NPM ?= ./deps/npm/bin/npm-cli.js -Index: node-git.40a1a11542/tools/install.py -=================================================================== ---- node-git.40a1a11542.orig/tools/install.py -+++ node-git.40a1a11542/tools/install.py +--- a/tools/install.py ++++ b/tools/install.py @@ -81,7 +81,7 @@ def uninstall(paths, dst): try_remove(path, dst) @@ -125,10 +121,8 @@ def run(args): global node_prefix, install_path, target_defaults, variables -Index: node-git.40a1a11542/doc/node.1 -=================================================================== ---- node-git.40a1a11542.orig/doc/node.1 -+++ node-git.40a1a11542/doc/node.1 +--- a/doc/node.1 ++++ b/doc/node.1 @@ -30,24 +30,24 @@ .Dt NODE 1 . @@ -158,10 +152,8 @@ .Op Fl -v8-options . .\"====================================================================== -Index: node-git.40a1a11542/src/node.stp -=================================================================== ---- node-git.40a1a11542.orig/src/node.stp -+++ node-git.40a1a11542/src/node.stp +--- a/src/node.stp ++++ b/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 +226,10 @@ { scavenge = 1 << 0; compact = 1 << 1; -Index: node-git.40a1a11542/deps/npm/man/man1/npm.1 -=================================================================== ---- node-git.40a1a11542.orig/deps/npm/man/man1/npm.1 -+++ node-git.40a1a11542/deps/npm/man/man1/npm.1 +--- a/deps/npm/man/man1/npm.1 ++++ b/deps/npm/man/man1/npm.1 @@ -1,11 +1,11 @@ - .TH "NPM" "1" "April 2019" "" "" + .TH "NPM" "1" "July 2019" "" "" .SH "NAME" -\fBnpm\fR \- javascript package manager +\fBnpm12\fR \- javascript package manager @@ -338,14 +328,12 @@ .RE -Index: node-git.40a1a11542/node.gyp -=================================================================== ---- node-git.40a1a11542.orig/node.gyp -+++ node-git.40a1a11542/node.gyp -@@ -22,8 +22,8 @@ +--- a/node.gyp ++++ b/node.gyp +@@ -21,8 +21,8 @@ + 'node_use_openssl%': 'true', 'node_shared_openssl%': 'false', 'node_v8_options%': '', - 'node_enable_v8_vtunejit%': 'false', - 'node_core_target_name%': 'node', - 'node_lib_target_name%': 'libnode', + 'node_core_target_name%': 'node12', @@ -353,10 +341,8 @@ 'node_intermediate_lib_type%': 'static_library', 'library_files': [ 'lib/internal/bootstrap/environment.js', -Index: node-git.40a1a11542/src/node_main.cc -=================================================================== ---- node-git.40a1a11542.orig/src/node_main.cc -+++ node-git.40a1a11542/src/node_main.cc +--- a/src/node_main.cc ++++ b/src/node_main.cc @@ -121,6 +121,7 @@ int main(int argc, char* argv[]) { #endif // Disable stdio buffering, it interacts poorly with printf() @@ -365,10 +351,8 @@ setvbuf(stdout, nullptr, _IONBF, 0); setvbuf(stderr, nullptr, _IONBF, 0); return node::Start(argc, argv); -Index: node-git.40a1a11542/deps/npm/man/man1/npx.1 -=================================================================== ---- node-git.40a1a11542.orig/deps/npm/man/man1/npx.1 -+++ node-git.40a1a11542/deps/npm/man/man1/npx.1 +--- a/deps/npm/man/man1/npx.1 ++++ b/deps/npm/man/man1/npx.1 @@ -1,32 +1,32 @@ .TH "NPX" "1" "April 2018" "[email protected]" "User Commands" .SH "NAME" @@ -452,11 +436,9 @@ +\fBnpm12\-config(7)\fP .RE -Index: node-git.40a1a11542/tools/test.py -=================================================================== ---- node-git.40a1a11542.orig/tools/test.py -+++ node-git.40a1a11542/tools/test.py -@@ -935,7 +935,7 @@ class Context(object): +--- a/tools/test.py ++++ b/tools/test.py +@@ -883,7 +883,7 @@ class Context(object): if self.vm is not None: return self.vm if arch == 'none':
