From owner-freebsd-questions@FreeBSD.ORG Sun Apr 5 00:02:48 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CA06106566B for ; Sun, 5 Apr 2009 00:02:48 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.124]) by mx1.freebsd.org (Postfix) with ESMTP id 18FF88FC0A for ; Sun, 5 Apr 2009 00:02:47 +0000 (UTC) (envelope-from doug@polands.org) Received: from haran.polands.org ([75.87.219.217]) by hrndva-omta03.mail.rr.com with ESMTP id <20090405000247.KPTL29713.hrndva-omta03.mail.rr.com@haran.polands.org>; Sun, 5 Apr 2009 00:02:47 +0000 Received: from email.polands.org (moab.polands.org [172.16.1.8]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id n3502jBo024745; Sat, 4 Apr 2009 19:02:46 -0500 (CDT) (envelope-from doug@polands.org) Received: from 172.16.1.33 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Sat, 4 Apr 2009 19:02:46 -0500 (CDT) Message-ID: <75424c1e194a143415b99e169b0588a3.squirrel@email.polands.org> In-Reply-To: <49D7AFC9.9090708@infracaninophile.co.uk> References: <49D7AC35.7060000@polands.org> <49D7AFC9.9090708@infracaninophile.co.uk> Date: Sat, 4 Apr 2009 19:02:46 -0500 (CDT) From: "Doug Poland" To: "Matthew Seaman" User-Agent: SquirrelMail/1.4.17 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: questions@freebsd.org Subject: Re: portupgrade fu... AKA there has to be a better way X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2009 00:02:48 -0000 On Sat, April 4, 2009 14:06, Matthew Seaman wrote: > Doug Poland wrote: >> Hello, >> >> I'm upgrading a server from 6.4 to 7.1 and am going through the >> relative pain of re-compiling all the ports. It's not as easy >> "portupgrade -af" because of all the special handling instructions >> of many ports. >> >> I have not found an "easy" way to keep track of the ports that need >> to be forcibly updated but have not undergone a version change. >> Because I approach the upgrade in steps, I need to run portupgrade >> several times but want to exclude stuff already compiled under 7.x. >> >> What I need is a command like: >> >> # portupgrade -af -x "already compiled on 7" >> >> >> Suggestions, comments, rebukes welcome. > > Assuming you start the upgrade today, then: > > # portupgrade -af -x ">=2009-04-04" > hmmm, I don't think it gets much easier than that. Thanks! -- Regards, Doug