On Wed, Dec 03, 2003 at 10:58:12AM -0200, Ivo R. Tonev wrote:
> how I can create a src and ports mirror ???

Most people would use cvsup(1) to do that -- for files kept under CVS
control, it's actually more efficient than rsync(1), since it can
transfer exactly the diff's between versions of a file.  (In the case
of non-text files that don't make very good diff's it actually uses
precisely the rsync algorithm).

See:

    http://www.cvsup.org/faq.html
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

If you absolutely have to use rsync, then some of the FreeBSD mirrors
do support rsync -- closest to you is ftp3.br.FreeBSD.org/pub/FreeBSD/
but the FreeBSD stuff is hidden several directories deep:

    % rsync rsync://ftp3.br.FreeBSD.org/ftp/pub/FreeBSD/

see also:

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-rsync.html
If you want a local copy of the entire FreeBSD cvs repository, rather
than just checked out copies of the ports and src trees, install the
net/cvsup-mirror port.  This will run an interactive script that lets
you configure mirroring of the repository.  Nb. you should get
clearance from the upstream mirror that you copy the stuff from before
setting this up.  Also please consider if you really do need to have
the full repository or not: you'll need it only if you're doing
significant development work on FreeBSD itself, or if you will be
acting as a mirror server providing sources for a reasonably large
population of other FreeBSD users.

        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

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to