All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Allow using a more recent php
@ 2014-08-20 12:20 zboszor
  0 siblings, 0 replies; only message in thread
From: zboszor @ 2014-08-20 12:20 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 446 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: php.inc.patch --]
[-- Type: text/x-patch; name="php.inc.patch", Size: 589 bytes --]

diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
index 030c090..b80daea 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -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}"
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-20 12:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20 12:20 [PATCH] Allow using a more recent php zboszor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.