Date: Sun, 10 Jun 2018 21:31:38 +0200 From: Willem Jan Withagen <wjw@digiware.nl> To: Adam Weinberger <adamw@adamw.org> Cc: ports@freebsd.org Subject: Re: Installing javascript code into a port with npm... Message-ID: <e7db189e-0559-c3dc-a03f-b301a1ba60a3@digiware.nl> In-Reply-To: <CAP7rwciO6sAoPk2K-VNv-bbKHYPEN93fX5oar2paQcFASpUGkw@mail.gmail.com> References: <2285e8c5-21f5-98a2-5b1b-20e2f9747bd3@digiware.nl> <CAP7rwciO6sAoPk2K-VNv-bbKHYPEN93fX5oar2paQcFASpUGkw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/06/2018 19:12, Adam Weinberger wrote: > On Sun, Jun 10, 2018 at 9:45 AM Willem Jan Withagen <wjw@digiware.nl> wrote: >> >> Hi, >> >> The Ceph ports has since a while started to import all kinds of >> javascript code using npm. Which fetches external data and install this >> in the Ceph resulting tree. >> >> I have a question with this: >> >> How would that work under pouderiere building, because I was under the >> impression that fetching extra data whilest builing a ports is sort of >> not done. >> >> Other than that I still have errors in the building code, but I'd like >> to know this before I put major effort in getting it to work the way it >> now does... >> >> Thanx, >> --WjW > > poudriere cannot fetch during build. (However, it can if you whitelist > it in ALLOW_NETWORKING_PACKAGES in poudriere.conf.) > > The only thing you can do is fetch those dependencies as part of > do-fetch, or have the user do it after installation (pkg-message > instructions or a script or something). > > Please, try *not* to create ports for the dependencies. We absolutely > do not want npm packages in ports unless there's no other option. 'mmm Sounds like an effort. But avoiding npm packages is waht I expected, given that none we in the tree. --WjW
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e7db189e-0559-c3dc-a03f-b301a1ba60a3>