Allow using a more recent php
PATCH 1/1 Allow using a more recent php
Hi,
the attached patch allows more recent versions of PHP to be downloaded from the official site instead of very old versions from the attic. For the 5.4 series, currently this means 5.4.22 and up. The change uses two features from bitbake 1.22, which (extending FETCHCMD_wget and the ";downloadfilename=" extension to SRC_URI) are already used by other recipes. PHP 5.4.14 is outdated already.
Best regards,
Zoltán Böszörményi
meta-oe/recipes-devtools/php/php.inc +2 -1
@@ -13,7 +13,8 @@ INC_PR = "r5" # the major version of the PHP recipe. PHP_MAJVER = "${@d.getVar('PV',1).split('.')[0]}" -SRC_URI = "http://museum.php.net/php${PHP_MAJVER}/php-${PV}.tar.bz2" +FETCHCMD_wget += "--trust-server-names" +SRC_URI = "http://php.net/get/php-${PV}.tar.bz2/from/this/mirror;downloadfilename=php-${PV}.tar.bz2" S = "${WORKDIR}/php-${PV}"