Page MenuHomeFreeBSD

www/node14: Upgrade to 14.19.3
ClosedPublic

Authored by dereks_lifeofadishwasher.com on May 13 2022, 1:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 2:22 PM
Unknown Object (File)
Feb 22 2024, 4:05 AM
Unknown Object (File)
Dec 30 2023, 9:35 AM
Unknown Object (File)
Dec 30 2023, 9:33 AM
Unknown Object (File)
Dec 30 2023, 9:32 AM
Unknown Object (File)
Dec 30 2023, 9:32 AM
Unknown Object (File)
Dec 27 2023, 8:10 AM
Unknown Object (File)
Dec 20 2023, 1:44 AM
Subscribers

Details

Summary

Running with the patch from PR #263090 [2] from i.dani@outlook.com

  • Upgrade to 14.9.3 [1] addressing CVE-2021-44531/44532/44533 CVE-2022-21824 CVE-2022-0778
  • portlint, portclippy, portfmt cleanup
  • Add python 3.10 build support
  • Add COREPACK option (enabled by default)
  • Add test target
  • Add patch for failing test due to FreeBSD openssl adding "-freebsd" to version string. [6]
Test Plan
  • portlint ok. 1 expected warning due to error in portlint placing _BROKEN in the wrong location [9]
  • testport {12,13}{amd64,i386} with default options and DEFAULT_VERSIONS= python=python310 python3=python310 make.conf
  • run tests on the above testports
  • build ports that have direct depend on www/node14
    • www/npm-node14
    • www/yarn-node14
  • build textproc/opensearch-dashboards _DEPENDS on www/yarn-node14
  • make extract on devel/electron13 has FETCH/EXTRACT_DEPENDS on www/yarn-node14
  • All testports finshed.
  • make test
      • 13amd64/13i386
          • jstest: ...|% 100|+ 3281|- 2]: Done
        • 2 failing tests appear to be upstream issue [7][8]
    • tooltest: Ran 6 tests in 0.002s
      • 12amd64/i386
          • jstest: ...|% 100|+ 3280|- 3]: Done
        • 2 failing tests appear to be upstream issue [7][8]
        • 1 failing test appears to be due to old openssl on 12.3 (see below)
  • www/npm-node14, www/yarn-node14 built without issue
  • textproc/opensearch-dashboards built without issue
  • devel/electron13 make extract finished wihtout issue

[1] https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.19.3
[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263090
[6] https://github.com/nodejs/node/issues/43078
[7] https://github.com/nodejs/node/issues/43079
[8] https://github.com/nodejs/node/issues/43079
[9] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263859

=== release test-tls-no-sslv3 ===
Path: parallel/test-tls-no-sslv3
CONNECTED(00000003)
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 58 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : SSLv3
    Cipher    : 0000
    Session-ID:
    Session-ID-ctx:
    Master-Key:
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1652397344
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
    Extended master secret: no
---
34371141632:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:/usr/src/crypto/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 40
assert.js:394
    throw err;
    ^

AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  assert(/:wrong version number/.test(errors[0].message) ||
         /:version too low/.test(errors[0].message))

    at process.<anonymous> (/wrkdirs/usr/ports/www/node14/work/node-v14.19.2/test/parallel/test-tls-no-sslv3.js:46:5)
    at process.emit (events.js:412:35) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '=='
}
Command: out/Release/node /wrkdirs/usr/ports/www/node14/work/node-v14.19.2/test/parallel/test-tls-no-sslv3.js

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Update diff 14.19.3

Tests and rev. depends rebuilds remian the same.

dereks_lifeofadishwasher.com retitled this revision from www/node14: Upgrade to 14.19.2 to www/node14: Upgrade to 14.19.3.May 21 2022, 8:33 PM
dereks_lifeofadishwasher.com edited the summary of this revision. (Show Details)
dereks_lifeofadishwasher.com edited the test plan for this revision. (Show Details)
dereks_lifeofadishwasher.com edited the summary of this revision. (Show Details)
dereks_lifeofadishwasher.com edited the test plan for this revision. (Show Details)
dereks_lifeofadishwasher.com edited the test plan for this revision. (Show Details)
This revision was not accepted when it landed; it landed in state Needs Review.Jun 8 2022, 1:26 AM
This revision was automatically updated to reflect the committed changes.