Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Sep 2008 13:26:27 +0200
From:      Pine Digital Security Support <support@pine.nl>
To:        freebsd-ports@freebsd.org
Subject:   Correct way to portupgrade php5 and php5-extensions-1.1 ?
Message-ID:  <48C65D63.3020504@pine.nl>

next in thread | raw e-mail | index | archive | help

Hi,

Following the most recent update of PHP5 (5.2.6_2) and subsequent 
portaudit warnings for 5.2.6, I've been upgrading lang/php5 and 
lang/php5-extensions-1.1 on a number of machines.

My question is, what is the best way to do this. Some options come to mind:

1) portupgrade -fpb php5-5.2.6 php5-extensions-1.1

or

2) portupgrade -fpb php5\*

or

3) portupgrade -fpbR php5-5.2.6


I noticed that the first option didn't update the actual binaries in 
/usr/local/lib/php/20060613/, but it still works on the machine where I 
tried it.

The second, I think, will always work (/usr/local/lib/php/20060613/ 
files are all updated/recompiled), but it takes a long time. I'm 
suspecting this way perhaps some ports will be updated/recompiled more 
than once? (once when php5-extensions is portupgraded, and once when for 
instance php5-session-5.2.6 is upgraded).

The last option seems the best according to the manpage, but this would 
in my case also recompile phpmyadmin. Is that needed?

Perhaps there are also different cases when for instance there is a 
minor version update like this one (from 5.2.6 to 5.2.6_2), and for 
instance a 5.2.6 to 5.2.7 or even 5.2.6 to 5.3 update).

Who can shine some light on this dark matter? :-)


-- Frederique





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