From owner-freebsd-questions@FreeBSD.ORG Wed Dec 22 06:31:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8818D16A4CE for ; Wed, 22 Dec 2004 06:31:25 +0000 (GMT) Received: from smtp814.mail.sc5.yahoo.com (smtp814.mail.sc5.yahoo.com [66.163.170.84]) by mx1.FreeBSD.org (Postfix) with SMTP id 650AE43D41 for ; Wed, 22 Dec 2004 06:31:25 +0000 (GMT) (envelope-from gamera@pacbell.net) Received: from unknown (HELO gamerasmog.com) (gamera@pacbell.net@64.173.26.30 with login) by smtp814.mail.sc5.yahoo.com with SMTP; 22 Dec 2004 06:31:25 -0000 Date: Tue, 21 Dec 2004 22:31:14 -0800 From: Joshua Tinnin To: freebsd-questions@freebsd.org Message-ID: <20041222063114.GA11281@gamerasmog.com> References: <20041222060830.GG10180@gamerasmog.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041222060830.GG10180@gamerasmog.com> User-Agent: Mutt/1.4.2.1i cc: adam@jamradar.com Subject: Re: cvs-supfile? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 06:31:25 -0000 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