From owner-freebsd-questions@FreeBSD.ORG Tue May 11 01:09:22 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 4CB6916A4CF for ; Tue, 11 May 2004 01:09:22 -0700 (PDT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 632A743D1D for ; Tue, 11 May 2004 01:09:20 -0700 (PDT) (envelope-from itetcu@apropo.ro) Received: (qmail 4483 invoked by uid 89); 11 May 2004 08:03:14 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by 0 with SMTP; 11 May 2004 08:03:14 -0000 Received: (qmail 16241 invoked from network); 11 May 2004 08:09:18 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 11 May 2004 08:09:18 -0000 Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 0E30A610D; Tue, 11 May 2004 11:09:10 +0300 (EEST) Received: from localhost (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id E23C3394; Tue, 11 May 2004 11:13:02 +0300 (EEST) Received: from it.buh.cameradicommercio.ro ([127.0.0.1])port 10024) with ESMTP id 04304-07; Tue, 11 May 2004 11:13:02 +0300 (EEST) Received: from it.buh.cameradicommercio.ro (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with SMTP id 4AC53271; Tue, 11 May 2004 11:13:02 +0300 (EEST) Date: Tue, 11 May 2004 11:12:55 +0300 From: Ion-Mihai Tetcu To: Stephen Liu Message-Id: <20040511111255.1cd076a3@it.buh.cameradicommercio.ro> In-Reply-To: <20040511042422.4995.qmail@web40311.mail.yahoo.com> References: <20040511042422.4995.qmail@web40311.mail.yahoo.com> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at it.buh.cameradicommercio.ro cc: freebsd-questions@freebsd.org Subject: Re: First time running cvsup 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: Tue, 11 May 2004 08:09:22 -0000 On Tue, 11 May 2004 12:24:22 +0800 (CST) Stephen Liu wrote: > Hi folks > > Freebsd5.2 > ========= > > This is my first time running 'cvsup' to upgrade > port-tree after installing the OS which runs on a slow > PC, AMD-K6-350 and under X11. > > # cvsup cvs-supfile > > I went through 'A.5.3 CVSup Configuration' on > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > But I haven't had much confidence on myself, not > running the PC to an unstable state after upgrade. > Please provide me some advice on this respect > > $ pkg_info | grep cvsup > cvsup-16.1h General network file distribution > system optimized for CVS > > # cp /usr/share/examples/cvsup/cvs-supfile > /etc/cvs-supfile > # ee /etc/cvs-supfile (as follows) > .... > cvs-all (shall I add 'release=cvs' ???) > ... > > Can I create one 'supfile' to /etc/supfile and run > followings collectively (instead of to run each > 'supfile' separately); > # cat /etc/supfile > .... > src-all > doc-all ('release=cvs' ???) > cvs-all ('release=cvs' ???) > cvsroot-all ('release=cvs' ???) > ports-all ('release=cvs' ???) > ..... I use 3 cvsup files: one fot the ports, one for the docs and one for the system (src). This way I can update ports and docs more often and be sure the system had known-to-be-working sources (I'm on -CURRENT). My /etc/ports-supfile is: *default host=cvsup3.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix ports-all (Don't refuse categories in ports, when you'll try to `make index` I will fail from time to time ). In the /etc/current-supfile the line ports-all is replaced by src-all and in /etc/doc-all by doc-all If you don't follow -current you will want to change the dot from "tag=." in your branch. > > then > # cvsup supfile > > Is it necessary to run following trial test ??? > # mkdir /var/tmp/dest > # cvsup supfile /var/tmp/dest No. > I could not locate > /usr/ports/UPDATING > where it is kept??? Well, in /usr/ports :) It is a new thing so it will appear after you cvsup. -- IOnut Unregistered ;) FreeBSD "user"