Date: Fri, 29 Jun 2001 13:35:16 -0500 From: Mike Meyer <mwm@mired.org> To: Michael Radzewitz <michael.radzewitz@freenet-ag.de> Cc: questions@freebsd.org Subject: Re: updating the ports via cvsup Message-ID: <15164.51812.53565.726177@guru.mired.org> In-Reply-To: <4905488@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael Radzewitz <michael.radzewitz@freenet-ag.de> types: > Hello, > > i have a question about the mechanism of updating the ports tree. > I have setup the cvsup script and it runs very fine. It's easy and very > clean to update the kernel and the base FreeBSD system. > > Now my question by example: > > I have installed php-4.0.5 via the ports procedure. A couple of > weeks later i run the cvsup script and I get some new decription > files for a patched version of php. I run make and it does nothing > because the source files have not changed yet. I rename the work > directory and run make again. Now make fetches the new sources > and and starts building php again. It stops with a error messages > because php needs a newer version of curl. I change into this > directory and update curl in the same way (renaming the work > diretory/make/make install). > > Is there another way to update the ports? I have looked for > something like this: > > /usr/ports/www/mod_php4/make update > > The way I does the update does not seem very clean to me > (the cvsup procedure at all is still the most comfortable > way - i love it). > > I'am asking this because I am looking for a way of setting > up some systems without haveing to update them by hand. make clean install in the port will update just that port. pkg_version -c will output a script that will does all the work you need to do, including removing the old version of the ports before the reinstalls. You *must* edit the output of pkg_version -c before running it, though. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. 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?15164.51812.53565.726177>