Download the whole ports tree

Kris Kennaway kris at obsecurity.org
Sat Dec 17 10:15:09 PST 2005


On Sat, Dec 17, 2005 at 06:03:12PM +0100, K??vesd??n G??bor wrote:
> RW wrote:
> 
> >On Saturday 17 December 2005 07:54, Kris Kennaway wrote:
> > 
> >
> >>Well, if you really think you want this, then just:
> >>
> >>cd /usr/ports
> >>make fetch
> >>   
> >>
> >
> >Just idle curiosity, but does anyone have a feeling for how much that 
> >would download?
> > 
> >
> This would not fetch all of the distfiles, because there are broken 
> ports that are unfetchable and the fetching would stop when reaching the 
> first such port.

Sorry, you're right - you want 'make -k fetch BATCH=yes' (the variable
is to avoid any interaction from things like config dialogs).  You
might be able to get away with using -j for concurrent fetches too,
although there's a possibility of corrupting a distfile if two ports
that share the same distfile fetch it at once.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051217/596c3cd6/attachment.bin


More information about the freebsd-questions mailing list