git: e34751c3eada - main - www/node24: Update to 24.13.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Feb 2026 16:55:29 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e34751c3eadaa2699e19ba5f6e08935dd9fe22a3
commit e34751c3eadaa2699e19ba5f6e08935dd9fe22a3
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-02-17 16:50:22 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-02-17 16:53:38 +0000
www/node24: Update to 24.13.1
- Use the following ports instead of the bundled ones
- devel/libada
- devel/uvwasi
Changes: https://github.com/nodejs/node/releases
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V24.md
Security: CVE-2026-21637
---
www/node24/Makefile | 17 ++++++++++++-----
www/node24/Makefile.version | 2 +-
www/node24/distinfo | 6 +++---
3 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/www/node24/Makefile b/www/node24/Makefile
index fc1ee084db78..572e32f05c4a 100644
--- a/www/node24/Makefile
+++ b/www/node24/Makefile
@@ -18,7 +18,8 @@ BROKEN_SSL_REASON= Node.js ${PORTVERSION:R:R}.x requires OpenSSL or the BUNDLED_
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le
BUILD_DEPENDS= objdump:devel/binutils
-LIB_DEPENDS= libbrotlidec.so:archivers/brotli \
+LIB_DEPENDS= libada.so:devel/libada \
+ libbrotlidec.so:archivers/brotli \
libcares.so:dns/c-ares \
libicui18n.so:devel/icu \
libllhttp.so:www/llhttp \
@@ -27,12 +28,14 @@ LIB_DEPENDS= libbrotlidec.so:archivers/brotli \
libngtcp2.so:net/libngtcp2 \
libsimdjson.so:devel/simdjson \
libuv.so:devel/libuv \
+ libuvwasi.so:devel/uvwasi \
libzstd.so:archivers/zstd
RUN_DEPENDS= corepack>=0:www/corepack
-USES= compiler:c++11-lang gmake localbase pkgconfig python:build shebangfix sqlite tar:xz
+USES= compiler:c++20-lang gmake localbase pkgconfig python:build shebangfix sqlite tar:xz
CONFIGURE_ARGS= --prefix=${PREFIX:S|^${DESTDIR}||} \
+ --shared-ada \
--shared-brotli \
--shared-cares \
--shared-http-parser \
@@ -42,10 +45,12 @@ CONFIGURE_ARGS= --prefix=${PREFIX:S|^${DESTDIR}||} \
--shared-ngtcp2 \
--shared-simdjson \
--shared-sqlite \
+ --shared-uvwasi \
+ --shared-uvwasi-includes=${LOCALBASE}/include \
--shared-zlib \
--shared-zstd \
- --without-corepack \
--with-intl=system-icu \
+ --without-corepack \
--without-npm
CXXFLAGS_powerpc64= -mpower8-vector
HAS_CONFIGURE= yes
@@ -84,6 +89,7 @@ CONFIGURE_ARGS+=--openssl-no-asm
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/tools/v8_gypfiles/v8.gyp
# Clean up bundled libraries
+ @${RM} -r ${WRKSRC}/deps/ada/
@${RM} -r ${WRKSRC}/deps/brotli/
@${RM} -r ${WRKSRC}/deps/cares/
@${RM} -r ${WRKSRC}/deps/corepack/
@@ -95,6 +101,7 @@ post-patch:
@${RM} -r ${WRKSRC}/deps/simdjson/
@${RM} -r ${WRKSRC}/deps/sqlite/
@${RM} -r ${WRKSRC}/deps/uv/
+ @${RM} -r ${WRKSRC}/deps/uvwasi/
@${RM} -r ${WRKSRC}/deps/zlib/
@${RM} -r ${WRKSRC}/deps/zstd/
@@ -103,9 +110,9 @@ post-configure:
# all occurrences of -I${LOCALBASE}/include. C*FLAGS include this
# before all -I../deps/* for bundled code. This can cause build
# breakages if the dependency is installed in ${LOCALBASE}. The
- # USES+=localbase # above will ensure that we pick up includes for real
+ # USES+=localbase above will ensure that we pick up includes for real
# external dependencies.
- ${FIND} ${WRKSRC}/out -type f -print0 | ${XARGS} -0 ${REINPLACE_CMD} -e "s|-I${LOCALBASE}/include||g"
+ @${FIND} ${WRKSRC}/out -type f -print0 | ${XARGS} -0 ${REINPLACE_CMD} -e 's|-I${LOCALBASE}/include||g'
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node
diff --git a/www/node24/Makefile.version b/www/node24/Makefile.version
index 7ffdf8e7ea79..260b72320e66 100644
--- a/www/node24/Makefile.version
+++ b/www/node24/Makefile.version
@@ -1 +1 @@
-NODEJS_PORTVERSION= 24.13.0
+NODEJS_PORTVERSION= 24.13.1
diff --git a/www/node24/distinfo b/www/node24/distinfo
index 86cb516dce9e..3ca01f337cd5 100644
--- a/www/node24/distinfo
+++ b/www/node24/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1768399994
-SHA256 (node-v24.13.0.tar.xz) = 320fe909cbb347dcf516201e4964ef177b8138df9a7f810d0d54950481b3158b
-SIZE (node-v24.13.0.tar.xz) = 51803408
+TIMESTAMP = 1771105012
+SHA256 (node-v24.13.1.tar.xz) = b227bc868fb5e9ec8670620e2b25530eb12c17d43e6c7bc51bb38a660684192d
+SIZE (node-v24.13.1.tar.xz) = 52098244