From owner-freebsd-questions Mon May 6 14:18:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta1n.bluewin.ch (mta1n.bluewin.ch [195.186.1.210]) by hub.freebsd.org (Postfix) with ESMTP id 7A4B737B49E for ; Mon, 6 May 2002 14:18:09 -0700 (PDT) Received: from saturn.spectraweb.ch (62.202.96.251) by mta1n.bluewin.ch (Bluewin AG 6.0.040) id 3CBAF369003BEC50; Mon, 6 May 2002 23:18:08 +0200 Received: (from martin@localhost) by saturn.spectraweb.ch (8.11.6/8.11.6) id g46LIFH44875; Mon, 6 May 2002 23:18:15 +0200 (CEST) (envelope-from info@pc-service.ch) Date: Mon, 6 May 2002 23:18:14 +0200 From: Martin Schweizer To: Kent Stewart Cc: Martin Schweizer , freebsd-questions@FreeBSD.ORG Subject: Re: cvsup and ports-update Message-ID: <20020506231814.B2595@saturn.spectraweb.ch> Reply-To: Martin Schweizer References: <20020506222311.A1429@saturn.spectraweb.ch> <3CD6E932.4070208@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: <3CD6E932.4070208@owt.com>; from kstewart@owt.com on Mon, May 06, 2002 at 01:36:02PM -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 Kent On Mon, May 06, 2002 at 01:36:02PM -0700 Kent Stewart wrote: > Martin Schweizer wrote: > > Hello > > > > 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. Sorry, but I'm realy confuse... :-( -- 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