Commit graph

648 commits

Author SHA1 Message Date
Stephen Gallagher
17860dee0a
source-script: Install missing packages
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-05-17 14:13:17 -04:00
Stephen Gallagher
bb35fed7e2
Fix incorrect epoch in v8-devel dependency
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-05-06 09:24:02 -04:00
Stephen Gallagher
475401441a
Update to Node.js 18.1.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V18.md#18.1.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-05-05 15:54:17 -04:00
Stephen Gallagher
b4aea5cfc6
-devel packages should explicitly depend on -libs
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-04-29 10:20:43 -04:00
Stephen Gallagher
003ed11512
Fix reversed conditional for OpenSSL
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-04-29 09:32:23 -04:00
Stephen Gallagher
6a5af18121
First release of 18.0.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-04-28 14:48:05 -04:00
Stephen Gallagher
a898383268
nodejs-sources.sh: Fix ICU version detection
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-04-28 11:23:17 -04:00
Stephen Gallagher
f36552580f
Update to Node.js 16.15.0
Stop carrying full ICU sources now that the binary data is available
Properly version the v8 virtual Provides
Bundle nghttp2

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-04-27 19:13:00 -04:00
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
Stephen Gallagher
b247312735
Additional i18n test
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-03-17 12:20:29 -04:00
Zuzana Svetlikova
644b58f4ba Build without corepack 2022-03-03 14:34:41 +01:00
Stephen Gallagher
142266e3ff
Actually add gating.yaml
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-02-15 10:18:11 -05: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
e752a0f3a7
Update package.cfg post-branch
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-02-08 15:55:58 -05: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
0a43c64615
Merge branch 'epel7' into epel7-merge 2022-01-18 09:10:42 -05:00
1dc586df16 Unretirement request: https://pagure.io/releng/issue/10541 2022-01-18 14:38:23 +01: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
20609b0988
Merge branch 'epel7' into epel7-merge 2022-01-17 09:36:10 -05:00
Stephen Gallagher
9fe52744a2
Node.js 6.x is years beyond its supported life 2022-01-14 15:55:11 -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