Date: Mon, 22 Feb 2016 07:19:31 -0500 From: "Derek (freebsd lists)" <482254ac@razorfever.net> To: freebsd-ports@freebsd.org Subject: Re: Pulling from github as a vendorized dependency in poudriere Message-ID: <56CAFCD3.9040809@razorfever.net> In-Reply-To: <56C7C48F.4070905@razorfever.net> References: <56C706D0.2000006@razorfever.net> <20160219191646.GA75742@spindle.one-eyed-alien.net> <56C7C48F.4070905@razorfever.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16-02-19 08:42 PM, Derek (freebsd lists) wrote: > On 16-02-19 02:16 PM, Brooks Davis wrote: >> On Fri, Feb 19, 2016 at 07:13:04AM -0500, Derek (freebsd lists) >> wrote: >>> I can provide more detail, but would like to know if I'm doing >>> something horribly wrong first (i.e. trying to access the network >>> with gb as a make target, versus some other way to do this). >> >> When you run "gb vendor", what stage does that happen in? IIRC >> poudriere only configures network access during the fetch stage >> so you >> must find a way to run it as part of the fetch process or >> capture and >> emulate its result. >> > Indeed, I was doing it in the post-extract stage, as there is > some patching that happens to the pulled-in sources from there, > and the vendor information is extracted from the tarball. > > I see now, poudriere wants "no network", as you mention: > > https://fossil.etoilebsd.net/poudriere/doc/trunk/doc/design.mkd > I've submitted a patch to doc: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207416 Additionally, I was able to pull in my depends via: 5.4.3.1. Fetching Multiple Files from GitHub https://www.freebsd.org/doc/en/books/porters-handbook/makefile-distfiles.html#idp63641808 So it wasn't so bad. Dunno what it would look like if my depends were in a few different places though. Thanks all! Derek
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56CAFCD3.9040809>