Date: Tue, 21 Dec 2004 22:31:14 -0800 From: Joshua Tinnin <gamera@pacbell.net> To: freebsd-questions@freebsd.org Cc: adam@jamradar.com Subject: Re: cvs-supfile? Message-ID: <20041222063114.GA11281@gamerasmog.com> In-Reply-To: <20041222060830.GG10180@gamerasmog.com> References: <20041222060830.GG10180@gamerasmog.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 21, 2004 at 10:08:30PM -0800, Joshua Tinnin wrote: > 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 I'm sorry, actually you should just have ports-all tag=. Messed up when I was editing it. If you have both, you will probably delete the ports tree, because ports-all without a tag will use the default tag, which is for a release and not ports. Mea culpa. - jt > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041222063114.GA11281>