Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2014 22:05:46 +0200 (CEST)
From:      Melvyn Sopacua <melvyn@magemana.nl>
To:        Kurt Jaeger <lists@opsec.eu>
Cc:        ports@freebsd.org
Subject:   Re: Update php from 5.4 to 5.5 ?
Message-ID:  <alpine.BSF.2.00.1406182147100.74551@fire.magemana.nl>
In-Reply-To: <20140618183324.GL2586@home.opsec.eu>
References:  <20140618110920.GI2586@home.opsec.eu> <20140618183324.GL2586@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Kurt,

On Wed, 18 Jun 2014, Kurt Jaeger wrote:


> For each module, I have to find the suitable php55 module to replace it.
>
> So it will be a manual process, for now.

Not entirely...

> www/pecl-APC: doesn't support PHP 5.5

That's real. But it's APC. It's somewhat dying, somewhat staying around
for it's API, since Zend Optimizer hit 5.4 in beta and 5.5 fully.

> devel/php5-pcntl: doesn't support PHP 5.2 5.3 5.5
> security/php5-openssl: doesn't support PHP 5.2 5.3 5.5
> databases/php5-mysqli: doesn't support PHP 5.2 5.3 5.5
> databases/php5-pdo: doesn't support PHP 5.2 5.3 5.5
> databases/php5-mysql: doesn't support PHP 5.2 5.3 5.5
> databases/php5-pdo_mysql: doesn't support PHP 5.2 5.3 5.5
> security/php5-mcrypt: doesn't support PHP 5.2 5.3 5.5
> databases/php5-pdo_sqlite: doesn't support PHP 5.2 5.3 5.5
> converters/php5-mbstring: doesn't support PHP 5.2 5.3 5.5
> databases/php5-pdo_pgsql: doesn't support PHP 5.2 5.3 5.5
> net/php5-ldap: doesn't support PHP 5.2 5.3 5.5
> devel/php5-json: doesn't support PHP 5.2 5.3 5.5
> databases/php5-pgsql: doesn't support PHP 5.2 5.3 5.5
> mail/php5-imap: doesn't support PHP 5.2 5.3 5.5
> sysutils/php5-posix: doesn't support PHP 5.2 5.3 5.5
> converters/php5-iconv: doesn't support PHP 5.2 5.3 5.5
> security/php5-hash: doesn't support PHP 5.2 5.3 5.5
> www/php5-session: doesn't support PHP 5.2 5.3 5.5
> math/php5-gmp: doesn't support PHP 5.2 5.3 5.5
> devel/php5-gettext: doesn't support PHP 5.2 5.3 5.5
> textproc/php5-simplexml: doesn't support PHP 5.2 5.3 5.5
> net/php5-soap: doesn't support PHP 5.2 5.3 5.5
> net/php5-sockets: doesn't support PHP 5.2 5.3 5.5
> databases/php5-sqlite3: doesn't support PHP 5.2 5.3 5.5
> devel/php5-tokenizer: doesn't support PHP 5.2 5.3 5.5
> textproc/php5-xml: doesn't support PHP 5.2 5.3 5.5
> textproc/php5-wddx: doesn't support PHP 5.2 5.3 5.5
> archivers/php5-zip: doesn't support PHP 5.2 5.3 5.5
> archivers/php5-zlib: doesn't support PHP 5.2 5.3 5.5
> www/mod_php5: doesn't support PHP 5.3 5.5
> graphics/php5-exif: doesn't support PHP 5.2 5.3 5.5
> textproc/php5-dom: doesn't support PHP 5.2 5.3 5.5
> sysutils/php5-fileinfo: doesn't support PHP 5.2 5.3 5.5
> ftp/php5-curl: doesn't support PHP 5.2 5.3 5.5
> security/php5-filter: doesn't support PHP 5.2 5.3 5.5
> textproc/php5-ctype: doesn't support PHP 5.2 5.3 5.5
> graphics/php5-gd: doesn't support PHP 5.2 5.3 5.5
> archivers/php5-bz2: doesn't support PHP 5.2 5.3 5.5
> textproc/php5-xmlreader: doesn't support PHP 5.2 5.3 5.5
> textproc/php5-xsl: doesn't support PHP 5.2 5.3 5.5
> textproc/php5-xmlwriter: doesn't support PHP 5.2 5.3 5.5
> archivers/php5-phar: doesn't support PHP 5.2 5.3 5.5

I believe most of these - if not all - are cosmetic errors.

You can do the following:
pkg query -e '%o ~ */php5-*' '%o'| while read origin; do \
new_origin=`echo ${origin} | sed -e 's/php5-/php55-/'`
echo portmaster -o ${new_origin} ${origin}; done > update.sh

Then execute update.sh.
I do this in 2 steps, so that /dev/stdin is free for portmaster to use.

--
Hope this helps,

Melvyn



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