From owner-freebsd-ports@freebsd.org Sun Dec 13 11:42:02 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C019A42AD9 for ; Sun, 13 Dec 2015 11:42:02 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7AA0911D1 for ; Sun, 13 Dec 2015 11:42:01 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yuri.doctorlan.com (c-50-184-63-128.hsd1.ca.comcast.net [50.184.63.128]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id tBDBg0VO088815 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sun, 13 Dec 2015 03:42:00 -0800 (PST) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-50-184-63-128.hsd1.ca.comcast.net [50.184.63.128] claimed to be yuri.doctorlan.com Subject: Re: poudriere, Go and networking To: Piotr Florczyk , freebsd-ports@freebsd.org References: <374B9F2C-11B4-44F6-9FF6-E4687ECF9CB2@gemius.com> From: Yuri Message-ID: <566D5987.8080402@rawbw.com> Date: Sun, 13 Dec 2015 03:41:59 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <374B9F2C-11B4-44F6-9FF6-E4687ECF9CB2@gemius.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2015 11:42:02 -0000 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