Date: Fri, 16 Mar 2007 20:17:48 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Doug Poland <doug@polands.org> Cc: questions@freebsd.org Subject: Re: Portupgrade and replacing apache 1.3.37 with apache 2.2.4 Message-ID: <45FAFB6C.2050006@infracaninophile.co.uk> In-Reply-To: <50887.69.129.174.18.1174061201.squirrel@email.polands.org> References: <50887.69.129.174.18.1174061201.squirrel@email.polands.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBFD0881B37079730B565DEB1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Doug Poland wrote: > Hello, >=20 > 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. >=20 > 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? >=20 > I'm thinking something like: >=20 > # portupgrade -R -f -o www/apache22 www/apache13-modssl >=20 >=20 portupgrade -o www/apache22 -rf apache13\*=20 will install apache22 in place of apache13-modssl and force a rebuild of everything that depends on apache13-modssl Putting=20 APACHE_PORT=3D www/apache22 WITH_APACHE2=3Dyes 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. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigBFD0881B37079730B565DEB1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF+vty8Mjk52CukIwRCJpxAJ94+xNpkEQ+7SAwvWCXSLM1cCOquQCePJnk Vnz4DIAQvFNiqewmsGmFrCQ= =Ot4B -----END PGP SIGNATURE----- --------------enigBFD0881B37079730B565DEB1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45FAFB6C.2050006>