From owner-freebsd-questions Thu Jun 20 14: 5:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from out3.mx.nwbl.wi.voyager.net (out3.mx.nwbl.wi.voyager.net [169.207.3.121]) by hub.freebsd.org (Postfix) with ESMTP id 56EEF37B40C for ; Thu, 20 Jun 2002 14:04:55 -0700 (PDT) Received: from shell.core.com (shell.core.com [169.207.1.89]) by out3.mx.nwbl.wi.voyager.net (8.12.3/8.11.4/1.7) with ESMTP id g5KL4sbx030437; Thu, 20 Jun 2002 16:04:54 -0500 Received: (from dpoland@localhost) by shell.core.com (8.11.6/8.11.6/1.3) id g5KL4sg10147; Thu, 20 Jun 2002 16:04:54 -0500 (CDT) Date: Thu, 20 Jun 2002 16:04:53 -0500 From: Doug Poland To: Michael Sharp Cc: questions@freebsd.org Subject: Re: port version, apache version confusion Message-ID: <20020620160453.A6118@polands.org> References: <20020620122957.A11128@polands.org> <1096.192.168.1.4.1024595093.squirrel@webmail.probsd.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1096.192.168.1.4.1024595093.squirrel@webmail.probsd.ws>; from ms@probsd.ws on Thu, Jun 20, 2002 at 01:44:53PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 01:44:53PM -0400, Michael Sharp wrote: > No, you are still running the vulnerable one. The one you need is 1.3.26. > > run cvsup -g -L 2 ports-supfile , then do portsdb -Uu , then pkgdb -F > > save anything in your webserver root. > > then: cd /usr/ports/lang/php4 && make deinstall && make clean && make > distclean > cd /usr/ports/www/mod_php4 && make deinstall && make clean && make distclean > > Do any others mods you have. Also, pkg_delete the mm-*.* installed package. > > cd /usr/ports/www/apache13 && make deinstall && make clean && make distclean > > run portsdb -Uu && pkgdb -F again > > then, make install clean on > > /usr/ports/lang/php4 , /usr/ports/www/apache13 , /usr/ports/www/mod-php4 , > and any others mods. > That should have you running apache 1.3.26 and mod_php4-4.2.1_1 > Yikes, isn't that what portupgrade mod_php4 is supposed to do? Thanks for the step-by-step. I am still curious why a fresh run from cvs and portupgrade didn't work. -- Regards, Doug > > > > > Hi, > > > > I just used portupgrade to update the apache13 port. > > The upgrade went fine but I'm confused by the version > > numbering. > > > > egypt# pkg_info | grep apache > > apache-1.3.22_7 The extremely popular Apache http server. Very > > fast, very > > > > egypt# grep PORT Makefile > > PORTNAME= apache > > PORTVERSION= 1.3.26 > > PORTREVISION= 1 > > DISTNAME= apache_${PORTVERSION} > > > > egypt# httpd -v > > Server version: Apache/1.3.22 (Unix) > > Server built: Jan 15 2002 00:05:29 > > > > So the package name has 1.3.22_7, the port version is 1.3.26 > > and httpd says 1.3.22. As sanity check, I pointed Netcraft at > > my web server and it reports Apache/1.3.22 (Unix). Finally, > > The PHP function phpinfo() reports: > > Apache Version Apache/1.3.22 > > Apache Release 10322100 > > Apache API Version 19990320 > > > > So it looks to me like I'm definately running 1.3.22. > > > > Now the latest version that the apache project has is 1.3.24. > > My question: am I indeed running the latest, patched version > > of apache? > > > > I'm also curious why I'm seeing the build date from my original > > install of apache and not today. > > > > -- > > Regards, > > Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message