71 Commits

Author SHA1 Message Date
volker fc053346bf lang/node: Update to 24.15.0 2026-05-09 13:26:28 +00:00
volker 370b0073dd lang/node: Update to v22.22.2
Fixes
CVE-2026-21637
CVE-2026-21710
CVE-2026-21713
CVE-2026-21714
CVE-2026-21715
CVE-2026-21716
CVE-2026-21717
2026-03-26 18:30:37 +00:00
sthen e913264341 remove MODPY_COMMENT from PLISTs, no longer needed 2025-10-23 13:19:51 +00:00
volker 5cc4cdaed1 lang/node: Update to v22.18.0 2025-08-01 15:18:28 +00:00
volker 724606aad5 lang/node: Update to 22.13.0
ok jca@
2025-01-13 15:58:55 +00:00
volker af6cba421f lang/node: Update to v22.11.0
Feedback from and riscv64 fixes by jca@
ok aisha@
2024-11-14 18:58:02 +00:00
volker 08b40d1b90 lang/node: Update to v20.17.0
ok aisha@, additional tests (build with python 3.12) by daniel@
2024-08-28 17:44:40 +00:00
volker 0b37a97f9b lang/node: Update to v20.16.0 and build against OpenSSL 3.2
ok tb@
2024-07-27 15:17:54 +00:00
volker 4831c97e44 lang/node: Update to v20.15.0
ok thfr@
2024-06-22 07:01:03 +00:00
volker 9c128647ad lang/node: Use MODPY_COMPILEALL 2024-05-28 19:52:27 +00:00
volker cb7ddb8629 lang/node: Update to 20.13.1
20.x is the currently active LTS release branch, supported until 04/2026

ok tb@
2024-05-18 12:10:12 +00:00
volker a6d6de4d2b lang/node: Security Update to v18.19.1
Fixes
CVE-2024-24758
CVE-2024-22019
CVE-2024-21896
CVE-2024-22017
CVE-2023-46809
CVE-2024-21891
CVE-2024-21890

ok thfr@
2024-02-19 07:45:39 +00:00
volker 6033a899b3 lang/node: Update to v18.19.0
ok sthen@
2023-12-07 17:01:26 +00:00
volker 5bbfd48ffe lang/node: Update to v18.18.0
ppc64 fixes from gkoehler@, ok sthen@
2023-09-26 10:44:17 +00:00
volker 8cead09774 lang/node: update to v18.17.1
ok gonzalo@
2023-08-15 13:46:30 +00:00
sthen e7bc66cd01 update to node-18.16.0, from Volker Schlecht (maintainer) 2023-05-04 12:25:23 +00:00
aisha afb5ece7bd update to 18.15.0
patch from Volker Schlecht (maintainer) who tested on amd64,arm64,i386

I tested on arm64, works fine for me
2023-03-15 02:00:52 +00:00
tb 826a0d6ff6 Update node to 18.14.1 from maintainer Volker Schlecht
A ton of changes since 18.12.1, including a few security fixes released a few
days ago that affect OpenBSD's port:

* Node.js Permissions policies can be bypassed via process.mainModule
  (CVE-2023-23918)
* Node.js OpenSSL error handling issues in nodejs crypto library
  (CVE-2023-23919)
* Fetch API in Node.js did not protect against CRLF injection in host headers
  (CVE-2023-23936)
* Regular Expression Denial of Service in Headers in Node.js fetch API
  (CVE-2023-24807)

Port changes:

* reinstate old patch to disable building the bundled googletest, because that
  could lead to build-time conflicts when devel/gtest is installed, now that the
  version of devel/gtest has diverged from the bundled version again

* This fixes a build issue on riscv64 that slipped into v18.13.0
  https://github.com/nodejs/node/commit/1e11247b91

* PLIST churn due to updated npm

https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.14.1
2023-02-19 12:27:19 +00:00
sthen af70282fab update to node-18.12.1, from Volker Schlecht, various feedback/tweaks/testing
from jca@ tb@ thfr@ aisha@ and Barry K. Nathan
2022-12-29 23:34:13 +00:00
landry 2ac76f7f45 lang/node: fetch/install nodejs*-headers.tar.gz instead of .xz
node-gyp expects a .gz, and its tar implementation doesnt support xz.

from maintainer Volker Schlecht, thanks !
2022-11-01 12:01:49 +00:00
jca ba6fc8f592 Update to node-16.17.0
From maintainer Volker Schlecht
2022-09-01 20:42:56 +00:00
sthen 51e11d1db6 reinstate node-16.15.1 update, tidy SUBST_VARS while there (some are no
longer used, some are duplicated from the default)
2022-06-08 21:14:29 +00:00
sthen 77cfe24bfd backout node update, it is resulting in build failures in devel/electron 2022-06-08 18:08:40 +00:00
sthen 5edb1e686f update to node-16.15.1, from maintainer Volker Schlecht, plus I changed
the custom do-extract target so that it used the standard ports scaffolding
plus a small post-extract
2022-06-06 17:23:19 +00:00
sthen 851b0f72b9 update to node-16.14.2, from Volker Schlecht (maintainer) 2022-03-18 19:35:16 +00:00
naddy e93f9d0ca9 drop RCS Ids 2022-03-11 19:28:46 +00:00
sthen ee54009332 update to node-16.14.0, from maintainer Volker Schlecht 2022-02-16 14:24:37 +00:00
abieber accca92a9a * Update to v16.13.2 (Active LTS Release)
* Change from bundled versions of
	- libuv
	- c-ares
	- nghttp2
	- zlib
	- brotli
	- icu
	- openssl
  to libraries from ports.

* Drop patches for bundled openssl, cares, zlib

* Adapted v8 patches from www/chromium

* Patch for node's c-ares wrapper to define ns_class, ns_type, ns_opcode and
 ns_code, since those are not defined in our arpa/nameser.h
https://marc.info/?l=openbsd-ports&m=164158353605076&w=2

* Using OpenBSD's zlib has the side effect of fixing
https://marc.info/?l=openbsd-ports&m=164344705329686&w=2

* Fixes broken detection of the executable path on OpenBSD.
See patch-src_env_cc. This currently prevents node-pledge from
being actually used.

* Fixes
	CVE-2021-44531
	CVE-2021-44532
	CVE-2021-44533
	CVE-2022-21824

Original diff from MAINTAINER Volker Schlecht, tweaks and OK from sthen@
Thanks Volker!
2022-02-01 22:17:58 +00:00
denis 9908bc7f8f Update to 12.22.6
Thanks to Volker Schlecht <openbsd-ports[at]schlecht[dot]dev>

test & OK abieber@
2021-09-03 20:47:30 +00:00
ajacoutot 2f3106b058 Regen PLIST to unbreak.
Some stuff doesn't seem happy with py3... but that's for another time.
2020-07-05 09:00:11 +00:00
landry 5d66e056e7 Move nodejs to use python3 by default.
been able to npm install leafpad sqlite3 (which exercises node-gyp)
firefox also builds fine with that version.

ok abieber@
2020-07-04 16:25:42 +00:00
abieber 2287dbc158 Update node to 12.16.1. This fixes a number of issues with the port:
- We now ship the -header package instead of including the full distfile.
  This fixes node-gyp builds (as we had the wrong version in there).
- Teach the bundled openssl how to use $MAKE_PROGRAM (patch from Martin Sander).

While here, drop myself as MAINTAINER.

OK denis@
2020-04-04 16:42:57 +00:00
abieber 360ce718ea Bump node to 12.3.1, the latest LTS.
Changelog here:
  - https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md#12.13.1

OK robert@
2019-11-24 18:42:28 +00:00
abieber faded3ff2c Update node to the latest LTS.
Changelog here: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#10.16.3

Builds firefox fine. sthen@ tested an i386 build and it went OK.

OK sthen@
2019-09-27 02:07:44 +00:00
abieber 296cf11c2f Bump node to the latest LTS.
Changelog: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#10.15.0

Thanks to naddy@ for the openssl bits!

Tested on {amd,arm}64.

No objections!
2019-01-21 23:46:01 +00:00
abieber a097383caa Bump to latest LTS.
Full changelog here: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#8.12.0

"builds fine for me on amd64" rsadowski@
2018-09-19 19:10:27 +00:00
abieber f5ef31a8e3 Update to the latest.
- add patch to work around boostrap execpath stuff (api not exposed yet)
- regen patches
- remove upstreamed patches
- remove orig entries in plist (thanks espie@)

No objections.
2018-06-21 23:13:28 +00:00
abieber 57c2c6e156 Jump to 8.9.4, the latest LTS!
- Enable aarch64 build.
- Disable currently broken tests

Chromium build tested by landry@ and myself.

OK phessler@
2018-02-10 14:50:35 +00:00
abieber c5b7ec51e2 Bump node to the latest LTS
OK awolk@
2018-01-09 02:11:11 +00:00
ajacoutot 2b7b3461f5 @comment beforesubst files.
Should probably be removed in post-install or so but I am lazy... and no
one picked up my mail on ports@
2017-11-19 19:38:46 +00:00
abieber 7af3ddd6a8 Update to v6.11.0
- regen patches (thanks danj@)
- full changelog here: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#6.11.0

OK danj@
2017-06-27 12:04:08 +00:00
abieber d128aa5058 Bump node to latest. Tested on amd64 and i386.
- fix Makefile layout
- back to using internal openssl :(

Rough OK from awolk@, OK fcambus@
2017-01-23 16:47:04 +00:00
abieber a61cf71ce8 100% more wxneeded! Also fix for the man page that snuck in!
Tested on amd64 and i386

OK jca@
2016-08-17 01:05:38 +00:00
abieber f1afddb428 Update node to the latest.
Full ChangeLog:
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V4.md#4.4.7

OK juanfra@
2016-08-03 13:56:56 +00:00
abieber 4d473b6917 Bump node to the latest. Full changelog here:
https://github.com/nodejs/node/blob/v4.4.5/CHANGELOG.md

OK awolk@
2016-05-27 23:11:53 +00:00
abieber 6eecfbb3b8 Update node to the latest.
Full changelog here:
https://github.com/nodejs/node/blob/v4.4.3/CHANGELOG.md

OK giovanni
2016-04-19 18:38:06 +00:00
abieber aa27302904 Update to latest. Nothing special.
ChageLog: https://github.com/nodejs/node/blob/v4.4.0/CHANGELOG.md

OK awolk@
2016-03-12 02:50:36 +00:00
abieber 2215b85517 Add in node-pledge module so users can require() it out of the box.
Build against openssl in ports.
Update to latest stable release of node.

OK giovanni@
2016-01-29 20:12:04 +00:00
abieber a4dd88e2b0 Update to the latest version.
Full changelog here:
https://github.com/nodejs/node/blob/v4.2.4/CHANGELOG.md

OK juanfra@
2016-01-01 04:47:05 +00:00
sthen 483639e924 This doesn't use NODE_ARCH any more, so remove it, rm some other-OS include
files that aren't needed, and regen plist which fixes a packaging problem
with i386. Cleanup unused CFLAGS from SUBST_VARS as well, and switch run dep
to g++ instead of gcc. OK abieber@
2015-10-27 11:58:01 +00:00