Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Nov 2009 20:20:52 +0000
From:      Frank Shute <frank@shute.org.uk>
To:        Roger <rnodal@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Help understanding basic FreeBSD concepts (ports, updates, jails)
Message-ID:  <20091107202052.GA92497@orange.esperance-linux.co.uk>
In-Reply-To: <9d972bed0911070839q3f9ded02q40de4637278bcec9@mail.gmail.com>
References:  <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> <9d972bed0911070839q3f9ded02q40de4637278bcec9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 07, 2009 at 11:39:41AM -0500, Roger wrote:
>
> Hello all,
> 
> I have another concept that I'm confused about, the source distribution.
> Some ports, like "lsof" require the existence of /usr/src.
> What I don't understand is which version to use to keep synchronized
> with the production release.
> When the installed was performed the release was 7.2 but after doing
> "freebsd-update" the release is now
> 7.2-p4. According to the documentation, I can track CURRENT, STABLE plus other.
> Which one is the recommended one for a production server. I have not
> build that many
> packages that need the sources present so now would be a good time to
> find out which one
> I should use.
> 
> Thank you for your time and patience,
> 
> -r

You mentioned lsof but there is a utility in base which you probably
don't know about called fstat(1), which does a lot of what lsof does.

IIRC, the sources for 7.2 should be on the CD (run sysinstall(8) after
sticking the CD in). That will save you from downloading all the
sources.

Then update the sources with csup(1) using the correct tag: RELENG_7_2

There's a supfile, /usr/share/examples/cvsup/standard-supfile, which
you can change the default host and cvs tag of and it should work.

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

goes into the details.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html





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