From owner-freebsd-questions@FreeBSD.ORG Mon Jun 7 10:02:57 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 2647316A4D0 for ; Mon, 7 Jun 2004 10:02:57 +0000 (GMT) Received: from web40307.mail.yahoo.com (web40307.mail.yahoo.com [66.218.78.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 17FD043D48 for ; Mon, 7 Jun 2004 10:02:57 +0000 (GMT) (envelope-from satimis@yahoo.com) Message-ID: <20040607100236.61600.qmail@web40307.mail.yahoo.com> Received: from [203.88.168.21] by web40307.mail.yahoo.com via HTTP; Mon, 07 Jun 2004 18:02:36 CST Date: Mon, 7 Jun 2004 18:02:36 +0800 (CST) From: =?iso-8859-1?q?Stephen=20Liu?= To: Viktor Lazlo In-Reply-To: <20040606225152.E1519@byx0rm.mr-clevver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: cvsup vs portupgrade 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: Mon, 07 Jun 2004 10:02:57 -0000 Hi Viktor, Tks for your advice. - snip - > > # cvsup -g /usr/local/etc/cvsup/ports-supfile > > # cvsup -g /usr/local/etc/cvsup/stable-supfile > > > > Whether I still need to run > > > > # portupgrade -aRr > > > > 3) If NO to 2) above > > When shall I need to run > > # portupgrade -aRr > > > > 4) Whether following procedure is correct > > > > # cvsup -g /usr/local/etc/cvsup/ports-supfile > > then > > # cvsup -g /usr/local/etc/cvsup/stable-supfile > > cvsup synchronizes your source tree. This ensures > that whatever you build > will be using the updated code for the branch you > are tracking..(- snip -).......as far as your running > system is concerned, > no actual update occurs until you do a make > buildworld/make installworld, > make buildkernel/make installkernel, or install a > particular port using > the updated source code. - snip - Under which directory shall I run - make buildkernel/make installkernel or - make buildworld/make installworld > cvsup -g /usr/local/etc/cvsup/ports-supfile and > cvsup -g > /usr/local/etc/cvsup/stable-supfile separately > update the sources for the > FreeBSD version you are tracking and the ports > collection--if you are > running both every time you can combine them in a > single cvsupfile that > updates everything in a single pass. Hereinunder are the content of my /usr/local/etc/cvsup/ports-supfile .... *default host=cvsup10.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix #*default compress ports-all .... and /usr/local/etc/cvsup/stable-supfile .... *default host=cvsup10.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_5_2 *default delete use-rel-suffix #*default compress src-all doc-all www ...... Whether you suggest to combine them as /usr/local/etc/cvsup/ports+stable-supfile .... *default host=cvsup10.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=. tag=RELENG_5_2 *default delete use-rel-suffix #*default compress ports-all src-all doc-all www ...... Or any other filename to be suggested and only run # cvsup -g /usr/local/etc/cvsup/ports+stable-supfile each time B.R. Stephen _______________________________________________________________________ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk