|
|
|
@ -41,7 +41,7 @@
|
|
|
|
|
# than a Fedora release lifecycle.
|
|
|
|
|
%global nodejs_epoch 1
|
|
|
|
|
%global nodejs_major 18
|
|
|
|
|
%global nodejs_minor 16
|
|
|
|
|
%global nodejs_minor 17
|
|
|
|
|
%global nodejs_patch 1
|
|
|
|
|
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
|
|
|
|
|
# nodejs_soversion - from NODE_MODULE_VERSION in src/node_version.h
|
|
|
|
@ -93,7 +93,7 @@
|
|
|
|
|
%global ngtcp2_version %{ngtcp2_major}.%{ngtcp2_minor}.%{ngtcp2_patch}
|
|
|
|
|
|
|
|
|
|
# ICU - from tools/icu/current_ver.dep
|
|
|
|
|
%global icu_major 72
|
|
|
|
|
%global icu_major 73
|
|
|
|
|
%global icu_minor 1
|
|
|
|
|
%global icu_version %{icu_major}.%{icu_minor}
|
|
|
|
|
|
|
|
|
@ -114,11 +114,11 @@
|
|
|
|
|
# simduft from deps/simdutf/simdutf.h
|
|
|
|
|
%global simduft_major 3
|
|
|
|
|
%global simduft_minor 2
|
|
|
|
|
%global simduft_patch 2
|
|
|
|
|
%global simduft_patch 12
|
|
|
|
|
%global simduft_version %{simduft_major}.%{simduft_minor}.%{simduft_patch}
|
|
|
|
|
|
|
|
|
|
# ada from deps/ada/ada.h
|
|
|
|
|
%global ada_version 1.0.4
|
|
|
|
|
%global ada_version 2.5.0
|
|
|
|
|
|
|
|
|
|
# OpenSSL minimum version
|
|
|
|
|
%global openssl_minimum 1:1.1.1
|
|
|
|
@ -133,7 +133,7 @@
|
|
|
|
|
|
|
|
|
|
# npm - from deps/npm/package.json
|
|
|
|
|
%global npm_epoch 1
|
|
|
|
|
%global npm_version 9.5.1
|
|
|
|
|
%global npm_version 9.6.7
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
@ -145,7 +145,7 @@
|
|
|
|
|
%global corepack_version 0.10.0
|
|
|
|
|
|
|
|
|
|
# uvwasi - from deps/uvwasi/include/uvwasi.h
|
|
|
|
|
%global uvwasi_version 0.0.15
|
|
|
|
|
%global uvwasi_version 0.0.18
|
|
|
|
|
|
|
|
|
|
# histogram_c - assumed from timestamps
|
|
|
|
|
%global histogram_version 0.11.2
|
|
|
|
@ -167,7 +167,7 @@ ExclusiveArch: %{nodejs_arches}
|
|
|
|
|
Source0: node-v%{nodejs_version}-stripped.tar.gz
|
|
|
|
|
Source1: npmrc
|
|
|
|
|
Source2: btest402.js
|
|
|
|
|
Source3: https://github.com/unicode-org/icu/releases/download/release-%{icu_major}-%{icu_minor}/icu4c-%{icu_major}_%{icu_minor}-src.tgz
|
|
|
|
|
Source3: https://github.com/unicode-org/icu/releases/download/release-%{icu_major}-%{icu_minor}/icu4c-%{icu_major}_%{icu_minor}-src.zip
|
|
|
|
|
Source100: %{name}-tarball.sh
|
|
|
|
|
|
|
|
|
|
# The native module Requires generator remains in the nodejs SRPM, so it knows
|
|
|
|
@ -188,15 +188,13 @@ Source8: npmrc.builtin.in
|
|
|
|
|
Source101: cjs-module-lexer-1.2.2.tar.gz
|
|
|
|
|
# The WASM blob was made using wasi-sdk v11; compiler libraries are linked in.
|
|
|
|
|
# Version source: Makefile
|
|
|
|
|
Source102: https://github.com/WebAssembly/wasi-sdk/archive/wasi-sdk-11/wasi-sdk-wasi-sdk-11.tar.gz
|
|
|
|
|
Source102: https://github.com/WebAssembly/wasi-sdk/archive/wasi-sdk-11/wasi-sdk-11.0-linux.tar.gz
|
|
|
|
|
|
|
|
|
|
# Version: jq '.version' deps/undici/src/package.json
|
|
|
|
|
# Original: https://github.com/nodejs/undici/archive/refs/tags/v5.21.0.tar.gz
|
|
|
|
|
# Adjustments: rm -f undici-5.21.0/lib/llhttp/llhttp*.wasm*
|
|
|
|
|
Source111: undici-5.21.0.tar.gz
|
|
|
|
|
# The WASM blob was made using wasi-sdk v14; compiler libraries are linked in.
|
|
|
|
|
# Version source: build/Dockerfile
|
|
|
|
|
Source112: https://github.com/WebAssembly/wasi-sdk/archive/wasi-sdk-14/wasi-sdk-wasi-sdk-14.tar.gz
|
|
|
|
|
# Original: https://github.com/nodejs/undici/archive/refs/tags/v5.22.1.tar.gz
|
|
|
|
|
# Adjustments: rm -f undici-5.22.1/lib/llhttp/llhttp*.wasm
|
|
|
|
|
# Build uses alpine image, see alpine for sources for wasi-sdk
|
|
|
|
|
Source111: undici-5.22.1.tar.gz
|
|
|
|
|
|
|
|
|
|
# Disable running gyp on bundled deps we don't use
|
|
|
|
|
Patch1: 0001-Disable-running-gyp-on-shared-deps.patch
|
|
|
|
@ -444,7 +442,7 @@ export CFLAGS="%{optflags} ${extra_cflags[*]}" CXXFLAGS="%{optflags} ${extra_cfl
|
|
|
|
|
export LDFLAGS="%{build_ldflags}"
|
|
|
|
|
|
|
|
|
|
%{__python3} configure.py --prefix=%{_prefix} --verbose \
|
|
|
|
|
--shared-openssl \
|
|
|
|
|
--shared-openssl --openssl-conf-name=openssl_conf \
|
|
|
|
|
--shared-zlib \
|
|
|
|
|
--shared-brotli \
|
|
|
|
|
%{!?with_bundled:--shared-libuv} \
|
|
|
|
@ -464,7 +462,7 @@ make BUILDTYPE=Release %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
# Extract the ICU data and convert it to the appropriate endianness
|
|
|
|
|
pushd deps/
|
|
|
|
|
tar xfz %SOURCE3
|
|
|
|
|
unzip -a %{SOURCE3}
|
|
|
|
|
|
|
|
|
|
pushd icu/source
|
|
|
|
|
|
|
|
|
@ -734,9 +732,15 @@ end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 10 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1:18.16.1-1
|
|
|
|
|
* Sun Dec 10 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1:18.17.1-1
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Wed Aug 23 2023 Jan Staněk <jstanek@redhat.com> - 1:18.17.1-1
|
|
|
|
|
- Rebase to version 18.17.1
|
|
|
|
|
Resolves: rhbz#2228939
|
|
|
|
|
Resolves: CVE-2023-32002 CVE-2023-32006 CVE-2023-32559
|
|
|
|
|
- Specify proper OpenSSL configuration section build
|
|
|
|
|
|
|
|
|
|
* Wed Jul 12 2023 Jan Staněk <jstanek@redhat.com> - 1:18.16.1-1
|
|
|
|
|
- Rebase to 18.16.1
|
|
|
|
|
Resolves: rhbz#2188290 rhbz#2166926
|
|
|
|
|