From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 13:17:09 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 926B916A4B3 for ; Wed, 8 Oct 2003 13:17:09 -0700 (PDT) Received: from makeworld.com (makeworld.com [12.15.124.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F52043F3F for ; Wed, 8 Oct 2003 13:17:08 -0700 (PDT) (envelope-from racerx@makeworld.com) Received: from openbsd.cbag.local (unknown [12.15.124.131]) by makeworld.com (Postfix) with ESMTP id EA3A418; Wed, 8 Oct 2003 15:17:00 -0500 (CDT) From: Chris To: David.Bear@asu.edu, freebsd-questions@freebsd.org Date: Wed, 8 Oct 2003 15:18:13 -0500 User-Agent: KMail/1.5 References: <20031008113325.B11482@asu.edu> In-Reply-To: <20031008113325.B11482@asu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310081518.13256.racerx@makeworld.com> Subject: Re: cvsup and portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 20:17:09 -0000 On Wednesday 08 October 2003 01:33 pm, David Bear wrote: > I'm still trying to muddle through the loads of different ways to keep > FreeBSD 'current' -- meaning, safely patched, aka RELENG_5_1 (for me) > > As I conceptualize the operations there are two levels of 'patching', > 1) the kernel and base system > 2) then all the ports that I may have installed > > I've read the cvsup docs and can see how to update both the kernel > source and ports. But the problem I see is the ports. After the > ports collection has cvsupdated, I would still need to do a make > install for each port I have previous installed, correct? (or, more > appropriately, make deinstall, the cvsup the ports, then make install) > Is this making things more difficult? Seems there really should be a > cleaner way to keep things updated. > > I've heard reference to a portupgrade package, but can't find any > details on how and what it really does-- and how well it plays with > cvsupdate. > > The other rotten thing here is that cvsupdate requires modula-3 -- and > portupgrade requires ruby... It would really be nice if all this were > done in the most perfect language, python;-) > > looking for some advice.. thx. Allbeit I am doing 4.9, here is what I do for the ports part of it. I too have had issues and found a perect solution (for me) To upgrade ports only & rebuild database: ----------------------------------------- type /usr/local/bin/cvsup -g -L2 /root/ports-supfile type /usr/local/sbin/portsdb -uU run /usr/local/sbin/portupgrade -arR The above line updates all ports and dependencies. -- Best regards, Chris ______________________________________________________________________ PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363 PGP Mail encouraged / preferred - keys available on common key servers ______________________________________________________________________ 01010010011000010110001101100101011100100101100000000000