Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2008 10:16:21 -0400
From:      "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
To:        Onkar <onkar.n.m@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dowloading entire source code
Message-ID:  <4826FFB5.2020902@gmail.com>
In-Reply-To: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com>
References:  <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Onkar wrote:
| I am a newbie  to FreeBSD . I want ot downlod entire FreeBSD source 
code for
| reference. Please let me know how do i go about it.

Depends on if your talking about for the base system or ports or both.   
The easiest way to do it is use the csup procedures listed in the one of 
appendixs of the Handbook.  If you want to do it in in such a way that 
if you make a mortification the next csup will not globber it read the 
man page for developement(8), you should note though that some of the 
procedures listed there are overkill.  For example I skip most of the 
stuff on /usr/src2 (besides it breaks some tools).   For example this is 
how I update my sources on a daily baseis:

cvsup -h cvsup9.us.freebsd.org 
/usr/share/example/cvsup/cvsup-supfile                      // fetch the 
latest6 cvs repository
cd /usr/src
cvs -q update 
-dP                                                                                                               
// update my local base systems sources
// do the make procedure listed in the handbook
cd /usr/ports
cvs -q update 
-dP                                                                                                               
// update my ports tree
portsupgrade 
-a                                                                                                                  
// install any new port updates

Note this method will give you a 8-CURRENT system if you want some other 
version you will have to put a tag option on the /usr/src cvs call.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgm/7UACgkQk8GFzCrQm4Al/gCeK0vsp9QqVYycqKLUKyinSImu
1FgAoIYiHM5RaVmYI76zGDAbJNa5h7Jp
=06ha
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4826FFB5.2020902>