Commit Graph

490 Commits

Author SHA1 Message Date
Jan Staněk
a6cf62efad
fixup! unify configure.py calls into single command 2022-04-19 15:53:11 +02:00
Jan Staněk
0190dc1b6f
decouple dependency bundling from bootstrapping
We probably should stop (ab)using the bootstrap macro for module builds
with bundled dependencies. This patch decouples one from the other;
use --with=bundled for just bundling
and --with=bootstrap for full bootstrapping.
2022-04-19 14:50:39 +02:00
Jan Staněk
f9d99b4340
refactor boostrapping sections
- split sections per topic
- do not nest if macros
- use %without where appropriate
2022-04-04 16:42:54 +02:00
Jan Staněk
d0e0545474
unify configure.py calls into single command
This should fix and prevent bugs resulting from only adding a configure
option to either bootstrap or non-bootstrap variant when the intention
was to add it to both.

Resolves: rhbz#2009880
2022-04-04 14:48:57 +02:00
Jan Staněk
975cd082a0
prepare new release 2022-04-04 14:40:57 +02:00
Stephen Gallagher
22ea0f9dcf
Add Conflicts: v8-314-devel
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-03-18 09:19:46 -04:00
Stephen Gallagher
37e63a09a3
Update to Node.js 16.14.1
Drop corepack

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-03-17 12:26:51 -04:00
Stephen Gallagher
823115314c
Finish dropping corepack
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-03-17 12:26:50 -04:00
Zuzana Svetlikova
644b58f4ba Build without corepack 2022-03-03 14:34:41 +01:00
Zuzana Svetlikova
7770565953 Replace explicit version of npm in %%check with variable and make build fail if it doesn't match 2022-02-09 12:18:48 +01:00
Stephen Gallagher
0ee3e7e83c
Update to Node.js 16.14.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-02-08 15:55:05 -05:00
Stephen Gallagher
7a4a4a4518
Package new logging(6) manpage
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-02-04 07:52:33 -05:00
Stephen Gallagher
b699bdb677
Update npm to 8.3.1 (CVE-2021-43616)
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-02-03 16:25:10 -05:00
Stephen Gallagher
56f025de66
Fix incorrect version Provides: for npm (bz#2049873)
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-02-02 16:08:00 -05:00
Stephen Gallagher
a04bf23c79
Rebuild for more architectures
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-01-31 16:18:12 -05:00
Stephen Gallagher
a83c6d5168
Merge remote-tracking branch 'origin/rawhide' into 16 2022-01-31 10:42:25 -05:00
Stephen Gallagher
f0d01eb002
Tweak some dependencies on EPEL 7 (bz2048589)
Add (Provides: bundled(zlib))

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-01-31 10:40:09 -05:00
Fedora Release Engineering
f42688b217 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 21:17:22 +00:00
Stephen Gallagher
6198b7db15
Bundle zlib on EPEL 7
RHEL 7 has zlib 1.2.7, which is too old for NPM.

RHEL 7 is upgrading from 4.x, so we need to re-add the pretrans
scriptlet for npm.

Also clean up and simplify some of the various version macros.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-01-19 14:13:28 -05:00
Stephen Gallagher
497f09bac4
Support building Node.js 16.x for EPEL 7
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-01-17 19:12:55 -05:00
Stephen Gallagher
97203e0629
Improper handling of URI Subject Alternative Names (Medium)(CVE-2021-44531)
Certificate Verification Bypass via String Injection (Medium)(CVE-2021-44532)
Incorrect handling of certificate subject and issuer fields (Medium)(CVE-2021-44533)
Prototype pollution via `console.table` properties (Low)(CVE-2022-21824)

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-01-11 14:24:23 -05:00
Stephen Gallagher
87f93eb0ac
Enable building for EPEL 8 modules
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-12-02 11:39:41 -05:00
Stephen Gallagher
7a3f77a0c3
Update to 16.13.1
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.13.1
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-12-02 08:06:21 -05:00
Stephen Gallagher
39f6a05ac8
Fix release number
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-11-29 16:57:55 -05:00
Honza Horak
23764b6e32
Make sure binary node-gyp is executable
This is the same change as already applied in CentOS Stream 9:
https://gitlab.com/redhat/centos-stream/rpms/nodejs/-/blob/c9s/nodejs.spec#L570

Resolves: #2026615
2021-11-29 16:56:01 -05:00
Stephen Gallagher
075be12840
Revert "use python2 for building on EPEL 8"
This reverts commit af7e633b53.
2021-11-29 16:54:59 -05:00
Stephen Gallagher
4eee8bba8d
Fix missing bundled provides
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-11-08 10:32:45 -05:00
Stephen Gallagher
af7e633b53
use python2 for building on EPEL 8
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-11-08 10:13:42 -05:00
Stephen Gallagher
da1ef7a474
Fix changelog date
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-11-08 10:10:30 -05:00
Stephen Gallagher
a2ee1ccfdd
Update to 16.13.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.13.0
Add support for epel8

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-11-05 14:56:57 -04:00
Stephen Gallagher
aba90e54b0
Update to 16.12.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.12.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-10-25 09:58:28 -04:00
Stephen Gallagher
4c556b450b
Update to 16.11.1
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.11.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.11.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-10-13 15:11:35 -04:00
Stephen Gallagher
99c49fc16f
Drop unintended ccache usage
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-09-23 16:23:19 -04:00
Stephen Gallagher
e13a2ee556
Update to 16.10.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.10.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-09-23 16:16:56 -04:00
Stephen Gallagher
0787dcc5e4
Correct the bad merge of corepack fix
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-09-16 14:29:12 -04:00
Stephen Gallagher
01e00d5acc
Merge branch '16' into rawhide 2021-09-14 16:44:20 -04:00
Stephen Gallagher
8d2c8a7748
Drop auto-dependency on PowerShell introduced by corepack
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-09-14 13:25:22 -04:00
Sahana Prasad
e43df0067a Rebuilt with OpenSSL 3.0.0 2021-09-14 19:09:14 +02:00
Stephen Gallagher
97563f52cd
Update to 16.9.1
Add experimental 'corepack' tool
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.9.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.9.1

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-09-13 17:05:10 -04:00
Stephen Gallagher
d4c00004d5
Update to 16.8.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.8.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.7.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-08-31 13:57:07 -04:00
Stephen Gallagher
41ef8447a8
Update to 16.6.2
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.6.2

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-08-11 16:36:32 -04:00
Stephen Gallagher
a659677e3a
Update to 16.6.1
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.6.1
Fixes v8 regression introduced in 16.6.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-08-03 11:13:30 -04:00
Stephen Gallagher
72af3e7809
Update to 16.6.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.6.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-08-02 08:59:07 -04:00
Fedora Release Engineering
368b5190bc - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 16:12:25 +00:00
Stephen Gallagher
9285d83020
Update to 16.5.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.5.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-07-20 16:08:20 -04:00
Stephen Gallagher
5e958a4055
Re-add support for v8 development headers
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-07-02 09:25:27 -04:00
Stephen Gallagher
7b85cf7acc
Update to 16.4.1
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.4.1

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-07-01 14:07:44 -04:00
Stephen Gallagher
86d13afe92
Use system version of jinja2 during build
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-06-24 10:15:22 -04:00
Stephen Gallagher
4057b49b1e
Update to 16.4.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.4.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-06-23 16:24:50 -04:00
Stephen Gallagher
f02a2195c9
Update to 16.3.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.3.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-06-04 10:55:20 -04:00