From owner-freebsd-ports@FreeBSD.ORG Sat Apr 29 22:01:32 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDB2616A402 for ; Sat, 29 Apr 2006 22:01:32 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id C69B943D68 for ; Sat, 29 Apr 2006 22:01:24 +0000 (GMT) (envelope-from chris@chrismaness.com) Received: from pimout5-ext.prodigy.net (pimout5-int.prodigy.net [207.115.4.21]) by ylpvm01.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id k3TM1KFk031358 for ; Sat, 29 Apr 2006 18:01:20 -0400 X-ORBL: [69.108.82.170] Received: from [192.168.4.2] (adsl-69-108-82-170.dsl.irvnca.pacbell.net [69.108.82.170]) by pimout5-ext.prodigy.net (8.13.6 out.dk/8.13.6) with ESMTP id k3TM1MLd253022; Sat, 29 Apr 2006 18:01:22 -0400 Message-ID: <4453E231.1030107@chrismaness.com> Date: Sat, 29 Apr 2006 15:01:21 -0700 From: Chris Maness User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Kris Kennaway References: <44538D42.8030301@chrismaness.com> <20060429185437.GA62359@xor.obsecurity.org> In-Reply-To: <20060429185437.GA62359@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Upgrade Tool X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 22:01:32 -0000 Kris Kennaway wrote: > On Sat, Apr 29, 2006 at 08:58:58AM -0700, Chris Maness wrote: > >> Currently, I download the tarballs for each specific application by >> hand, delete the old folder, then untar the new directory in the ports >> tree. Is there an app that does this without having to do this by >> hand. I know about cvs syncing the whole ports tree, but I prefer to >> upgrade the specific applications that have issues not the whole tree. >> > > This is much harder than you might think; often applications depend on > other applications and infrastructure elements in complex and > unintuitive ways, so you will easily get your system into an > inconsistent, unbuildable state following this method. > > The only foolproof way to do it is to update the entire tree; tools > like portsnap and cvsup make this *really easy*, so why add extra > effort and risks? > > Kris > I do this because it is not necessary to build every third party application just because I have a problem with one. I have ran into this UNIX version of DLL hell, but it was easy to fix after I synced the whole tree and ran portupgrade -a. That just rebuilt everything installed, and made everything current. I have been upgrading single apps by hand with no ill results for a while. The only time igot into trouble was after I synced the whole tree and tried only upgrading some of the apps. It just seems like re-compiling every application every time portaudit finds a security hole is a waste of processor time. p.s. another thing I found that works well is doing a portupgrade -r. This causes everything that depends on that package to be upgraded as well. At least that is better than recompiling EVERYTHING on the whole box, and if you have open office that app takes 9 GB of disk space and 24hrs on a 3 GHz processor by itself. Thanks Chris Maness