git: c2a029a4c51e - main - www/node18: Update to 18.18.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 16 Oct 2023 16:00:48 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c2a029a4c51ea55f0c0faa3acd6b71578d9e0436

commit c2a029a4c51ea55f0c0faa3acd6b71578d9e0436
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-16 15:18:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-16 15:59:43 +0000

    www/node18: Update to 18.18.2
    
    Changes:        https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md
    Security:       CVE-2023-38552, CVE-2023-39333, CVE-2023-44487, CVE-2023-45143
---
 www/node18/Makefile         | 3 ++-
 www/node18/Makefile.version | 1 +
 www/node18/distinfo         | 6 +++---
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/www/node18/Makefile b/www/node18/Makefile
index f314b1133235..dc03a2d820e9 100644
--- a/www/node18/Makefile
+++ b/www/node18/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	node
-PORTVERSION=	18.18.0
+PORTVERSION=	${NODEJS_PORTVERSION}
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 MASTER_SITES=	https://nodejs.org/dist/v${PORTVERSION}/
@@ -73,6 +73,7 @@ NLS_BUILD_DEPENDS=	icu>=69.1:devel/icu
 NLS_CONFIGURE_ON=	--with-intl=system-icu
 NLS_LIB_DEPENDS=	libicui18n.so:devel/icu
 
+.include "Makefile.version"
 .include <bsd.port.pre.mk>
 
 .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 && (${ARCH} == aarch64 || ${ARCH:Mpowerpc64*})
diff --git a/www/node18/Makefile.version b/www/node18/Makefile.version
new file mode 100644
index 000000000000..4880c15123bf
--- /dev/null
+++ b/www/node18/Makefile.version
@@ -0,0 +1 @@
+NODEJS_PORTVERSION=	18.18.2
diff --git a/www/node18/distinfo b/www/node18/distinfo
index b49fd89bd14b..ba5d1770f064 100644
--- a/www/node18/distinfo
+++ b/www/node18/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696753626
-SHA256 (node-v18.18.0.tar.xz) = e4d4dbac3634d99f892f00db47da78f98493c339582e8a95fb2dd59f5cfe0f90
-SIZE (node-v18.18.0.tar.xz) = 40813264
+TIMESTAMP = 1697463060
+SHA256 (node-v18.18.2.tar.xz) = 7249e2f0af943ec38599504f4b2a2bd31fb938787291b6ccca6c8badf01e3b56
+SIZE (node-v18.18.2.tar.xz) = 40834428