poudriere, Go and networking

Chris H bsd-lists at bsdforge.com
Fri Dec 11 18:02:54 UTC 2015


On Fri, 11 Dec 2015 15:36:01 +0100 Kurt Jaeger <lists at opsec.eu> wrote

> Hi!
> 
> > 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.
> 
> We recently upgraded maven, the java-world 'make and godep' and all
> the ports that need maven to build have the same problem, see:
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188110#c37
> 
> > So here is the question: would it be possible to have networking
> > enabled during extract phase ?
> > Or maybe there is another solution (some flag in ports maybe that
> > I'm missing ?)
> 
> I think we need some fancy fetch target per distfile which basically
> uses technology-dependend (maven, godep, etc) ways to trigger
> the 'fetch' during the fetch-phase. Probably some sort
> of base-fetch vrs. dep-fetch ?
You might find some clues in ports-mgmt/portmaster
In other words; how does portmaster find everything upfront, to
start all the background downloads, prior to initiating the builds?

--Chris
> 
> -- 
> pi at opsec.eu            +49 171 3101372                         5 years to go
> ! _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"




More information about the freebsd-ports mailing list