Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2015 03:41:59 -0800
From:      Yuri <yuri@rawbw.com>
To:        Piotr Florczyk <piotr.florczyk@gemius.com>, freebsd-ports@freebsd.org
Subject:   Re: poudriere, Go and networking
Message-ID:  <566D5987.8080402@rawbw.com>
In-Reply-To: <374B9F2C-11B4-44F6-9FF6-E4687ECF9CB2@gemius.com>
References:  <374B9F2C-11B4-44F6-9FF6-E4687ECF9CB2@gemius.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?566D5987.8080402>