Update to version 22.6.0

This commit is contained in:
Jan Staněk 2024-08-19 13:44:33 +02:00
parent cebc50b2c0
commit ab15ad54bf
No known key found for this signature in database
GPG Key ID: 2972F2037B243B6D
4 changed files with 38 additions and 11 deletions

View File

@ -1,4 +1,4 @@
From 0aaaf4104a1f23f3de105ffdaffc282c4477bb0e Mon Sep 17 00:00:00 2001
From bd5d655f62b97e6f2f7c8cc9c356c070e334e94e Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh@redhat.com>
Date: Fri, 17 Apr 2020 12:59:44 +0200
Subject: [PATCH] Remove unused OpenSSL config
@ -8,15 +8,16 @@ using the system OpenSSL and will thus fail since we strip this path
from the tarball.
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: rpm-build <rpm-build>
---
node.gyp | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/node.gyp b/node.gyp
index dc4d77330a811d3448d84318c065a3447b159906..e1824d462ec876a66146092aab4dba3d085f4658 100644
index 46baef1..4d4f115 100644
--- a/node.gyp
+++ b/node.gyp
@@ -808,23 +808,6 @@
@@ -815,23 +815,6 @@
],
},
],
@ -41,5 +42,5 @@ index dc4d77330a811d3448d84318c065a3447b159906..e1824d462ec876a66146092aab4dba3d
],
}, # node_core_target_name
--
2.44.0
2.46.0

View File

@ -0,0 +1,25 @@
From 91d202ada59da7578163fa4d7795aded209b2acc Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Mon, 19 Aug 2024 13:03:51 +0200
Subject: [PATCH] deps(ncrypto): include missing headers
Signed-off-by: rpm-build <rpm-build>
---
deps/ncrypto/ncrypto.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/deps/ncrypto/ncrypto.cc b/deps/ncrypto/ncrypto.cc
index b3e6a57..bb8b5c0 100644
--- a/deps/ncrypto/ncrypto.cc
+++ b/deps/ncrypto/ncrypto.cc
@@ -2,6 +2,7 @@
#include <algorithm>
#include <cstring>
#include "openssl/bn.h"
+#include "openssl/rand.h"
#if OPENSSL_VERSION_MAJOR >= 3
#include "openssl/provider.h"
#endif
--
2.46.0

View File

@ -50,8 +50,8 @@
# than a Fedora release lifecycle.
%global nodejs_epoch 1
%global nodejs_major 22
%global nodejs_minor 4
%global nodejs_patch 1
%global nodejs_minor 6
%global nodejs_patch 0
# nodejs_soversion - from NODE_MODULE_VERSION in src/node_version.h
%global nodejs_soversion 127
%global nodejs_abi %{nodejs_soversion}
@ -78,7 +78,7 @@
# c-ares - from deps/cares/include/ares_version.h
# https://github.com/nodejs/node/pull/9332
%global c_ares_version 1.31.0
%global c_ares_version 1.32.3
# llhttp - from deps/llhttp/include/llhttp.h
%global llhttp_version 9.2.1
@ -105,7 +105,7 @@
# " this line just fixes syntax highlighting for vim that is confused by the above and continues literal
# simdutf from deps/simdutf/simdutf.h
%global simdutf_version 5.2.8
%global simdutf_version 5.3.0
# OpenSSL minimum version
%global openssl11_minimum 1:1.1.1
@ -118,7 +118,7 @@
# npm - from deps/npm/package.json
%global npm_epoch 1
%global npm_version 10.8.1
%global npm_version 10.8.2
# In order to avoid needing to keep incrementing the release version for the
# main package forever, we will just construct one for npm that is guaranteed
@ -162,6 +162,7 @@ Source202: nodejs.pc.in
Source203: v8.pc.in
Patch: 0001-Remove-unused-OpenSSL-config.patch
Patch: 0002-deps-ncrypto-include-missing-headers.patch
%if 0%{?nodejs_default}
%global pkgname nodejs
@ -327,7 +328,7 @@ Provides: bundled(simdutf) = %{simdutf_version}
# Upstream has added a new URL parser that has no option to build as a shared
# library (19.7.0+)
Provides: bundled(ada) = 2.8.0
Provides: bundled(ada) = 2.9.0
# undici and cjs-module-lexer ship with pre-built WASM binaries.

View File

@ -1,3 +1,3 @@
SHA512 (node-v22.4.1-stripped.tar.gz) = de113970cff2d5fc94c3e711d85ebfdee72e60e375969076c823ab0159eceea57fb9107fb3cd58c573b63364b20eb670b0f162a13f11f9ff1368630aca37d707
SHA512 (node-v22.6.0-stripped.tar.gz) = df0d1f2912b0014e14e82d81708af7694adfbf12a5fcf8cd1b07508edaa2b2ab35ec69267d51b2b02d012795975e5eafe5b66ecde8fe9f50b62c86edb3ea3d9d
SHA512 (icu4c-75_1-data-bin-b.zip) = ffec0355c5e0bd210aa7da6e91845979a5f5d893c7703dba4afccfbc80613b728689fbe91d0327542faaae718940f7eb0f842b3cc7c57dddeb22b15c5f79ba2a
SHA512 (icu4c-75_1-data-bin-l.zip) = b4dbc0986c241e43d66a90c6cf723dd8fd66281416d7d28010c952a895e8f166d980f918754b191a1e2ab468484b7d2ba2d4f6308880ef7f8bc2eecbc94844b9