Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 22:08:30 -0800
From:      Joshua Tinnin <gamera@pacbell.net>
To:        freebsd-questions@freebsd.org
Cc:        adam@jamradar.com
Subject:   Re: cvs-supfile?
Message-ID:  <20041222060830.GG10180@gamerasmog.com>

next in thread | raw e-mail | index | archive | help

--XsQoSWH+UP9D9v3l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Whoops, forgot to send this to the list ...

- jt


--XsQoSWH+UP9D9v3l
Content-Type: message/rfc822
Content-Disposition: inline

Date: Tue, 21 Dec 2004 22:01:16 -0800
From: Joshua Tinnin <gamera@pacbell.net>
To: Adam <adam@jamradar.com>
Subject: Re: cvs-supfile?
Message-ID: <20041222060116.GF10180@gamerasmog.com>
References: <004501c4e7e4$b85ed940$0200a8c0@PANASONIULSWMR>
	<20041222052325.GE10180@gamerasmog.com>
	<004d01c4e7e7$dc4fb790$0200a8c0@PANASONIULSWMR>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <004d01c4e7e7$dc4fb790$0200a8c0@PANASONIULSWMR>
User-Agent: Mutt/1.4.2.1i

On Tue, Dec 21, 2004 at 11:33:57PM -0600, Adam wrote:
> > On Tue, Dec 21, 2004 at 11:11:35PM -0600, Adam wrote:
> > > My cvs-supifle look like
> > >
> > > *default host=cvsup1.us.freebsd.org
> > > *default base=/usr/local/etc/cvsup
> > > *default prefix=/usr
> > > *default tag=RELENG_5_3
> > > *default release=cvs delete use-rel-suffix compress
> > >
> > > I just want core security updates to FreeBSD and no new ports.  Will
> this
> > > just update the FreeBSD operating systems?
> >
> > Yes, as long as you don't have ports selected, like if you had ports-all
> > in the same file with that tag, you'd end up deleting your ports tree,
> > because the ports collection doesn't use the same tag. BTW, if you update
> > ports with cvsup, it will just update the Makefiles and patches, not the
> > actual ports installed as packages on your system. You might have known
> > that, but thought it would be worth mentioning.
> 
> I didn't know, how would I change it so it would also update with patches
> and makefiles?
> 
> *default host=cvsup1.us.freebsd.org
> *default base=/usr/local/etc/cvsup
> *default prefix=/usr
> *default tag=RELENG_5_3
> *default release=cvs delete use-rel-suffix compress

If you want to update your ports tree at the same time as the source,
put this in the file:

ports-all tag=.
ports-all

You should also have:

src-all

in the file in order to download all the source for FreeBSD. Just to
clarify, ports-all will download all changes to the ports tree, or it
will put it on your /usr/ports directory if it's not there yet, and
src-all will download all the source for the FreeBSD OS you specify in
the tag, or changes to it if it's already there. After you have
downloaded changes to the ports tree, you have to make or fetch a new
INDEX in oder to use it to install or upgrade ports. The simplest way to
do this is to issue these commands as root:

cd /usr/ports && make fetchindex && portsdb -u

Much of this is also explained in the handbook, which is an excellent 
resource.

You might also want to look into portupgrade and related tools. A good
tutorial is here:
http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

- jt

--XsQoSWH+UP9D9v3l--



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