From nobody Sat Jun 29 05:07:50 2024 X-Original-To: ports-bugs@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 4WB0gC22l6z5QPxG for ; Sat, 29 Jun 2024 05:07:51 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WB0gB3hSQz42Wk for ; Sat, 29 Jun 2024 05:07:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719637670; a=rsa-sha256; cv=none; b=WKS2Fm88Cya2VV0nYwQ4Wpj8VNFwUIHA9ptmQEerBCj+lRS9stQ0zMVQeTNhl6xs1iyEnm K8gMgtGapnKD4IKfFaDAUEofzOcH2CDqx+rkTKOLLEA5Hh1saq9//LGOjyv6dqux4Ho4x+ 4/5tBoUphykKLtCWndBKbVg7LaWsR3cJiYgLihSNBpZWDovVqvnIdHnHEvUy8KAg++pASd yLXtLtFbeX0DB4nf848TBJqfo2FSLdBFmuuV3ufjFzRaugQgFBxTYV1VU/QXyJ4gGn+Lcn zcQdqy8irvHrl6PFFSffhU52JrlbGacqebmKslM8xwxW2NarNlej2OIVpgfELA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719637670; 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: in-reply-to:in-reply-to:references:references; bh=230xKvktvzgXoxmWWmdu5Iq8XgIYrxLu5iY84FtNjcE=; b=v2jtwzZPI54DFTHLpcR/ff/8lXEJM9Uey8J0Isp91zeHaDry+g0plJOBNlDvEjLpgMtSl8 b53Frg1LTD37JlTdujkdnWC9wghlm+kFQAJLJVJDMb3Wuv7yrFfJ0/OVyi+/bGKgN8CaMj 9Z7GBtU4xwx9KsnBCF5sABvWjbIvYnb/AuHXSL+VZC+t5ob3JwIwwjqG8Nx89sdzkyf7ee BJlAKSGMdNbpDPfs/0RDqpL7R3mzMmPULclR5AaZZ+dODWlQpKKUR72CvEhglCM9ef4T64 MpgREs6daiINOin6mbVGQw0aNCgrq8vzvSsO3mhAb7aTUaxBUVb2piTIM9QFiA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4WB0gB2lZvzPmT for ; Sat, 29 Jun 2024 05:07:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 45T57oHe060564 for ; Sat, 29 Jun 2024 05:07:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45T57o6v060563 for ports-bugs@FreeBSD.org; Sat, 29 Jun 2024 05:07:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279519] [NEW PORT] databases/mongosh: mongodb official Shell CLI Date: Sat, 29 Jun 2024 05:07:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ronald@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279519 --- Comment #4 from Ronald Klop --- (In reply to Fabien Amelinck from comment #3) I don=E2=80=99t have experience building a npm based port. So asked your qu= estion at ports@freebsd.org. This was an answer on the list by Hiroo Ono. Maybe it he= lps. Hi, Not a committed port, so I do not know if it is the right solution. I managed to limit the networking in fetch phase in the port below: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272180 in short, I took the following steps in fetch phase, 1. HOME=3D${WRKDIR} npm install --ignore-scripts 2. backup ${WRKDIR}/.npm under ${DISTDIR} in extract phase 3. extract backup .npm under ${WRKDIR} in build phase 4. HOME=3D${WRKDIR} npm install --offline Another solution is electron port. When I looked into in (around version 22), it archived yarn cache somewhere and fetched it. --=20 You are receiving this mail because: You are the assignee for the bug.=