poudriere, Go and networking

Yuri yuri at rawbw.com
Sun Dec 13 11:42:02 UTC 2015


On 12/11/2015 05:57, Piotr Florczyk wrote:
> Recently I had to package couple of programs written in Go and godep is
> becoming the standard for dependency tracking in Go projects.
> For example I currently had to package telegraf. Here is the thing. Poudriere
> disables networking after fetch phase and I don't know before extract
> phase what dependencies are inside.

You don't need networking in extract phase. I recently made go.mk and 
nodejs.mk - both manage to get dependencies w/out networking:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205282
and
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204577

It is *extremely dangerous* (though convenient) to let dependencies 
download automatically, like Go and NodeJS do.

Yuri


More information about the freebsd-ports mailing list