From owner-freebsd-questions Thu May 9 5:49:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta9n.bluewin.ch (mta9n.bluewin.ch [195.186.1.215]) by hub.freebsd.org (Postfix) with ESMTP id F1D1D37B410 for ; Thu, 9 May 2002 05:49:35 -0700 (PDT) Received: from saturn.spectraweb.ch (213.3.96.3) by mta9n.bluewin.ch (Bluewin AG 6.0.040) id 3CBDE981003A44D1; Thu, 9 May 2002 14:49:31 +0200 Received: (from martin@localhost) by saturn.spectraweb.ch (8.11.6/8.11.6) id g49Co4u29027; Thu, 9 May 2002 14:50:04 +0200 (CEST) (envelope-from info@pc-service.ch) Date: Thu, 9 May 2002 14:49:58 +0200 From: Martin Schweizer To: Kent Stewart Cc: Martin Schweizer , freebsd-questions@FreeBSD.ORG Subject: Re: cvsup and ports-update Message-ID: <20020509144958.A28877@saturn.spectraweb.ch> Reply-To: Martin Schweizer References: <20020506222311.A1429@saturn.spectraweb.ch> <3CD6E932.4070208@owt.com> <20020506231814.B2595@saturn.spectraweb.ch> <3CD6F724.2000403@owt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3CD6F724.2000403@owt.com>; from kstewart@owt.com on Mon, May 06, 2002 at 02:35:32PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Zach and Kent It was the prefix in my supfile: *default prefix=/usr is correct. Otherwise cvsup will create a subdirectory in /usr/ports called /ports Thanks for the hint. On Mon, May 06, 2002 at 02:35:32PM -0700 Kent Stewart wrote: > > >>>I create the following supfiles: > >>> > >>>*default tag=. > >>>*default host=cvsup2.de.freebsd.org > >>>*default prefix=/usr/ports > >>>*default base=/usr/local/etc/cvsup > >>>*default release=cvs delete use-rel-suffix compress > >>>ports-all > >>> > >>>or > >>> > >>>*default tag=. > >>>*default host=cvsup2.de.freebsd.org > >>>*default prefix=/usr/ports > >>>*default base=/usr/local/etc/cvsup > >>>*default release=cvs delete use-rel-suffix compress > >>>ports-x11 > >>> > >>>Now I start cvsup. I see my cvsup is loading down all the above stuff but after > >>> cvsup there are no changes made in /usr/ports/ or in /usr/ports/x11. If I > >>>change to *default prefix=/usr/home/my_username he creates the newest ports > >>>directories correct with the newest stuff in it. What is going wrong? > >>> > >> > >>Nothing, you don't understand what cvsup is doing. > >> > > Yes. Now I'm confuse! > > > > > >>The ports are a > >>data structure that gets updated by cvsup. You have to cvsup and then > >>cd into the proper directory to make use of the new data. Then, can do > >>a make and make install to actually update the port. If you already > >>have it installed, you will have to delete the previous version. This > >>is a simplistic view and most ports have a dependancy list that must > >>be maintained at the same time. For example, if you update ports-x11, > >>nothing that uses it will be updated to use the new version. You > >>really have to cvsup ports-all. When you finish cvsuping, you have to > >>rebuilt /usr/ports/INDEX* > >> > > > > I search a lot in the FreeBSD books and on John Polstra's site but I don't > > know what I have to do. Ok, let me say I do first cvsup with src-all (what I > > did realy before) and my goal is keep update the ports directory. What is > > "rebuilt /usr/ports/INDEX*" ? If I start "make index" in the ports directory > > after sometimes an error occurs. > > > When you cvsup src-all, you get the OS and have a different tag. There > are examples of working supfiles in /usr/share/examples/cvsup. You can > combine them but you have to pay close attention to the tag entries. A > tag=. will get you freebsd-current and that is the only useful tag for > docs and ports. > > I get the error messages but I have portupgrade installed and have > added "portsdb -uU" to the script is use to do my port cvsup. It > remakes both INDEX files everytime I cvsup. > > > > Sorry, but I'm realy confuse... :-( > > > Zack caught a major error. You can change the locations but then you > have to offset where you look for a port. You need something like > > #*default host=cvsup7.freebsd.org > *default host=ruby > *default base=/usr > *default prefix=/usr > *default release=cvs tag=. > *default delete use-rel-suffix -- Regards Martin Schweizer PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message