git: f1b60716340f - main - www/node20: Update to 20.3.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 10:34:28 UTC
The branch main has been updated by sunpoet:

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

commit f1b60716340f66fe64f72c1e28d651d9dbd59cbc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:18:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:18:13 +0000

    www/node20: Update to 20.3.1
    
    - Update BROKEN_SSL_REASON
    
    Changes:        https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md
---
 www/node20/Makefile  |  6 +++---
 www/node20/distinfo  |  6 +++---
 www/node20/pkg-plist | 41 +++++++++++++++++++++--------------------
 3 files changed, 27 insertions(+), 26 deletions(-)

diff --git a/www/node20/Makefile b/www/node20/Makefile
index 7284696b8e76..7440bd1ada7f 100644
--- a/www/node20/Makefile
+++ b/www/node20/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	node
-PORTVERSION=	20.2.0
+PORTVERSION=	20.3.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 MASTER_SITES=	https://nodejs.org/dist/v${PORTVERSION}/
@@ -14,7 +14,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BROKEN_SSL=	libressl libressl-devel
-BROKEN_SSL_REASON=	Node.js ${PORTVERSION:R:R}.x requires OpenSSL 1.1.x or the BUNDLED_SSL option enabled
+BROKEN_SSL_REASON=	Node.js ${PORTVERSION:R:R}.x requires OpenSSL or the BUNDLED_SSL option enabled
 ONLY_FOR_ARCHS=	aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le
 
 BUILD_DEPENDS=	brotli>=1.0.9,1:archivers/brotli \
@@ -56,7 +56,7 @@ OPTIONS_DEFINE=	BUNDLED_SSL DOCS NLS
 OPTIONS_SUB=	yes
 BUNDLED_SSL_DESC=	Use bundled OpenSSL implementation from node.js
 
-BUNDLED_SSL_CONFIGURE_OFF=	--shared-openssl --openssl-use-def-ca-store
+BUNDLED_SSL_CONFIGURE_OFF=	--openssl-use-def-ca-store --shared-openssl
 BUNDLED_SSL_RUN_DEPENDS_OFF=	ca_root_nss>=0:security/ca_root_nss
 BUNDLED_SSL_USES_OFF=	ssl
 NLS_BUILD_DEPENDS=	icu>=69.1:devel/icu
diff --git a/www/node20/distinfo b/www/node20/distinfo
index f425d767e641..7e8bc714386b 100644
--- a/www/node20/distinfo
+++ b/www/node20/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685162056
-SHA256 (node-v20.2.0.tar.gz) = cd1b0eb67fffe83112034fbdc64b363287e017f835251702f041982633e4b6aa
-SIZE (node-v20.2.0.tar.gz) = 87586617
+TIMESTAMP = 1688166102
+SHA256 (node-v20.3.1.tar.gz) = 785cfbf77998a96949d626f7bc63bc0b8e4737eb5dd2054b2e58d876904f5443
+SIZE (node-v20.3.1.tar.gz) = 87702251
diff --git a/www/node20/pkg-plist b/www/node20/pkg-plist
index d7f3365f3412..f71faa1b4086 100644
--- a/www/node20/pkg-plist
+++ b/www/node20/pkg-plist
@@ -1,19 +1,3 @@
-bin/corepack
-bin/node
-include/node/common.gypi
-include/node/config.gypi
-include/node/cppgc/common.h
-include/node/js_native_api.h
-include/node/js_native_api_types.h
-include/node/libplatform/libplatform-export.h
-include/node/libplatform/libplatform.h
-include/node/libplatform/v8-tracing.h
-include/node/node.h
-include/node/node_api.h
-include/node/node_api_types.h
-include/node/node_buffer.h
-include/node/node_object_wrap.h
-include/node/node_version.h
 %%BUNDLED_SSL%%include/node/openssl/aes.h
 %%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h
 %%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/crypto/bn_conf.h
@@ -2223,6 +2207,25 @@ include/node/node_version.h
 %%BUNDLED_SSL%%include/node/openssl/x509v3_asm.h
 %%BUNDLED_SSL%%include/node/openssl/x509v3_no-asm.h
 %%BUNDLED_SSL%%include/node/openssl/x509v3err.h
+%%PORTDOCS%%%%DOCSDIR%%/gdbinit
+%%PORTDOCS%%%%DOCSDIR%%/lldb_commands.py
+@(,,444) man/man1/node.1.gz
+bin/corepack
+bin/node
+include/node/common.gypi
+include/node/config.gypi
+include/node/cppgc/common.h
+include/node/js_native_api.h
+include/node/js_native_api_types.h
+include/node/libplatform/libplatform-export.h
+include/node/libplatform/libplatform.h
+include/node/libplatform/v8-tracing.h
+include/node/node.h
+include/node/node_api.h
+include/node/node_api_types.h
+include/node/node_buffer.h
+include/node/node_object_wrap.h
+include/node/node_version.h
 include/node/v8-array-buffer.h
 include/node/v8-callbacks.h
 include/node/v8-container.h
@@ -2236,8 +2239,8 @@ include/node/v8-exception.h
 include/node/v8-extension.h
 include/node/v8-external.h
 include/node/v8-forward.h
-include/node/v8-function.h
 include/node/v8-function-callback.h
+include/node/v8-function.h
 include/node/v8-initialization.h
 include/node/v8-internal.h
 include/node/v8-isolate.h
@@ -2276,6 +2279,7 @@ lib/node_modules/corepack/CHANGELOG.md
 lib/node_modules/corepack/LICENSE.md
 lib/node_modules/corepack/README.md
 lib/node_modules/corepack/dist/corepack.js
+lib/node_modules/corepack/dist/lib/corepack.cjs
 lib/node_modules/corepack/dist/npm.js
 lib/node_modules/corepack/dist/npx.js
 lib/node_modules/corepack/dist/pnpm.js
@@ -2325,6 +2329,3 @@ lib/node_modules/corepack/shims/yarn.ps1
 lib/node_modules/corepack/shims/yarnpkg
 lib/node_modules/corepack/shims/yarnpkg.cmd
 lib/node_modules/corepack/shims/yarnpkg.ps1
-@(,,444) man/man1/node.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/gdbinit
-%%PORTDOCS%%%%DOCSDIR%%/lldb_commands.py