Accepting request 1058736 from devel:languages:nodejs
- Update to NodejJS 18.13.0 LTS: * build: disable v8 snapshot compression by default * crypto: update root certificates * deps: update ICU to 72.1 * doc: + add doc-only deprecation for headers/trailers setters + add Rafael to the tsc + deprecate use of invalid ports in url.parse + deprecate url.parse() * lib: drop fetch experimental warning * net: add autoSelectFamily and autoSelectFamilyAttemptTimeout options * src: + add uvwasi version + add initial shadow realm support * test_runner: + add t.after() hook + don't use a symbol for runHook() * tls: + add "ca" property to certificate object * util: + add fast path for utf8 encoding + improve textdecoder decode performance + add MIME utilities - new_python3.patch, icu721_fixes.patch: upstreamed, removed - Update _constraints: * Less RAM for aarch64 and 32-bit arm * Use 'asimdrdm' cpu flag to use aarch64 workers where tests are more stable OBS-URL: https://build.opensuse.org/request/show/1058736 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs18?expand=0&rev=8
This commit is contained in:
commit
79cdb40253
@ -1,34 +1,34 @@
|
||||
adc237098880c85b3aacaf2dfbea86c3db065fa7e4cbf207b617a661f4627555 node-v18.12.1-aix-ppc64.tar.gz
|
||||
9857042e18a0530a19f22f29a38de4fed5608e32543216f9afb6edea8d0dfdd3 node-v18.12.1-darwin-arm64.tar.gz
|
||||
17f2e25d207d36d6b0964845062160d9ed16207c08d09af33b9a2fd046c5896f node-v18.12.1-darwin-arm64.tar.xz
|
||||
90ac0e8148f3fb52bcfc01d9f7d7963ce565dd0add0cd8d3e0698fbd7ecf1e5a node-v18.12.1-darwin-x64.tar.gz
|
||||
6c88d462550a024661e74e9377371d7e023321a652eafb3d14d58a866e6ac002 node-v18.12.1-darwin-x64.tar.xz
|
||||
9d55ee072ba6d5a141db092cef1a0f715f7d3fc938285a6d927a1d0a0c7442f7 node-v18.12.1-headers.tar.gz
|
||||
c16e93695b00520a085b999808883d40c0ec12759a9ee63448133060c3aab2eb node-v18.12.1-headers.tar.xz
|
||||
521587df6d2b9d9c524105c8f3f9d775dcfc5e7fbf7633e4455cc2e9af7d0ced node-v18.12.1-linux-arm64.tar.gz
|
||||
3904869935b7ecc51130b4b86486d2356539a174d11c9181180cab649f32cd2a node-v18.12.1-linux-arm64.tar.xz
|
||||
0c726bb061d10befb5e383e3e787446dc86ba99ae849fb24f27f88fee27433d5 node-v18.12.1-linux-armv7l.tar.gz
|
||||
d0131a764c0f44821fdacb3c3ab8b35b52af060a98ac7a150ec49d4c540be3d7 node-v18.12.1-linux-armv7l.tar.xz
|
||||
b6eb0af1311f6cb0349c7b7babc17bb32865a2eed6c7f304eddc111bf9576481 node-v18.12.1-linux-ppc64le.tar.gz
|
||||
9646cd3dbaf80828a7b420a9b80fd3be3ecf5d182e1c080c85397b9986a9c818 node-v18.12.1-linux-ppc64le.tar.xz
|
||||
28270961975e3c166e049d6ceff8cd7068802f54ddd7c9c12b6941ee129ead44 node-v18.12.1-linux-s390x.tar.gz
|
||||
c4672a02aaf5311d32a1bd3ec8a8607f03b2f692142b5fb305cc3562f9cb316f node-v18.12.1-linux-s390x.tar.xz
|
||||
a8fcacb8033504e6d704bdee821f7005ee3774db25c799bcf2a13b5bda7de172 node-v18.12.1-linux-x64.tar.gz
|
||||
4481a34bf32ddb9a9ff9540338539401320e8c3628af39929b4211ea3552a19e node-v18.12.1-linux-x64.tar.xz
|
||||
16acaf8d12c9f828fdd71cd499b324014e961c9d36d0d0f7a092863ce3100065 node-v18.12.1.pkg
|
||||
ba8174dda00d5b90943f37c6a180a1d37c861d91e04a4cb38dc1c0c74981c186 node-v18.12.1.tar.gz
|
||||
4fa406451bc52659a290e52cfdb2162a760bd549da4b8bbebe6a29f296d938df node-v18.12.1.tar.xz
|
||||
b8f73f9b7fa78aebf172893713b14908aa46585dbb88e333bf9c26102533a7f6 node-v18.12.1-win-x64.7z
|
||||
5478a5a2dce2803ae22327a9f8ae8494c1dec4a4beca5bbf897027380aecf4c7 node-v18.12.1-win-x64.zip
|
||||
a02b64d9a3f457e00a6138d6b51812b53dcc458632b228cba862081263d01d48 node-v18.12.1-win-x86.7z
|
||||
099b42d27b7d05fe6feb04fa525364e960aa348f8ad2d95fef64e1608ee843be node-v18.12.1-win-x86.zip
|
||||
68e5d77f23c71168b6066444c36c9489c4165db6619c6cf5ac96b48684831fdd node-v18.12.1-x64.msi
|
||||
860682f15893741ad18c7c257d79a51b875c1136d5d9e3cc55e8c7f273780fbc node-v18.12.1-x86.msi
|
||||
215180104150568025cc41ba9b234b8f6c6ad4c7f75f2e55a97de85cfb545060 win-x64/node.exe
|
||||
1bd376a23d181d85096d1a9c46e6be7fcd20d30f9b8f77a2a847d3dbff8e25c7 win-x64/node.lib
|
||||
2b76e27f6cb0d30467b71a0ac22b55b36f657f6b38e6c38e49e98de6a1e60de9 win-x64/node_pdb.7z
|
||||
fda35a2fd04d550831c5069d3b2f4024ec7d950e45dff9caa59e7b5f8b16e50c win-x64/node_pdb.zip
|
||||
4fedbbe7d609875d75c6361974828ff7d2bd65195b4e17472c8c407d991cd209 win-x86/node.exe
|
||||
b1c6dc670911d85ef1704fa56f4cc4c7e1071f4869778398e6d88b3b0b565978 win-x86/node.lib
|
||||
99f54dfb72497d84ad3326ee811c667187983707c0f12c96d96d0dd948b78152 win-x86/node_pdb.7z
|
||||
3fc2c909af7f8039459b86f42332310eb591b44970439445917ecd5fe295130e win-x86/node_pdb.zip
|
||||
9a479a5b7128ed8bb32c263f4519ca84ec7fa49efb90ebaf0cb25d34dd6d2667 node-v18.13.0-aix-ppc64.tar.gz
|
||||
418d535e64dbcbd628715180c2de4ffcecb8a84b81f233c60e6ab9f0d795c249 node-v18.13.0-darwin-arm64.tar.gz
|
||||
15210e2672040f375f7804ed1e665d67e2026e5160125358e4187d32f71bac62 node-v18.13.0-darwin-arm64.tar.xz
|
||||
8b57c4da4ff6cca19d5ef7953f8816e3406d1508a2e4ee7f997984b3b1d11b77 node-v18.13.0-darwin-x64.tar.gz
|
||||
37876b315d2b59506d10fccdb8d72cab9fe458c7911f263322b84265395db507 node-v18.13.0-darwin-x64.tar.xz
|
||||
50b6f8df7e817f13b1c5efc4223fca2ba40663bb95323ff86b36246be96bc9cd node-v18.13.0-headers.tar.gz
|
||||
79deeac99df8f0063010554c87bee61e7dec8a0de4c3c5f32734c6f8aa8daa7c node-v18.13.0-headers.tar.xz
|
||||
dc68e229425b941eeae0b1d59c66c680b56fd536d0ad2311e3fb009bd83661e4 node-v18.13.0-linux-arm64.tar.gz
|
||||
5b338667822341d1ea3b18d5b37d442a655829b9eafdc5f9008f00b8451ac148 node-v18.13.0-linux-arm64.tar.xz
|
||||
224a1ea21a354dfd567d0ac3c6f8f626f8ac534fc02ed9c11ed294e634767d35 node-v18.13.0-linux-armv7l.tar.gz
|
||||
52bfe3112bef2cd033ee25b416326411ccbfe0a41a55a9ef6a94012b363b51c7 node-v18.13.0-linux-armv7l.tar.xz
|
||||
4b306acfd7c36e5081d427c490e145824fe22b7fee32a12b481e9bc756e34172 node-v18.13.0-linux-ppc64le.tar.gz
|
||||
8671b892820c5375d5c0fa095c592b2a72891bc495f51c860a45f198a9967813 node-v18.13.0-linux-ppc64le.tar.xz
|
||||
242f94cd3655afefe225bbeaddcd7dec8c84f7976269afedcc88781e55a5f187 node-v18.13.0-linux-s390x.tar.gz
|
||||
4bd664712f08dbb9fa327ae4d9404a06f2a56c1c37553445549675f5c3c92a47 node-v18.13.0-linux-s390x.tar.xz
|
||||
2d2881cf860624b9fa9866670a65708c747d458213bdccaa8e7266b105d404ad node-v18.13.0-linux-x64.tar.gz
|
||||
7f5d6922a91986ef059ba8a4396aa435440adacfe6fc6fab60a857c8f2cf5e7a node-v18.13.0-linux-x64.tar.xz
|
||||
53b88cd86039dc23b1c14663e2ff0c0918166f17e878aded6a94a6597c1ef8fa node-v18.13.0.pkg
|
||||
61ae68446438c2479e466d551b6e8c898097d56722957b1a8466ec8476a590d2 node-v18.13.0.tar.gz
|
||||
fd4ac562e01d172896e3a959bd59552dbf647331c90d726f8d3471683dd3da68 node-v18.13.0.tar.xz
|
||||
ceac916b111c8a0f04dd0621d7c48cd2a91848ff4fc8e35ff339138350dec801 node-v18.13.0-win-x64.7z
|
||||
29c99ad1167ddbd72f2b15e91b560e36ac785b1873ba6791ab50d9d62f1957e2 node-v18.13.0-win-x64.zip
|
||||
e3cdf849a38644eb721f671eb1bde1a0e0d5439e04df106efe80c8c8ee175a49 node-v18.13.0-win-x86.7z
|
||||
caf703a2e118ec064d3542cb56d4404bf19e64fd357978bc504c0e27736c5420 node-v18.13.0-win-x86.zip
|
||||
248f975c8e93f1eed659c4b8603eb2ea9ab09c6174f02444b85fa33c7ea4cf0f node-v18.13.0-x64.msi
|
||||
5cfb5e5c17c36a85f6883c76754209f36af193846b60ef75998f979cb5e3bbdb node-v18.13.0-x86.msi
|
||||
0dd4b623041704918ab97c85e096aa37d14f64db82f54364a7064c7184691545 win-x64/node.exe
|
||||
9d36b6e078ffc0bf940bc0497d8e7d8485c50be6f306f46625bf86fcfa57e934 win-x64/node.lib
|
||||
199f9b5f1829b4c1f02bf13fc1c176f8bedb30280e81bbca2cf8478aaca5efa4 win-x64/node_pdb.7z
|
||||
43a8fce64f242d8e261fbb1cfb0bec1fba62df4bfd242f53c0a01057fa2cdcd4 win-x64/node_pdb.zip
|
||||
80eafa18b85001b1773471414150c96ad52e0dd6985a4c25d7d5083fb04ae4fd win-x86/node.exe
|
||||
e560d516592cf9238220905fc86314ce367a416e576c11f733431f8dd1573241 win-x86/node.lib
|
||||
b1f8b8bda173e108bd051f6c54ead1ed81880936703f9effede09aca2c7ae764 win-x86/node_pdb.7z
|
||||
7868ea31549c604a34a14474c95a8f8920e45963a5740b03449f46715bc4f778 win-x86/node_pdb.zip
|
||||
|
Binary file not shown.
24
_constraints
24
_constraints
@ -8,4 +8,28 @@
|
||||
<size unit="M">10000</size>
|
||||
</physicalmemory>
|
||||
</hardware>
|
||||
<overwrite>
|
||||
<conditions>
|
||||
<arch>aarch64</arch>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<cpu>
|
||||
<flag>asimdrdm</flag>
|
||||
</cpu>
|
||||
<physicalmemory>
|
||||
<size unit="G">6</size>
|
||||
</physicalmemory>
|
||||
</hardware>
|
||||
</overwrite>
|
||||
<overwrite>
|
||||
<conditions>
|
||||
<arch>armv6l</arch>
|
||||
<arch>armv7l</arch>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<physicalmemory>
|
||||
<size unit="G">5</size>
|
||||
</physicalmemory>
|
||||
</hardware>
|
||||
</overwrite>
|
||||
</constraints>
|
||||
|
57389
icu721_fixes.patch
57389
icu721_fixes.patch
File diff suppressed because it is too large
Load Diff
@ -1,21 +0,0 @@
|
||||
Index: node-v18.9.0/configure
|
||||
===================================================================
|
||||
--- node-v18.9.0.orig/configure
|
||||
+++ node-v18.9.0/configure
|
||||
@@ -4,6 +4,7 @@
|
||||
# Note that the mix of single and double quotes is intentional,
|
||||
# as is the fact that the ] goes on a new line.
|
||||
_=[ 'exec' '/bin/sh' '-c' '''
|
||||
+command -v python3.11 >/dev/null && exec python3.11 "$0" "$@"
|
||||
command -v python3.10 >/dev/null && exec python3.10 "$0" "$@"
|
||||
command -v python3.9 >/dev/null && exec python3.9 "$0" "$@"
|
||||
command -v python3.8 >/dev/null && exec python3.8 "$0" "$@"
|
||||
@@ -22,7 +23,7 @@ except ImportError:
|
||||
from distutils.spawn import find_executable as which
|
||||
|
||||
print('Node.js configure: Found Python {}.{}.{}...'.format(*sys.version_info))
|
||||
-acceptable_pythons = ((3, 10), (3, 9), (3, 8), (3, 7), (3, 6), (3, 4))
|
||||
+acceptable_pythons = ((3, 11), (3, 10), (3, 9), (3, 8), (3, 7), (3, 6), (3, 4))
|
||||
if sys.version_info[:2] in acceptable_pythons:
|
||||
import configure
|
||||
else:
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f1c7a232727025211e2c80051c3d4a7b6984e19cc90c1f9943f1d03c05811a41
|
||||
size 271084
|
||||
oid sha256:26d4b1df65e00bb998abc7adc133108259c1ca206617c13f917c080a5571e37d
|
||||
size 331224
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4fa406451bc52659a290e52cfdb2162a760bd549da4b8bbebe6a29f296d938df
|
||||
size 38454588
|
3
node-v18.13.0.tar.xz
Normal file
3
node-v18.13.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd4ac562e01d172896e3a959bd59552dbf647331c90d726f8d3471683dd3da68
|
||||
size 40324048
|
@ -1,3 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 16 14:57:58 UTC 2023 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to NodejJS 18.13.0 LTS:
|
||||
* build: disable v8 snapshot compression by default
|
||||
* crypto: update root certificates
|
||||
* deps: update ICU to 72.1
|
||||
* doc:
|
||||
+ add doc-only deprecation for headers/trailers setters
|
||||
+ add Rafael to the tsc
|
||||
+ deprecate use of invalid ports in url.parse
|
||||
+ deprecate url.parse()
|
||||
* lib: drop fetch experimental warning
|
||||
* net: add autoSelectFamily and autoSelectFamilyAttemptTimeout options
|
||||
* src:
|
||||
+ add uvwasi version
|
||||
+ add initial shadow realm support
|
||||
* test_runner:
|
||||
+ add t.after() hook
|
||||
+ don't use a symbol for runHook()
|
||||
* tls:
|
||||
+ add "ca" property to certificate object
|
||||
* util:
|
||||
+ add fast path for utf8 encoding
|
||||
+ improve textdecoder decode performance
|
||||
+ add MIME utilities
|
||||
|
||||
- new_python3.patch, icu721_fixes.patch: upstreamed, removed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 23 11:31:12 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Update _constraints:
|
||||
* Less RAM for aarch64 and 32-bit arm
|
||||
* Use 'asimdrdm' cpu flag to use aarch64 workers where tests
|
||||
are more stable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 10 08:18:42 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
%endif
|
||||
|
||||
Name: nodejs18
|
||||
Version: 18.12.1
|
||||
Version: 18.13.0
|
||||
Release: 0
|
||||
|
||||
# Double DWZ memory limits
|
||||
@ -131,7 +131,7 @@ Source3: nodejs.keyring
|
||||
|
||||
# Python 3.4 compatible node-gyp
|
||||
### https://github.com/nodejs/node-gyp.git
|
||||
### git archive v7.1.2 gyp/ | xz > node-gyp_7.1.2.tar.xz
|
||||
### git archive v7.1.2 | xz > node-gyp_7.1.2.tar.xz
|
||||
Source5: node-gyp_7.1.2.tar.xz
|
||||
# Only required to run unit tests in NodeJS 10+
|
||||
Source10: update_npm_tarball.sh
|
||||
@ -170,9 +170,7 @@ Patch133: rsa-pss-revert.patch
|
||||
# Use versioned binaries and paths
|
||||
Patch200: versioned.patch
|
||||
|
||||
Patch304: new_python3.patch
|
||||
Patch305: qemu_timeouts_arches.patch
|
||||
Patch306: icu721_fixes.patch
|
||||
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: fdupes
|
||||
@ -268,7 +266,8 @@ BuildRequires: group(nobody)
|
||||
|
||||
%if ! 0%{with intree_openssl}
|
||||
|
||||
BuildRequires: pkgconfig(openssl) >= %{openssl_req_ver}
|
||||
BuildRequires: libopenssl-1_1-devel
|
||||
#BuildRequires: (pkgconfig(openssl) >= %{openssl_req_ver} and pkgconfig(openssl) < 3.0)
|
||||
|
||||
# require patched openssl library on SLES for nodejs16
|
||||
%if 0%{?suse_version} && "%{pkg_version openssl-1_1}" != "~~~"
|
||||
@ -279,11 +278,11 @@ Requires: openssl-has-RSA_get0_pss_params
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?suse_version} >= 1500
|
||||
BuildRequires: openssl >= %{openssl_req_ver}
|
||||
%else
|
||||
#%if 0%{?suse_version} >= 1500
|
||||
#iBuildRequires: openssl >= %{openssl_req_ver}
|
||||
#%else
|
||||
BuildRequires: openssl-1_1 >= %{openssl_req_ver}
|
||||
%endif
|
||||
#%endif
|
||||
|
||||
BuildRequires: libopenssl1_1-hmac
|
||||
# /suse_version
|
||||
@ -310,13 +309,13 @@ Provides: bundled(libcares2) = 1.18.1
|
||||
%if ! 0%{with intree_icu}
|
||||
BuildRequires: pkgconfig(icu-i18n) >= 69
|
||||
%else
|
||||
Provides: bundled(icu) = 71.1
|
||||
Provides: bundled(icu) = 72.1
|
||||
%endif
|
||||
|
||||
%if ! 0%{with intree_nghttp2}
|
||||
BuildRequires: libnghttp2-devel >= 1.41.0
|
||||
%else
|
||||
Provides: bundled(nghttp2) = 1.47.0
|
||||
Provides: bundled(nghttp2) = 1.51.0
|
||||
%endif
|
||||
|
||||
%if 0%{with valgrind_tests}
|
||||
@ -366,8 +365,8 @@ ExclusiveArch: not_buildable
|
||||
%endif
|
||||
|
||||
Provides: bundled(uvwasi) = 0.0.13
|
||||
Provides: bundled(libuv) = 1.43.0
|
||||
Provides: bundled(v8) = 10.2.154.15
|
||||
Provides: bundled(libuv) = 1.44.2
|
||||
Provides: bundled(v8) = 10.2.154.23
|
||||
%if %{with intree_brotli}
|
||||
Provides: bundled(brotli) = 1.0.9
|
||||
%else
|
||||
@ -377,14 +376,16 @@ BuildRequires: pkgconfig(libbrotlidec)
|
||||
|
||||
Provides: bundled(llhttp) = 6.0.10
|
||||
Provides: bundled(ngtcp2) = 0.8.1
|
||||
Provides: bundled(base64) = 0.5.0
|
||||
|
||||
Provides: bundled(node-acorn) = 8.8.0
|
||||
|
||||
Provides: bundled(node-acorn) = 8.8.1
|
||||
Provides: bundled(node-acorn-walk) = 8.2.0
|
||||
Provides: bundled(node-busboy) = 1.6.0
|
||||
Provides: bundled(node-cjs-module-lexer) = 1.2.2
|
||||
Provides: bundled(node-corepack) = 0.14.2
|
||||
Provides: bundled(node-corepack) = 0.15.2
|
||||
Provides: bundled(node-streamsearch) = 1.1.0
|
||||
Provides: bundled(node-undici) = 5.11.0
|
||||
Provides: bundled(node-undici) = 5.13.0
|
||||
|
||||
%description
|
||||
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js
|
||||
@ -413,7 +414,7 @@ Requires: nodejs-common
|
||||
Requires: nodejs18 = %{version}
|
||||
Provides: nodejs-npm = %{version}
|
||||
Obsoletes: nodejs-npm < 4.0.0
|
||||
Provides: npm(npm) = 8.19.2
|
||||
Provides: npm(npm) = 8.19.3
|
||||
Provides: npm = %{version}
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%if %{node_version_number} >= 10
|
||||
@ -476,7 +477,7 @@ Provides: bundled(node-graceful-fs) = 4.2.10
|
||||
Provides: bundled(node-has) = 1.0.3
|
||||
Provides: bundled(node-has-flag) = 4.0.0
|
||||
Provides: bundled(node-has-unicode) = 2.0.1
|
||||
Provides: bundled(node-hosted-git-info) = 5.1.0
|
||||
Provides: bundled(node-hosted-git-info) = 5.2.1
|
||||
Provides: bundled(node-http-cache-semantics) = 4.1.0
|
||||
Provides: bundled(node-http-proxy-agent) = 5.0.0
|
||||
Provides: bundled(node-https-proxy-agent) = 5.0.1
|
||||
@ -504,8 +505,8 @@ Provides: bundled(node-just-diff) = 5.1.1
|
||||
Provides: bundled(node-just-diff-apply) = 5.4.1
|
||||
Provides: bundled(node-libnpmaccess) = 6.0.4
|
||||
Provides: bundled(node-libnpmdiff) = 4.0.5
|
||||
Provides: bundled(node-libnpmexec) = 4.0.13
|
||||
Provides: bundled(node-libnpmfund) = 3.0.4
|
||||
Provides: bundled(node-libnpmexec) = 4.0.14
|
||||
Provides: bundled(node-libnpmfund) = 3.0.5
|
||||
Provides: bundled(node-libnpmhook) = 8.0.4
|
||||
Provides: bundled(node-libnpmorg) = 4.0.4
|
||||
Provides: bundled(node-libnpmpack) = 4.1.3
|
||||
@ -639,17 +640,29 @@ echo "`grep node-v%{version}.tar.xz %{S:1} | head -n1 | cut -c1-64` %{S:0}" | s
|
||||
|
||||
%if %{node_version_number} <= 10
|
||||
rm -r deps/npm/*
|
||||
tar zxf %{SOURCE9} -C deps/npm --strip-components=1
|
||||
tar Jxf %{SOURCE90} -C deps/npm
|
||||
pushd deps/npm
|
||||
tar zxf %{SOURCE9} --strip-components=1
|
||||
tar Jxf %{SOURCE90}
|
||||
%endif
|
||||
|
||||
%if %{node_version_number} >= 10
|
||||
tar Jxf %{SOURCE11}
|
||||
%endif
|
||||
|
||||
# downgrade node-gyp to last version that supports python 3.4 for SLE12
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1500 && 0%{node_version_number} >= 16
|
||||
rm -r deps/npm/node_modules/node-gyp
|
||||
mkdir deps/npm/node_modules/node-gyp
|
||||
pushd deps/npm/node_modules/node-gyp
|
||||
tar Jxf %{SOURCE5}
|
||||
popd
|
||||
%endif
|
||||
|
||||
%patch1 -p1
|
||||
%patch3 -p1
|
||||
%if %{node_version_number} <= 12 && 0%{?suse_version} < 1500
|
||||
%patch5 -p1
|
||||
%endif
|
||||
%patch7 -p1
|
||||
%if 0%{with valgrind_tests}
|
||||
%endif
|
||||
@ -670,9 +683,7 @@ tar Jxf %{SOURCE11}
|
||||
%endif
|
||||
%patch200 -p1
|
||||
|
||||
%patch304 -p1
|
||||
%patch305 -p1
|
||||
%patch306 -p1
|
||||
|
||||
%if %{node_version_number} <= 12
|
||||
# minimist security update - patch50
|
||||
@ -686,12 +697,6 @@ find -name \*~ -print0 -delete
|
||||
# abnormalities from patching
|
||||
find \( -name \*.js.orig -or -name \*.md.orig -or -name \*.1.orig \) -delete
|
||||
|
||||
# downgrade node-gyp to last version that supports python 3.4 for SLE12
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1500 && 0%{node_version_number} >= 16
|
||||
rm -r deps/npm/node_modules/node-gyp
|
||||
mkdir deps/npm/node_modules/node-gyp
|
||||
tar -C deps/npm/node_modules/node-gyp -Jxf %{SOURCE5}
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
@ -971,6 +976,7 @@ make test-ci
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%license LICENSE
|
||||
%doc doc/changelogs/CHANGELOG_V%{node_version_number}.md
|
||||
%doc AUTHORS *.md
|
||||
%doc deps/v8/tools/gdbinit
|
||||
%dir %{_libdir}/node_modules
|
||||
|
@ -8,10 +8,10 @@ management via update_alternatives.
|
||||
|
||||
This is also important for generation of binary
|
||||
modules for multiple versions of NodeJS
|
||||
Index: node-v18.11.0/Makefile
|
||||
Index: node-v18.13.0/Makefile
|
||||
===================================================================
|
||||
--- node-v18.11.0.orig/Makefile
|
||||
+++ node-v18.11.0/Makefile
|
||||
--- node-v18.13.0.orig/Makefile
|
||||
+++ node-v18.13.0/Makefile
|
||||
@@ -76,7 +76,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT
|
||||
EXEEXT := $(shell $(PYTHON) -c \
|
||||
"import sys; print('.exe' if sys.platform == 'win32' else '')")
|
||||
@ -21,10 +21,10 @@ Index: node-v18.11.0/Makefile
|
||||
NODE ?= ./$(NODE_EXE)
|
||||
NODE_G_EXE = node_g$(EXEEXT)
|
||||
NPM ?= ./deps/npm/bin/npm-cli.js
|
||||
Index: node-v18.11.0/tools/install.py
|
||||
Index: node-v18.13.0/tools/install.py
|
||||
===================================================================
|
||||
--- node-v18.11.0.orig/tools/install.py
|
||||
+++ node-v18.11.0/tools/install.py
|
||||
--- node-v18.13.0.orig/tools/install.py
|
||||
+++ node-v18.13.0/tools/install.py
|
||||
@@ -86,7 +86,7 @@ def uninstall(paths, dst):
|
||||
try_remove(path, dst)
|
||||
|
||||
@ -122,11 +122,11 @@ Index: node-v18.11.0/tools/install.py
|
||||
|
||||
if sys.platform == 'zos':
|
||||
zoslibinc = os.environ.get('ZOSLIB_INCLUDES')
|
||||
Index: node-v18.11.0/doc/node.1
|
||||
Index: node-v18.13.0/doc/node.1
|
||||
===================================================================
|
||||
--- node-v18.11.0.orig/doc/node.1
|
||||
+++ node-v18.11.0/doc/node.1
|
||||
@@ -30,24 +30,24 @@
|
||||
--- node-v18.13.0.orig/doc/node.1
|
||||
+++ node-v18.13.0/doc/node.1
|
||||
@@ -31,24 +31,24 @@
|
||||
.Dt NODE 1
|
||||
.
|
||||
.Sh NAME
|
||||
@ -155,10 +155,10 @@ Index: node-v18.11.0/doc/node.1
|
||||
.Op Fl -v8-options
|
||||
.
|
||||
.\"======================================================================
|
||||
Index: node-v18.11.0/src/node.stp
|
||||
Index: node-v18.13.0/src/node.stp
|
||||
===================================================================
|
||||
--- node-v18.11.0.orig/src/node.stp
|
||||
+++ node-v18.11.0/src/node.stp
|
||||
--- node-v18.13.0.orig/src/node.stp
|
||||
+++ node-v18.13.0/src/node.stp
|
||||
@@ -19,7 +19,7 @@
|
||||
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
||||
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@ -231,19 +231,19 @@ Index: node-v18.11.0/src/node.stp
|
||||
{
|
||||
scavenge = 1 << 0;
|
||||
compact = 1 << 1;
|
||||
Index: node-v18.11.0/deps/npm/man/man1/npm.1
|
||||
Index: node-v18.13.0/deps/npm/man/man1/npm.1
|
||||
===================================================================
|
||||
--- node-v18.11.0.orig/deps/npm/man/man1/npm.1
|
||||
+++ node-v18.11.0/deps/npm/man/man1/npm.1
|
||||
--- node-v18.13.0.orig/deps/npm/man/man1/npm.1
|
||||
+++ node-v18.13.0/deps/npm/man/man1/npm.1
|
||||
@@ -1,6 +1,6 @@
|
||||
.TH "NPM" "1" "September 2022" "" ""
|
||||
.TH "NPM" "1" "November 2022" "" ""
|
||||
.SH "NAME"
|
||||
-\fBnpm\fR \- javascript package manager
|
||||
+\fBnpm18\fR \- javascript package manager
|
||||
.SS Synopsis
|
||||
.SS Version
|
||||
.P
|
||||
@@ -15,7 +15,7 @@ It is extremely configurable to support
|
||||
.RS 2
|
||||
@@ -21,7 +21,7 @@ It is extremely configurable to support
|
||||
commonly, you use it to publish, discover, install, and develop node
|
||||
programs\.
|
||||
.P
|
||||
@ -252,7 +252,7 @@ Index: node-v18.11.0/deps/npm/man/man1/npm.1
|
||||
.SS Important
|
||||
.P
|
||||
npm comes preconfigured to use npm's public registry at
|
||||
@@ -31,14 +31,14 @@ their terms of use\.
|
||||
@@ -37,14 +37,14 @@ their terms of use\.
|
||||
You probably got npm because you want to install stuff\.
|
||||
.P
|
||||
The very first thing you will most likely want to run in any node
|
||||
@ -261,7 +261,7 @@ Index: node-v18.11.0/deps/npm/man/man1/npm.1
|
||||
.P
|
||||
-You can also run \fBnpm install blerg\fP to install the latest version of
|
||||
+You can also run \fBnpm18 install blerg\fP to install the latest version of
|
||||
"blerg"\. Check out npm help \fBinstall\fP for more
|
||||
"blerg"\. Check out npm help install for more
|
||||
info\. It can do a lot of stuff\.
|
||||
.P
|
||||
-Use the \fBnpm search\fP command to show everything that's available in the
|
||||
@ -271,24 +271,14 @@ Index: node-v18.11.0/deps/npm/man/man1/npm.1
|
||||
.SS Dependencies
|
||||
.P
|
||||
If a package lists a dependency using a git URL, npm will install that
|
||||
@@ -87,7 +87,7 @@ npm help \fBpackage\.json\fP\|\.
|
||||
.IP \(bu 2
|
||||
link:
|
||||
Links your current working code into Node's path, so that you don't
|
||||
-have to reinstall every time you make a change\. Use npm help \fBnpm
|
||||
+have to reinstall every time you make a change\. Use npm help \fBnpm18
|
||||
link\fP to do this\.
|
||||
.IP \(bu 2
|
||||
install:
|
||||
@@ -170,18 +170,18 @@ https://github\.com/npm/rfcs
|
||||
@@ -175,18 +175,18 @@ https://github\.com/npm/rfcs
|
||||
.SS See Also
|
||||
.RS 0
|
||||
.IP \(bu 2
|
||||
-npm help help
|
||||
+npm18 help help
|
||||
.IP \(bu 2
|
||||
-npm help package\.json
|
||||
+npm18 help package\.json
|
||||
package\.json \fI/configuring\-npm/package\-json\fR
|
||||
.IP \(bu 2
|
||||
-npm help npmrc
|
||||
+npm18 help npmrc
|
||||
@ -306,10 +296,10 @@ Index: node-v18.11.0/deps/npm/man/man1/npm.1
|
||||
+npm18 help publish
|
||||
|
||||
.RE
|
||||
Index: node-v18.11.0/src/node_main.cc
|
||||
Index: node-v18.13.0/src/node_main.cc
|
||||
===================================================================
|
||||
--- node-v18.11.0.orig/src/node_main.cc
|
||||
+++ node-v18.11.0/src/node_main.cc
|
||||
--- node-v18.13.0.orig/src/node_main.cc
|
||||
+++ node-v18.13.0/src/node_main.cc
|
||||
@@ -90,6 +90,7 @@ int wmain(int argc, wchar_t* wargv[]) {
|
||||
// UNIX
|
||||
|
||||
@ -318,11 +308,11 @@ Index: node-v18.11.0/src/node_main.cc
|
||||
return node::Start(argc, argv);
|
||||
}
|
||||
#endif
|
||||
Index: node-v18.11.0/tools/test.py
|
||||
Index: node-v18.13.0/tools/test.py
|
||||
===================================================================
|
||||
--- node-v18.11.0.orig/tools/test.py
|
||||
+++ node-v18.11.0/tools/test.py
|
||||
@@ -948,7 +948,7 @@ class Context(object):
|
||||
--- node-v18.13.0.orig/tools/test.py
|
||||
+++ node-v18.13.0/tools/test.py
|
||||
@@ -949,7 +949,7 @@ class Context(object):
|
||||
if self.vm is not None:
|
||||
return self.vm
|
||||
if arch == 'none':
|
||||
@ -331,14 +321,14 @@ Index: node-v18.11.0/tools/test.py
|
||||
else:
|
||||
name = 'out/%s.%s/node' % (arch, mode)
|
||||
|
||||
Index: node-v18.11.0/node.gyp
|
||||
Index: node-v18.13.0/node.gyp
|
||||
===================================================================
|
||||
--- node-v18.11.0.orig/node.gyp
|
||||
+++ node-v18.11.0/node.gyp
|
||||
@@ -24,8 +24,8 @@
|
||||
'node_use_openssl%': 'true',
|
||||
--- node-v18.13.0.orig/node.gyp
|
||||
+++ node-v18.13.0/node.gyp
|
||||
@@ -25,8 +25,8 @@
|
||||
'node_shared_openssl%': 'false',
|
||||
'node_v8_options%': '',
|
||||
'node_enable_v8_vtunejit%': 'false',
|
||||
- 'node_core_target_name%': 'node',
|
||||
- 'node_lib_target_name%': 'libnode',
|
||||
+ 'node_core_target_name%': 'node18',
|
||||
@ -346,10 +336,10 @@ Index: node-v18.11.0/node.gyp
|
||||
'node_intermediate_lib_type%': 'static_library',
|
||||
'node_builtin_modules_path%': '',
|
||||
# We list the deps/ files out instead of globbing them in js2c.py since we
|
||||
Index: node-v18.11.0/deps/npm/man/man1/npx.1
|
||||
Index: node-v18.13.0/deps/npm/man/man1/npx.1
|
||||
===================================================================
|
||||
--- node-v18.11.0.orig/deps/npm/man/man1/npx.1
|
||||
+++ node-v18.11.0/deps/npm/man/man1/npx.1
|
||||
--- node-v18.13.0.orig/deps/npm/man/man1/npx.1
|
||||
+++ node-v18.13.0/deps/npm/man/man1/npx.1
|
||||
@@ -5,10 +5,10 @@
|
||||
.P
|
||||
.RS 2
|
||||
|
Loading…
Reference in New Issue
Block a user