nodejs.git
17 months agofix compilation error on mipsel target
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
fix compilation error on mipsel target

Last-Update: 2021-10-28
Forwarded: https://github.com/nodejs/node/issues/40624

Gbp-Pq: Topic mips
Gbp-Pq: Name compilation_error.patch

17 months agoremove google font from template.html, and link to local
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
remove google font from template.html, and link to local

Last-Update: 2015-09-09
Forwarded: not-needed

Gbp-Pq: Topic dfsg
Gbp-Pq: Name privacy_breach.patch

17 months agoMultiarch search path, arch triplet, DFHS path for modules
Bastien ROUCARIÈS [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
Multiarch search path, arch triplet, DFHS path for modules

Last-Update: 2018-09-30
Last-Update: 2020-03-04
Forwarded: https://github.com/nodejs/node/issues/22745
Reviewed-By: Xavier Guimard <yadd@debian.org>
Gbp-Pq: Topic dfsg
Gbp-Pq: Name multilib_modules.patch

17 months agoa test uses a benchmark that read alice.html, dfsg excluded
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
a test uses a benchmark that read alice.html, dfsg excluded

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2020-03-04

Gbp-Pq: Topic dfsg
Gbp-Pq: Name benchmark_without_alice.patch

17 months agouse system-installed node-gyp for building test modules
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
use system-installed node-gyp for building test modules

Last-Update: 2015-09-09
Forwarded: not-needed

Gbp-Pq: Topic deps
Gbp-Pq: Name node_gyp.patch

17 months agodo not use dns.ADDRCONFIG for localhost
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
do not use dns.ADDRCONFIG for localhost

Last-Update: 2020-06-11
Bug-Debian: https://bugs.debian.org/962318
Forwarded: https://github.com/nodejs/node/issues/33816

it fails on IPv6-only systems. Setting it with libc fails on linux.
https://github.com/nodejs/node/issues/33279

Gbp-Pq: Topic deps
Gbp-Pq: Name localhost-no-addrconfig.patch

17 months agokeep nodejs compatible with libc-ares public headers
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
keep nodejs compatible with libc-ares public headers

Forwarded: not-needed
Last-Update: 2021-10-20

Gbp-Pq: Topic deps
Gbp-Pq: Name cares.patch

17 months agoadapt test-ci build target for buildd
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
adapt test-ci build target for buildd

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2020-02-09

* run tests with ./node
* remove addons from test-ci suite, because it creates a dependency loop
  nodejs -> node-gyp -> nodejs which is painful to manage.
* disabled because it requires stdin:
  + test-stdout-close-unref
  + test-regress-GH-746
* test-tick-processor fails on ppc64 and s390x, currently investigated
  https://github.com/nodejs/node/issues/2471
* test-cluster-disconnect sometimes fails on busy buildd, forwarded upstream
  https://github.com/nodejs/node/issues/3383
* test-fs-watch is flaky, might be related to https://github.com/nodejs/node/issues/4082
* huge timeout value for all platforms, buildd could be busy
* test-npm-install and test-release-npm must fail, debian package dfsg-repacked npm out
* ability to override CI_NATIVE_SUITES, CI_JS_SUITES
* disable tests failing because DNS is disabled
* sequential/test-http2-session-timeout is flaky https://github.com/nodejs/node/issues/20628

Gbp-Pq: Topic build
Gbp-Pq: Name test_ci.patch

17 months agoLink to -latomic by default
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
Link to -latomic by default

Last-Update: 2019-10-25
Forwarded: not-needed
Bug: https://github.com/nodejs/node/pull/28532
Bug: https://github.com/nodejs/node/issues/30093

This avoids surprises on mips*el/ppc*el

Gbp-Pq: Topic build
Gbp-Pq: Name flag_atomic.patch

17 months agobuild doc using marked and js-yaml
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
build doc using marked and js-yaml

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2021-03-03

While waiting for unified/remarked/rehyped modules to be available in debian

Gbp-Pq: Topic build
Gbp-Pq: Name doc.patch

17 months agodo not build cctest, build broken on debian
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
do not build cctest, build broken on debian

Last-Update: 2017-12-18
Forwarded: not yet !

Gbp-Pq: Topic build
Gbp-Pq: Name cctest_disable.patch

17 months agoadd acorn, walk to shared builtins
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
add acorn, walk to shared builtins

Last-Update: 2022-09-28
Forwarded: https://github.com/nodejs/node/pull/44376

Gbp-Pq: Topic build
Gbp-Pq: Name more_shareable_builtins.patch

17 months agodebian openssl in testing or sid (3.0.11, 3.1.4) does not seem to have that different...
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
debian openssl in testing or sid (3.0.11, 3.1.4) does not seem to have that different behavior

Last-Update: 2023-11-03

Gbp-Pq: Topic build
Gbp-Pq: Name openssl_3011_without_new_error_message.patch

17 months ago[PATCH] Add a CipherString for nodejs
Sebastian Andrzej Siewior [Fri, 23 Sep 2022 20:39:50 +0000 (22:39 +0200)]
[PATCH] Add a CipherString for nodejs

If the default security level is overwritten at build time of openssl
then it is needed to lower it again for nodejs in order to pass the
testsuite because it is using smoil keys.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Gbp-Pq: Topic build
Gbp-Pq: Name openssl_config_explicit_lower.patch

17 months agonodejs (18.20.4+dfsg-1~deb12u1) bookworm-security; urgency=medium
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
nodejs (18.20.4+dfsg-1~deb12u1) bookworm-security; urgency=medium

  * New upstream version 18.20.4+dfsg. Closes: #1074047.
  * M.U.T.: bump ada to 2.7.8, keep node-types to 18.18.14
    for compatibility with other packages.
  * test-runner-output is flaky on slow platforms
  * Disable test-cluster-primary-* flaky/hanging tests.
  * Fix test failing with openssl 3.0.14. Closes: #1086652.
  * CVE-2024-22020: Bypass network import restriction via data URL (Medium)
  * CVE-2024-36138: Bypass incomplete fix of CVE-2024-27980 (High)
  * CVE-2024-27983: Assertion failed in node::http2::Http2Session::~Http2Session()
    leads to HTTP/2 server crash (High)
  * CVE-2024-27982: HTTP Request Smuggling via Content Length Obfuscation (Medium)
  * CVE-2024-22025: Denial of Service by resource exhaustion in fetch()
    brotli decoding (Medium)
  * CVE-2024-21892: Code injection and privilege escalation
    through Linux capabilities (High)
  * CVE-2024-22019: Reading unprocessed HTTP request with
    unbounded chunk extension allows DoS attacks (High)
  * CVE-2023-46809: Node.js is vulnerable to the Marvin Attack (Medium)
  * Static link on 32bits architecture libuv. Closes: #922075, #1076350.
    Thanks to Bastien Roucariès.

[dgit import unpatched nodejs 18.20.4+dfsg-1~deb12u1]

17 months agoImport nodejs_18.20.4+dfsg.orig.tar.xz
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
Import nodejs_18.20.4+dfsg.orig.tar.xz

[dgit import orig nodejs_18.20.4+dfsg.orig.tar.xz]

17 months agoImport nodejs_18.20.4+dfsg.orig-ada.tar.xz
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
Import nodejs_18.20.4+dfsg.orig-ada.tar.xz

[dgit import orig nodejs_18.20.4+dfsg.orig-ada.tar.xz]

17 months agoImport nodejs_18.20.4+dfsg.orig-types-node.tar.xz
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
Import nodejs_18.20.4+dfsg.orig-types-node.tar.xz

[dgit import orig nodejs_18.20.4+dfsg.orig-types-node.tar.xz]

17 months agoImport nodejs_18.20.4+dfsg-1~deb12u1.debian.tar.xz
Jérémy Lal [Tue, 9 Jul 2024 15:36:33 +0000 (17:36 +0200)]
Import nodejs_18.20.4+dfsg-1~deb12u1.debian.tar.xz

[dgit import tarball nodejs 18.20.4+dfsg-1~deb12u1 nodejs_18.20.4+dfsg-1~deb12u1.debian.tar.xz]