Hello community,
here is the log from the commit of package nodejs12 for openSUSE:Factory
checked in at 2020-10-06 17:09:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs12 (Old)
and /work/SRC/openSUSE:Factory/.nodejs12.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs12"
Tue Oct 6 17:09:19 2020 rev:23 rq:839612 version:12.18.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs12/nodejs12.changes 2020-09-25
16:37:36.904214184 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs12.new.4249/nodejs12.changes
2020-10-06 17:10:57.101519060 +0200
@@ -8 +8,3 @@
- (bsc#1176605, CVE-2020-8252)
+ (bsc#1176589, CVE-2020-8252)
+- fix_ci_tests.patch: re-add missing debug symbol removal before
+ running unit tests
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs12.spec ++++++
--- /var/tmp/diff_new_pack.BDvSEA/_old 2020-10-06 17:10:58.693520435 +0200
+++ /var/tmp/diff_new_pack.BDvSEA/_new 2020-10-06 17:10:58.697520438 +0200
@@ -29,14 +29,6 @@
Version: 12.18.4
Release: 0
-# bundled ( "pkg", "version" )
-%define bundled() %{lua: \
- local pkg=rpm.expand("%1"); \
- local ver=rpm.expand("%2"); \
- if (not(string.sub(ver, 0, 2) == '\{\{' and string.sub(ver, -2) == '\}\}'
)) then \
- print("Provides: bundled(" .. pkg .. ") = " .. ver) \
- end }
-
%define node_version_number 12
%if %node_version_number >= 12
@@ -247,25 +239,25 @@
%endif
%else
-%{bundled openssl 1.1.1g}
+Provides: bundled(openssl) = 1.1.1g
%endif
%if ! 0%{with intree_cares}
BuildRequires: pkgconfig(libcares) >= 1.10.0
%else
-%{bundled libcares2 1.16.0}
+Provides: bundled(libcares2) = 1.16.0
%endif
%if ! 0%{with intree_icu}
BuildRequires: pkgconfig(icu-i18n) >= 64
%else
-%{bundled icu 67.1}
+Provides: bundled(icu) = 67.1
%endif
%if ! 0%{with intree_nghttp2}
BuildRequires: libnghttp2-devel >= 1.41.0
%else
-%{bundled nghttp2 1.41.0}
+Provides: bundled(nghttp2) = 1.41.0
%endif
%if 0%{with valgrind_tests}
@@ -302,16 +294,13 @@
ExclusiveArch: x86_64 aarch64 ppc64 ppc64le s390x
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-# NOTE: If version is not present (not replaced), it means it's not bundled and
-# it will removed by the macro during rpm processing
-%{bundled uvwasi 0.0.9}
-%{bundled libuv 1.38.0}
-%{bundled v8 7.8.279.23}
-%{bundled brotli 1.0.7}
-%{bundled http-parser 2.9.3}
-%{bundled nghttp3 {{bundled_nghttp3_version}}}
-%{bundled llhttp 2.1.2}
-%{bundled ngtcp2 {{bundled_ngtcp2_version}}}
+Provides: bundled(brotli) = 1.0.7
+Provides: bundled(http-parser) = 2.9.3
+Provides: bundled(libuv) = 1.38.0
+Provides: bundled(uvwasi) = 0.0.9
+Provides: bundled(v8) = 7.8.279.23
+
+Provides: bundled(llhttp) = 2.1.2
Provides: bundled(node-acorn) = 7.1.1
Provides: bundled(node-acorn-class-fields) = 0.3.1
@@ -356,7 +345,6 @@
%else
Recommends: python
%endif
-%{bundled npm 6.14.6}
Provides: bundled(node-JSONStream) = 1.3.5
Provides: bundled(node-abbrev) = 1.1.1
Provides: bundled(node-agent-base) = 4.2.1
@@ -819,11 +807,11 @@
%if %{node_version_number} == 6
# Update NPM
rm -r deps/npm
-tar Jxvf %{SOURCE10}
+tar Jxf %{SOURCE10}
%endif
%if %{node_version_number} >= 10
-tar Jxvf %{SOURCE11}
+tar Jxf %{SOURCE11}
%endif
%patch3 -p1
++++++ fix_ci_tests.patch ++++++
--- /var/tmp/diff_new_pack.BDvSEA/_old 2020-10-06 17:10:58.753520486 +0200
+++ /var/tmp/diff_new_pack.BDvSEA/_new 2020-10-06 17:10:58.753520486 +0200
@@ -2,10 +2,10 @@
Date: Dec 20 09:18:49 UTC 2017
Summary: Fix CI unit tests framework for OBS building
-Index: node-v14.5.0/test/parallel/test-module-loading-globalpaths.js
+Index: node-v12.18.4/test/parallel/test-module-loading-globalpaths.js
===================================================================
---- node-v14.5.0.orig/test/parallel/test-module-loading-globalpaths.js
-+++ node-v14.5.0/test/parallel/test-module-loading-globalpaths.js
+--- node-v12.18.4.orig/test/parallel/test-module-loading-globalpaths.js
++++ node-v12.18.4/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-v14.5.0/test/parallel/test-tls-env-bad-extra-ca.js
+Index: node-v12.18.4/test/parallel/test-tls-env-bad-extra-ca.js
===================================================================
---- node-v14.5.0.orig/test/parallel/test-tls-env-bad-extra-ca.js
-+++ node-v14.5.0/test/parallel/test-tls-env-bad-extra-ca.js
+--- node-v12.18.4.orig/test/parallel/test-tls-env-bad-extra-ca.js
++++ node-v12.18.4/test/parallel/test-tls-env-bad-extra-ca.js
@@ -37,7 +37,7 @@ fork(__filename, opts)
// TODO(addaleax): Make `SafeGetenv` work like `process.env`
// encoding-wise
@@ -29,10 +29,10 @@
assert(re.test(stderr), stderr);
}
}))
-Index: node-v14.5.0/test/parallel/test-tls-passphrase.js
+Index: node-v12.18.4/test/parallel/test-tls-passphrase.js
===================================================================
---- node-v14.5.0.orig/test/parallel/test-tls-passphrase.js
-+++ node-v14.5.0/test/parallel/test-tls-passphrase.js
+--- node-v12.18.4.orig/test/parallel/test-tls-passphrase.js
++++ node-v12.18.4/test/parallel/test-tls-passphrase.js
@@ -223,7 +223,7 @@ server.listen(0, common.mustCall(functio
}, onSecureConnect());
})).unref();
@@ -51,10 +51,10 @@
// Invalid passphrase
assert.throws(function() {
-Index: node-v14.5.0/test/parallel/test-crypto-scrypt.js
+Index: node-v12.18.4/test/parallel/test-crypto-scrypt.js
===================================================================
---- node-v14.5.0.orig/test/parallel/test-crypto-scrypt.js
-+++ node-v14.5.0/test/parallel/test-crypto-scrypt.js
+--- node-v12.18.4.orig/test/parallel/test-crypto-scrypt.js
++++ node-v12.18.4/test/parallel/test-crypto-scrypt.js
@@ -169,8 +169,8 @@ for (const options of bad) {
for (const options of toobig) {
@@ -66,10 +66,10 @@
name: 'Error',
};
assert.throws(() => crypto.scrypt('pass', 'salt', 1, options, () => {}),
-Index: node-v14.5.0/test/parallel/test-repl-envvars.js
+Index: node-v12.18.4/test/parallel/test-repl-envvars.js
===================================================================
---- node-v14.5.0.orig/test/parallel/test-repl-envvars.js
-+++ node-v14.5.0/test/parallel/test-repl-envvars.js
+--- node-v12.18.4.orig/test/parallel/test-repl-envvars.js
++++ node-v12.18.4/test/parallel/test-repl-envvars.js
@@ -2,12 +2,14 @@
// Flags: --expose-internals
@@ -86,10 +86,10 @@
const tests = [
{
env: {},
-Index: node-v14.5.0/test/common/index.mjs
+Index: node-v12.18.4/test/common/index.mjs
===================================================================
---- node-v14.5.0.orig/test/common/index.mjs
-+++ node-v14.5.0/test/common/index.mjs
+--- node-v12.18.4.orig/test/common/index.mjs
++++ node-v12.18.4/test/common/index.mjs
@@ -45,6 +45,7 @@ const {
expectsError,
skipIfInspectorDisabled,
@@ -106,20 +106,21 @@
getArrayBufferViews,
getBufferSources,
disableCrashOnUnhandledRejection,
-Index: node-v14.5.0/Makefile
+Index: node-v12.18.4/Makefile
===================================================================
---- node-v14.5.0.orig/Makefile
-+++ node-v14.5.0/Makefile
-@@ -527,7 +527,7 @@ test-ci-js: | clear-stalled
+--- node-v12.18.4.orig/Makefile
++++ node-v12.18.4/Makefile
+@@ -524,7 +524,8 @@ test-ci-js: | clear-stalled
.PHONY: test-ci
# Related CI jobs: most CI tests, excluding node-test-commit-arm-fanned
test-ci: LOGLEVEL := info
-test-ci: | clear-stalled build-addons build-js-native-api-tests
build-node-api-tests doc-only
+test-ci: | clear-stalled build-addons build-js-native-api-tests
build-node-api-tests
++ strip $(NODE_EXE)
out/Release/cctest --gtest_output=xml:out/junit/cctest.xml
$(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap --logfile test.tap \
--mode=$(BUILDTYPE_LOWER) --flaky-tests=$(FLAKY_TESTS) \
-@@ -703,7 +703,8 @@ apidocs_json = $(addprefix out/,$(apidoc
+@@ -699,7 +700,8 @@ 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
++++++ nodejs.keyring ++++++
Binary files /var/tmp/diff_new_pack.BDvSEA/_old and
/var/tmp/diff_new_pack.BDvSEA/_new differ