From owner-freebsd-questions Fri Jun 29 11:35:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id E9BF537B403 for ; Fri, 29 Jun 2001 11:35:16 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 64701 invoked by uid 100); 29 Jun 2001 18:35:16 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15164.51812.53565.726177@guru.mired.org> Date: Fri, 29 Jun 2001 13:35:16 -0500 To: Michael Radzewitz Cc: questions@freebsd.org Subject: Re: updating the ports via cvsup In-Reply-To: <4905488@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ 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 Michael Radzewitz 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. 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