From nobody Wed Nov 01 19:30:01 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SLHCF6K68z4yvL1; Wed, 1 Nov 2023 19:30:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SLHCF2zVVz3X61; Wed, 1 Nov 2023 19:30:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698867001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=INeVXknYAA0tGMKk7cQZT3H+TzaAekANABqZzIqKCZ8=; b=noQOS7+HZNNS27F/ptFqS+jeJkjpLXpQoXK/yoPRJoknPMAWY928n8KvT5RTDqfSok6kTI 3iuktM6bM6zsaWo2AEQqsZ7AqZXU41NyBjhX6x+Kt9SDaQ1xE3pD6UwNkGY60M8PfjmB9I qGmTw5m4XvqYTJZbY4SG94m/I3ZdGQxjTnC9V/ksHkbO+P5rkjFFoJkrv9FJuiXhmNss/z 1dZjIMTRQ2lgqH6DTvwkQVC/a4y0APXoaMc0RlxgBzx6J3MCkrN97yT207eKhDnGGrw/Gm nE5xR679b0Pkn0d7Y4ubR1Bzwwwaqoh7he0P6tmPqwSqmJ5tfYLTOwkbL7ONpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698867001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=INeVXknYAA0tGMKk7cQZT3H+TzaAekANABqZzIqKCZ8=; b=y0otccCdy8ny1brnfaUdmPuys/gZxhvpBITXNN/aYDaBvMCK5lr5OPYegQgt9z1IWH0kOq GrPBD0bpA03D63I2VGWHjS6WamLvfHvnH4TgDxCGo2szPDi/dreNIZp83Bs7svxZ8jWJsM U4qjS4vFZeMfMOO7A33LmLuYqvTzMfCh+qYeoTC4D7JuR8cmIIZlNTTkxFNkLe+sPIE7Ii Cr3eHNcxSCz4cANMUZrgvTIGavY6vGhvZG5BHbntK7jVcx1jEn/jeepXUhK5XhDLgzFNtq gXqeYzxKz7DbbNi6in6JJfr4hOUR9Fl+E7y5FwGf0Po4AIvk8nFl6dgpElRrRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698867001; a=rsa-sha256; cv=none; b=iKjf4izzK13KB3lWzmLXMF5FpqNIQhuGe7LcUxI87IZxnz4Tj4D6RcMOVPlXi7+Ea1CfxC rdY6xx8I8aYcCXwXC7tQioHYsYPIDAsqVZO2GNyNwvYXHUIzsKTorMVbkrJMWySieHO4Vm UN69Z9tPecL6sks/HDPG7dw3KBK+SAyCwGyVLU0nEOHM1Xrb7MEKuhhd+6WyGRb1dcuicb +8A2gY+JDVRkNMArK//gkF2CtiY3YOkWQFhgSfgnkfru847B7R9dleHyk+/zorimgsH5WF FaOfSNgYsltL8jL4+GkPdBJa0ZP217KOUce7XVsKjsxXuIrH1GFmn8l0jQHFag== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SLHCF24ZVzyYt; Wed, 1 Nov 2023 19:30:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A1JU1xm002620; Wed, 1 Nov 2023 19:30:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A1JU1jo002615; Wed, 1 Nov 2023 19:30:01 GMT (envelope-from git) Date: Wed, 1 Nov 2023 19:30:01 GMT Message-Id: <202311011930.3A1JU1jo002615@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 5577e1f82531 - main - Mk/Uses/nodejs.mk: Add nodejs 21 and update current and lts List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5577e1f825319f2b8314364f50919879a51cd1f5 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5577e1f825319f2b8314364f50919879a51cd1f5 commit 5577e1f825319f2b8314364f50919879a51cd1f5 Author: Po-Chuan Hsieh AuthorDate: 2023-11-01 19:29:10 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-11-01 19:29:10 +0000 Mk/Uses/nodejs.mk: Add nodejs 21 and update current and lts Node.js 20 is the new LTS with active LTS support since October 24, 2023. Node.js 21 is the new current. Reference: https://github.com/nodejs/Release/blob/main/README.md#release-schedule --- Mk/Uses/nodejs.mk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Mk/Uses/nodejs.mk b/Mk/Uses/nodejs.mk index ab307d21467e..bfe00c3fe1fb 100644 --- a/Mk/Uses/nodejs.mk +++ b/Mk/Uses/nodejs.mk @@ -7,13 +7,13 @@ # - build use node as build-time dependency # - run use node as runtime dependency # - env set the environment (NODEJS_VERSION and NODEJS_SUFFIX) -# - version available version: lts, current, 16, 18, 20 +# - version available version: lts, current, 16, 18, 20, 21 # # Note: # - The supported versions follow upstream release schedule # https://github.com/nodejs/Release/blob/main/README.md#release-schedule -# - lts is 18 now -# - current is 20 now +# - lts is 20 now +# - current is 21 now # - USES=nodejs means USES=nodejs:build,run # - If you define a version, you must provide run and/or build # @@ -22,13 +22,13 @@ .if !defined(_INCLUDE_USES_NODEJS_MK) _INCLUDE_USES_NODEJS_MK= yes -_VALID_NODEJS_VERSIONS= 16 18 20 current lts +_VALID_NODEJS_VERSIONS= 16 18 20 21 current lts . if ! ${_VALID_NODEJS_VERSIONS:M${NODEJS_DEFAULT}} IGNORE= Invalid default nodejs version ${NODEJS_DEFAULT}; valid versions are ${_VALID_NODEJS_VERSIONS} . endif -. if !empty(nodejs_ARGS:Nbuild:Nenv:Nrun:Nlts:Ncurrent:N16:N18:N20) +. if !empty(nodejs_ARGS:Nbuild:Nenv:Nrun:Nlts:Ncurrent:N16:N18:N20:N21) IGNORE= USES=nodejs has invalid arguments ${nodejs_ARGS} . endif @@ -47,7 +47,7 @@ _NODEJS_VER= ${version} _NODEJS_VER= ${NODEJS_DEFAULT} . endif -NODEJS_VERSION= ${_NODEJS_VER:S|current|20|:S|lts|18|} +NODEJS_VERSION= ${_NODEJS_VER:S|current|21|:S|lts|20|} NODEJS_SUFFIX= -node${NODEJS_VERSION} . if ${nodejs_ARGS:M*build*}