Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 16:04:53 -0500
From:      Doug Poland <doug@polands.org>
To:        Michael Sharp <ms@probsd.ws>
Cc:        questions@freebsd.org
Subject:   Re: port version, apache version confusion
Message-ID:  <20020620160453.A6118@polands.org>
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
References:  <20020620122957.A11128@polands.org> <1096.192.168.1.4.1024595093.squirrel@webmail.probsd.ws>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020620160453.A6118>