Date: Sat, 29 Jun 2024 05:07:50 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279519] [NEW PORT] databases/mongosh: mongodb official Shell CLI Message-ID: <bug-279519-7788-X405I6MF5i@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279519-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-279519-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279519 --- Comment #4 from Ronald Klop <ronald@FreeBSD.org> --- (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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279519-7788-X405I6MF5i>