From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 06:32:18 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 3D8BC1065672 for ; Fri, 12 Dec 2008 06:32:18 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id 0F2408FC14 for ; Fri, 12 Dec 2008 06:32:17 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1232566rvf.43 for ; Thu, 11 Dec 2008 22:32:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/fTeetltm7V2buslR9BebXGvbG2x2wX0AdLp6H3MtTM=; b=Yl8soES7tXbNoOb6NQyY+bFcF2bHn2LulFHU2mWUXb8XUAAY7p5ACAVSOoe76wCsp+ JVs5PAPXIOpYkefLtfRVqytGNVlnBLalaE+2ghQD4TPHVCkAYB4PRYvrnjVDfPUt0O/D W84d+f1yLE6gySh4MfCplxJV6WTN0gFDCy/Dc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QFCUztiMj4+lEAKdD3xzEkYeZn98ixxetKNB/bLkpRhoe9n/gErcXb6FRCEl7nbfgK 4FQSlhT9+0EGUXHDvngO8GZPW/6hO2llcuiGU4xBy1g/acz9tFlq3O7agXo5QtILeKWd T2Z75sIkhuN/C1X6fFgks0iNTEdlZMuHL6IsA= Received: by 10.140.161.11 with SMTP id j11mr1721605rve.247.1229063537640; Thu, 11 Dec 2008 22:32:17 -0800 (PST) Received: by 10.140.158.13 with HTTP; Thu, 11 Dec 2008 22:32:17 -0800 (PST) Message-ID: <7d6fde3d0812112232w71b69c3ekb239483d5ab83314@mail.gmail.com> Date: Thu, 11 Dec 2008 22:32:17 -0800 From: "Garrett Cooper" To: "Scot Hetzel" In-Reply-To: <790a9fff0812112225p3bb549d6iab5c76bffb86bea1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <790a9fff0812112225p3bb549d6iab5c76bffb86bea1@mail.gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: 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 06:32:18 -0000 On Thu, Dec 11, 2008 at 10:25 PM, Scot Hetzel wrote: > On 12/11/08, Peter Beckman wrote: >> 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? >> > If you have the compat6x port installed, you will not need to upgrade > any of the 200+ ports on those productions servers. > > If you upgrade one port, you'll then need to upgrade all of it > dependencies, as well as the ports that depend on these dependencies. > > To minimize your down time, you should set up a port build server that > will build these 200+ ports as packages. On the production systems, > you would use portupgrade to install the pre-built packages > > Scot True... forgot about compat6x. -Garrett