git: 233bc5c64d00 - main - www/node22: Update to 22.10.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 21 Oct 2024 09:34:14 UTC
The branch main has been updated by sunpoet:

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

commit 233bc5c64d0060f176ef2115631cdc177b7a2ee3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-21 06:33:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-21 09:17:28 +0000

    www/node22: Update to 22.10.0
    
    Changes:        https://github.com/nodejs/node/releases
                    https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V22.md
---
 www/node22/Makefile                         |  2 +-
 www/node22/Makefile.version                 |  2 +-
 www/node22/distinfo                         |  6 +++---
 www/node22/files/patch-src-compile_cache.cc | 15 ---------------
 4 files changed, 5 insertions(+), 20 deletions(-)

diff --git a/www/node22/Makefile b/www/node22/Makefile
index d47c444a15c4..4d4ebf08f1d8 100644
--- a/www/node22/Makefile
+++ b/www/node22/Makefile
@@ -3,7 +3,7 @@ PORTVERSION=	${NODEJS_PORTVERSION}
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 MASTER_SITES=	https://nodejs.org/dist/v${PORTVERSION}/
-PKGNAMESUFFIX=	22
+PKGNAMESUFFIX=	${PORTVERSION:R:R}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	V8 JavaScript for client and server
diff --git a/www/node22/Makefile.version b/www/node22/Makefile.version
index 51144bf03848..329246f625af 100644
--- a/www/node22/Makefile.version
+++ b/www/node22/Makefile.version
@@ -1 +1 @@
-NODEJS_PORTVERSION=	22.9.0
+NODEJS_PORTVERSION=	22.10.0
diff --git a/www/node22/distinfo b/www/node22/distinfo
index 7c276d5d248d..aabcfe166eb8 100644
--- a/www/node22/distinfo
+++ b/www/node22/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1728632272
-SHA256 (node-v22.9.0.tar.xz) = a55aeb368dee93432f610127cf94ce682aac07b93dcbbaadd856df122c9239df
-SIZE (node-v22.9.0.tar.xz) = 46950408
+TIMESTAMP = 1729240326
+SHA256 (node-v22.10.0.tar.xz) = 3180710d3130ad9df01466abf010e408d41b374be54301d1480d10eca73558e0
+SIZE (node-v22.10.0.tar.xz) = 47009048
diff --git a/www/node22/files/patch-src-compile_cache.cc b/www/node22/files/patch-src-compile_cache.cc
deleted file mode 100644
index 007f84cdac69..000000000000
--- a/www/node22/files/patch-src-compile_cache.cc
+++ /dev/null
@@ -1,15 +0,0 @@
-Obtained from:	https://github.com/nodejs/node/pull/54528
-
---- src/compile_cache.cc.orig	2024-09-03 03:18:45 UTC
-+++ src/compile_cache.cc
-@@ -8,6 +8,10 @@
- #include "path.h"
- #include "zlib.h"
- 
-+#ifdef NODE_IMPLEMENTS_POSIX_CREDENTIALS
-+#include <unistd.h>  // getuid
-+#endif
-+
- namespace node {
- std::string Uint32ToHex(uint32_t crc) {
-   std::string str;