[Bug 279519] [NEW PORT] databases/mongosh: mongodb official Shell CLI
Date: Sat, 29 Jun 2024 05:07:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279519 --- Comment #4 from Ronald Klop <ronald@FreeBSD.org> --- (In reply to Fabien Amelinck from comment #3) I don’t have experience building a npm based port. So asked your question at ports@freebsd.org. This was an answer on the list by Hiroo Ono. Maybe it helps. 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=272180 in short, I took the following steps in fetch phase, 1. HOME=${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=${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. -- You are receiving this mail because: You are the assignee for the bug.