From nobody Sun Sep 04 05:02:04 2022 X-Original-To: dev-commits-ports-main@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 4MKzz066xhz4bRd1; Sun, 4 Sep 2022 05:02:04 +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 4MKzz03V40z3jk1; Sun, 4 Sep 2022 05:02:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662267724; 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=DqZgbugWMpxQL7I5KJ2OANuf1nc54cH0+aysexwMRGk=; b=lGl0V8vZ3+8aYfy7REkteMURPGWyaTaSy1Uyscf4NubD+CDMBak0GS6Fp/Row7QaXbh540 Micd1RL3UL+DEH7QkiNnOD6vAEqC3JeEkly9SfuPreAz6UdmTmIeMF/MF4cc+G0tthdDRq p2Tdo0T0s6C+e7Kodk39Sy4BpdHXWJ6f/S/czfYe/5VjHkzBJCbW2T1Jc+CU1aRzhBXb1q KI3TH2KXi7bqaSq7H1zVojAWvXdeOlx0G4fQ3tKrKdx0NXcehu/CDfLgZ7TOe3nquOVom0 dVJ+FEZtOwE5cQn/GdzRq50BjqvUoba8CfCBwjLSPCzR45ndYKDR7vRITYVV3A== 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 4MKzz02KfmzNjC; Sun, 4 Sep 2022 05:02:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 284524mP072861; Sun, 4 Sep 2022 05:02:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 284524fj072860; Sun, 4 Sep 2022 05:02:04 GMT (envelope-from git) Date: Sun, 4 Sep 2022 05:02:04 GMT Message-Id: <202209040502.284524fj072860@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: 48a2c771bb3b - main - www/npm: Fix 'npm run' by removing extra '--' List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 48a2c771bb3ba68c2d4d3d26cb9c282cc25a49b8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662267724; 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=DqZgbugWMpxQL7I5KJ2OANuf1nc54cH0+aysexwMRGk=; b=N9EJlBhGZZCWddE8kPLgAvD+CXhKDLDiN+DSfDXu6oU11GknVzKIjaWyPViV2Nzj0Ij7bp 3MeVRrYv5g1uW+c/rJ64uv4P1tAP4ZsVglAOkogTsIXYJBqzxtTla7p5dGqCsmNzq+4Jx1 9UG81SmVH76HTBpTCWguFKnzUvStqxPLAcmgavD4OSpK1wL5v3uCOjrbe08uycn/O4IuBz io3vRJC3FG+uEZiqWs6/Xl5bvk5Tq1/d6uTkOpiwpm+vzJ03r/g0qXLvmXlaJPE/umOCKN hbtQSb2nBERQMfze3mCNmygPLw3oWaMt+0emdmW8N9wVxgud091TTVQTfVrEwQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662267724; a=rsa-sha256; cv=none; b=Ur9u9E7Tu/7l6aSrYt6g1B68pTMyP/nP7XAgi3suMfh4Ks5pV15p8X+sNvyRBi+rM9DnNI mIo0wfc+xY+aF/+XEGeEXI7yFa/mIX9idbLVWwEhMRQTcPPkODNoXhgfEqMYgPGrTypc4s NqHxo8RXXhQX+FiKBGptSvQ9vfOc4WwC8+J0hYRt+a9Q5fepwJ9VgzafDnFkm6YWplyghq bI+PPMD2twEybdnNstrPLUAnoyqZXPWUlxcjHrjYO9MI4qxhbqO7TAjVLni4+5qgJrsLAC OwgBrQUvqAghjlYq3n0YBTcKTN9itlX5VWdCJmRvg4fDapuK35FTHyiCCJc0Xg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=48a2c771bb3ba68c2d4d3d26cb9c282cc25a49b8 commit 48a2c771bb3ba68c2d4d3d26cb9c282cc25a49b8 Author: Guido Falsi AuthorDate: 2022-09-04 05:01:45 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-09-04 05:01:45 +0000 www/npm: Fix 'npm run' by removing extra '--' PR: 266159 --- www/npm/Makefile | 1 + www/npm/files/patch-npm-run | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/www/npm/Makefile b/www/npm/Makefile index 4c1093ab603e..88e1c3ca88cb 100644 --- a/www/npm/Makefile +++ b/www/npm/Makefile @@ -1,5 +1,6 @@ PORTNAME= npm PORTVERSION= 8.18.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= LOCAL/sunpoet diff --git a/www/npm/files/patch-npm-run b/www/npm/files/patch-npm-run new file mode 100644 index 000000000000..58b5e25a9c72 --- /dev/null +++ b/www/npm/files/patch-npm-run @@ -0,0 +1,11 @@ +--- lib/node_modules/npm/node_modules/@npmcli/run-script/lib/make-spawn-args.js.orig 2022-08-27 11:30:45 UTC ++++ lib/node_modules/npm/node_modules/@npmcli/run-script/lib/make-spawn-args.js +@@ -67,7 +67,7 @@ const makeSpawnArgs = options => { + } + const spawnArgs = isCmd + ? ['/d', '/s', '/c', script] +- : ['-c', '--', script] ++ : ['-c', script] + + const spawnOpts = { + env: spawnEnv,