Date: Thu, 9 May 2002 14:49:58 +0200 From: Martin Schweizer <info@pc-service.ch> To: Kent Stewart <kstewart@owt.com> Cc: Martin Schweizer <info@pc-service.ch>, freebsd-questions@FreeBSD.ORG Subject: Re: cvsup and ports-update Message-ID: <20020509144958.A28877@saturn.spectraweb.ch> In-Reply-To: <3CD6F724.2000403@owt.com>; from kstewart@owt.com on Mon, May 06, 2002 at 02:35:32PM -0700 References: <20020506222311.A1429@saturn.spectraweb.ch> <3CD6E932.4070208@owt.com> <20020506231814.B2595@saturn.spectraweb.ch> <3CD6F724.2000403@owt.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <info@pc-service.ch> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020509144958.A28877>