On Sun, Jun 29, 2003 at 08:22:44AM +0100, Rus Foster wrote: > Hi All, > Looking for the voice of expierence. What is the best way of setting up a > local ports mirror? Any particular programs or fancy scripts? > > Trying to above nvftp -r ftp://ftp.freebsd.org/....
Do you mean ports or packages? ports is the directory tree of Makefiles etc. that you can use to download, compile and install getting on for 9000 different freely available software packages. packages is the pre-compiled result of doing that for about 8000 of those ports (the rest either have licensing restrictions that mean they can't be released that way, or there's some other problem with the port or it's dependencies that prevents it being automatically built). The ports tree is currently about 137Mb. packages will be several Gb --- certainly more than fits on two CD Roms. You can maintain an up-to-date copy of ports on your machine using cvsup(1) -- look at /usr/share/examples/cvsup/ports-supfile for inspiration. (And beware the classic pitfall: you can't use tags like 'tag=RELENG_4' with ports as you would for the system sources -- 'tag=.' is the only viable option.) If you're really after maintaining a copy of large chunks of the FreeBSD ftp site, then you need read and follow the instructions in http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html and you'll probably want to join the [EMAIL PROTECTED] mailing list. You won't be permitted to mirror directly from [EMAIL PROTECTED], but you should be able to come to an arrangement with the admins of a FreeBSD mirror closer to you. OTOH ftp.uk.freebsd.org and ftp2.uk.freebsd.org are both well-connected, fast sites. (ftp2.uk.freebsd.org is an alias for the UK Academic Mirror Service -- http://www.mirror.ac.uk/ which is a huge service, mirroring just about everything you ever heard of on a cluster of at least 9 machines spread over sites at the University of Lancaster and the University of Kent. Start with http://www.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/%5Bpeek%5D ) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK
Description: PGP signature