From owner-freebsd-questions@FreeBSD.ORG Sat Mar 17 19:04:18 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED89816A402 for ; Sat, 17 Mar 2007 19:04:18 +0000 (UTC) (envelope-from djp@polands.org) Received: from corinth.polands.org (CPE-75-87-219-217.new.res.rr.com [75.87.219.217]) by mx1.freebsd.org (Postfix) with ESMTP id B035513C45A for ; Sat, 17 Mar 2007 19:04:18 +0000 (UTC) (envelope-from djp@polands.org) Received: from ammon.polands.org (ammon.polands.org [172.16.1.7]) by corinth.polands.org (8.13.8/8.13.8) with ESMTP id l2HJ7SYv012135; Sat, 17 Mar 2007 14:07:28 -0500 (CDT) (envelope-from djp@polands.org) Received: from ammon.polands.org (localhost [127.0.0.1]) by ammon.polands.org (8.13.8/8.13.8) with ESMTP id l2HJ4HjL083332; Sat, 17 Mar 2007 14:04:17 -0500 (CDT) (envelope-from djp@ammon.polands.org) Received: (from djp@localhost) by ammon.polands.org (8.13.8/8.13.8/Submit) id l2HJ4HHk083331; Sat, 17 Mar 2007 14:04:17 -0500 (CDT) (envelope-from djp) Date: Sat, 17 Mar 2007 14:04:16 -0500 From: Doug Poland To: Matthew Seaman Message-ID: <20070317190416.GA83205@polands.org> References: <50887.69.129.174.18.1174061201.squirrel@email.polands.org> <45FAFB6C.2050006@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45FAFB6C.2050006@infracaninophile.co.uk> User-Agent: Mutt/1.5.11 X-Virus-Scanned: ClamAV 0.88.4/2859/Sat Mar 17 10:18:36 2007 on corinth.polands.org X-Virus-Status: Clean Cc: questions@freebsd.org Subject: Re: Portupgrade and replacing apache 1.3.37 with apache 2.2.4 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: Sat, 17 Mar 2007 19:04:19 -0000 On Fri, Mar 16, 2007 at 08:17:48PM +0000, Matthew Seaman wrote: > Doug Poland wrote: > > Hello, > > > > I'm running FreeBSD 6.2-STABLE on an i386 test box with apache > > 1.3.37/PHP-5/MySQL-5. As the subject says, I'd like to replace > > apache 1.3 with apache 2.2. > > > > I understand httpd.conf will change and that I'll have to edit that > > by hand, but is there a portupgrade command that will remove 1.3.37, > > install 2.2.4, and rebuild all apache dependent programs? > > > > I'm thinking something like: > > > > # portupgrade -R -f -o www/apache22 www/apache13-modssl > > > > > > portupgrade -o www/apache22 -rf apache13\* > > will install apache22 in place of apache13-modssl and force a rebuild > of everything that depends on apache13-modssl > > Putting > > APACHE_PORT= www/apache22 > WITH_APACHE2=yes > > into /etc/make.conf before trying that is generally a good idea too. > > Note that this sort of command is not going to cover all of the edge > cases. apache13-modssl has a different dependency tree to apache22 -- > for example, libmm (devel/mm) is not needed by apache22. Having libmm > floating around unused shouldn't break anything though. > > Not relevant to the OP, but if you were a mod_perl user, you would > need to do a bit more work and install the www/mod_perl2 port in place > of www/mod_perl when upgrading to apache22. > Thank you very much. -- Regards, Doug