From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 03:13:00 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF5921065670 for ; Fri, 12 Dec 2008 03:13:00 +0000 (UTC) (envelope-from beckman@angryox.com) Received: from nog.angryox.com (nog.angryox.com [70.164.19.87]) by mx1.freebsd.org (Postfix) with ESMTP id CCAD98FC1F for ; Fri, 12 Dec 2008 03:13:00 +0000 (UTC) (envelope-from beckman@angryox.com) Received: by nog.angryox.com (Postfix, from userid 1001) id 41A362C3B3B; Fri, 12 Dec 2008 03:13:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nog.angryox.com (Postfix) with ESMTP id 3F7D62C3B3A for ; Thu, 11 Dec 2008 22:13:00 -0500 (EST) Date: Thu, 11 Dec 2008 22:13:00 -0500 From: Peter Beckman To: freebsd-ports@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: portupgrade and freebsd-update: A better way? 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: Fri, 12 Dec 2008 03:13:01 -0000 So I took on binary upgrading one of my FreeBSD servers today from 6.2-RELEASE to 7.0-RELEASE. Many useful sites outline exactly how to do this right, and they are mostly useful. Except when it comes to ports. http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html http://www.cyberciti.biz/faq/howto-freebsd-server-upgrades/ You get a few production servers with 200+ ports installed, and upgrading could take several days and lots of headaches and a lot of babysitting. Is there some sort of automated way that someone smart has figured out how to determine which ports are actually affected by the upgrade, so I only have to upgrade a hopefully small subset of installed ports? Are ALL the libraries upgraded during the OS upgrade modified in a way that breaks ALL existing ports? My gut says no, but my brain says it's not trivial to match the two together to limit the number of times you have to rebuild a port. Is there a better way? Does portsnap or portmanager or portupgrade keep track? What have I missed? Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman@angryox.com http://www.angryox.com/ ---------------------------------------------------------------------------