Commit Graph

522 Commits

Author SHA1 Message Date
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
Stephen Gallagher
18a648f82c
Update to 16.2.0
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.2.0
Fix changelog version numbers

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-05-19 09:17:00 -04:00
Stephen Gallagher
9f9d592a89
Update to 16.1.0
- Update to 16.1.0
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.1.0
- Drop upstreamed patch

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-05-04 17:10:37 -04:00
Stephen Gallagher
3ef3ddba23
Changes to manpages
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-04-30 11:54:03 -04:00
Stephen Gallagher
49aeab92f0
First release of Node.js 16.x
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-04-29 09:41:42 -04:00
Stephen Gallagher
b3a32a1738
Truncate %changelog
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-04-20 09:43:10 -04:00
Stephen Gallagher
32edd143c2
Disable stack execution
Resolves: rhbz#1950528

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-04-20 09:41:38 -04:00
Stephen Gallagher
4fb0644412
Simplify handling of unversioned python
Now that /usr/bin/python == python3, we can just BR: the
python-unversioned-command package instead of doing a complicated
search and replace through the codebase.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-04-20 09:36:01 -04:00
Stephen Gallagher
3ce811c32f
Merge branch '14' into rawhide 2021-04-08 12:26:38 -04:00
Stephen Gallagher
37e035e768
Update to 14.16.1
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-04-08 12:23:11 -04:00
Jonathan Wakely
d51feaec0d Rebuilt for removed libstdc++ symbols (#1937698) 2021-03-31 17:35:43 +01:00
Zuzana Svetlikova
562828877e
Only require nodejs-packaging on Fedora
remove --debug-nghttp2 (#1930775)
always build with systemtap
2021-03-09 13:07:32 -05:00
Zuzana Svetlikova
095039c5a9 Only require nodejs-packaging on Fedora
remove --debug-nghttp2 (#1930775)
always build with systemtap
2021-03-09 18:26:30 +01:00
Stephen Gallagher
867d4da14b
Merge branch '14' into rawhide 2021-02-23 13:57:03 -05:00
Stephen Gallagher
a630cd6af9
Update to 14.16.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-02-23 13:53:36 -05:00
Fedora Release Engineering
44f3bfe9c7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 21:35:49 +00:00
Tom Stellard
c2e87c4334 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-07 05:55:20 +00:00
Stephen Gallagher
9f1a56347d
Disable LTO
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-01-04 15:58:35 -05:00
Stephen Gallagher
74b49c257f
Update to 14.15.4
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-01-04 15:18:59 -05:00
Stephen Gallagher
d4fae2de5a
Update to 14.15.1
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-12-02 20:53:53 -05:00
Stephen Gallagher
a042b79552
Don't build with LTO on aarch64
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-10-20 08:52:25 -04:00
Stephen Gallagher
ab1676bdb3
Update to 14.14.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-10-19 09:37:56 -04:00
Stephen Gallagher
52d3230036
Update to 14.13.1
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-10-09 09:44:18 -04:00
Stephen Gallagher
3781c81a5c
Add explicit setuptools dep
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-10-05 09:40:46 -04:00
Stephen Gallagher
2cd44ffc6b
Update to 14.13.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-10-01 13:36:57 -04:00
Stephen Gallagher
78306ffa5a Drop old pretrans scriptlet
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-09-17 11:55:27 -04:00
Stephen Gallagher
227926069c Update to 14.11.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-09-16 08:22:20 -04:00
Stephen Gallagher
c30fcda754
Add missing symlink to files
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-09-08 16:47:01 -04:00
Stephen Gallagher
f2dbb7e6ed
Update to 14.10.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-09-08 14:13:55 -04:00
Jeff Law
0ea33eec60 Narrow LTO opt-opt to just armv7hl 2020-08-21 09:04:40 -06:00
Stephen Gallagher
82bd0f8d94
Update to 14.7.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-07-31 12:03:11 -04:00
Fedora Release Engineering
650d161657 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 09:14:07 +00:00
Stephen Gallagher
9a5b2eee9f
Update to 14.5.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-07-07 11:33:57 -04:00
Stephen Gallagher
a6be2c886d
Update for new packaging guidelines
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-07-07 10:57:57 -04:00
Stephen Gallagher
22d4850d29
Fix typo in changelog
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-07-07 10:45:26 -04:00
Jeff Law
a9d362b0f1 Disable LTO 2020-06-30 14:07:04 -06:00
Stephen Gallagher
5ec847fbba
Merge branch '14' 2020-06-29 09:29:27 -04:00
Zuzana Svetlikova
78887f1479 Security update to 14.4.0 2020-06-03 22:33:35 +02:00
Stephen Gallagher
d85f19e1bc
Bump the version field correctly
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-05-22 11:15:45 -04:00
Stephen Gallagher
803540893e
Update to 14.3.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-05-21 17:03:50 -04:00
Stephen Gallagher
da95035952
Update to 14.2.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-05-06 07:37:03 -04:00
Stephen Gallagher
bb0d4da94c
Update to 12.16.3
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-04-29 15:33:09 -04:00
Stephen Gallagher
bb1d7b3d19
Update to 14.1.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-04-29 15:10:09 -04:00
Zuzana Svetlikova
3bf38ee88f Keep the fix scripts for Koji 2020-04-24 14:56:30 +02:00
Zuzana Svetlikova
f27023550f Update to v14, don't use python sed scripts 2020-04-24 01:29:26 +02:00
Zuzana Svetlikova
3f06b08f13 Update to v13.13.0, add new Provides/Requires, remove icustrip patch, update nodejs-tarball 2020-04-17 15:08:52 +02:00
Zuzana Svetlikova
a8ba41ef71 Update to 12.16.2, add new Provides/Requires 2020-04-17 15:06:48 +02:00
Stephen Gallagher
78f7bb0b35
Replace hard-coded gcc and g++ with __cc and __cxx macros
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-03-23 14:31:48 -04:00
Stephen Gallagher
4fd4157b50
Fix python3 issue in icustrip.py
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-03-17 23:24:47 -04:00
Tom Stellard
1484855d64 Replace hard-coded gcc and g++ with __cc and __cxx macros 2020-03-17 22:56:06 +00:00
Stephen Gallagher
3b337524b7
Update changelog
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-03-16 08:13:45 -04:00
Stephen Gallagher
aadc802d26
Update to 13.11.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-03-16 08:11:14 -04:00
Stephen Gallagher
30a795152a
Update changelog and drop package.cfg
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-26 14:16:46 -05:00
Stephen Gallagher
7e23cb6a17
Build with python3 only
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-26 14:15:18 -05:00
Stephen Gallagher
2a719fcdd4
Bump changelog
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-26 14:15:10 -05:00
Stephen Gallagher
cc5ee3bfc3
Build with python3 only
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-26 14:15:00 -05:00
Stephen Gallagher
6dcddc3699
Release Node.js 13.9.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-25 11:22:47 -05:00
Stephen Gallagher
21fad4d53b
Update to 12.16.1
Fixes six regressions introduced in 12.16.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-25 10:04:14 -05:00
Stephen Gallagher
8541a77835
Fix wrong version
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-14 09:37:37 -05:00
Stephen Gallagher
0c25ed4a83
Update to 12.16.0
Drop upstreamed patch

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-14 09:35:51 -05:00
Stephen Gallagher
0ef27aeec3
Merge branch '12' 2020-02-06 10:54:07 -05:00
Stephen Gallagher
dc276a246e
Update to 12.15.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-06 10:51:27 -05:00
Fedora Release Engineering
8687149cde - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 15:05:50 +00:00
Stephen Gallagher
0d8fd851cb
Fix issue with header symlinks in v8-devel
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-01-13 08:07:35 -05:00
Stephen Gallagher
390abc303d
Drop unneeded dependency on http-parser-devel
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-01-07 22:26:51 -05:00
Stephen Gallagher
39cd045bf5
Update to 12.14.1
https://github.com/nodejs/node/blob/v12.14.1/doc/changelogs/CHANGELOG_V12.md

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-01-07 20:01:47 -05:00
Stephen Gallagher
f0e2a1ed46
Update to 12.14.0
- https://github.com/nodejs/node/blob/v12.14.0/doc/changelogs/CHANGELOG_V12.md
- Add new subpackage nodejs-full-i18n to enable optional non-English locale
  support
- New NPM manpage packaging

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-01-07 09:19:25 -05:00
Stephen Gallagher
34c48b632d
Drop old, no-longer-needed symlink scriptlet
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-12-03 11:57:28 -05:00
Stephen Gallagher
ac499c11f6
Update to 12.13.1
https://github.com/nodejs/node/blob/v12.13.1/doc/changelogs/CHANGELOG_V12.md

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-12-02 11:57:51 -05:00