Building ports with sorces on a local mirror?

Josh Paetzel josh at tcbug.org
Sat Aug 26 20:53:42 UTC 2006


On Saturday 26 August 2006 15:35, Chris Knipe wrote:
> Look at the cvs-mirror port...
>
>
> Regards,
> Chris.
>
> ----- Original Message -----
> From: "stan" <stanb at panix.com>
> To: "Free BSD Questions list" <freebsd-questions at freebsd.org>
> Sent: Saturday, August 26, 2006 10:15 PM
> Subject: Building ports with sorces on a local mirror?
>
> > I'm in the process of seting up to build a fair number of
> > machines behind a
> > very restrictive firewall (and besides that the outbound link is
> > very slow).
> >
> > What I have in mind is setting up a machine using mirror software
> > to create
> > a local mirror of the FreeBSD site, including the distfiles for
> > the ports tree.
> >
> > Is thee a way to get the ports build system to look for distfiles
> > on this local mirror?

The cvs-mirror port won't download the distfiles for all of the ports.  
Depending on how 'slow' your link is that could be a very daunting 
task.

The MASTER_SITES environment variable is probably what you want.  man 
ports for the details.

-- 
Thanks,

Josh Paetzel


More information about the freebsd-questions mailing list