From patchwork Thu Jan 30 12:49:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chase Maupin X-Patchwork-Id: 23922 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 00B3F202B2 for ; Thu, 30 Jan 2014 12:49:40 +0000 (UTC) Received: by mail-ig0-f200.google.com with SMTP id k19sf11235948igc.3 for ; Thu, 30 Jan 2014 04:49:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:mime-version:subject:precedence:reply-to:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=AoKmhCOjteL4o28Q8y76U34AyBa1Dm0ja2yJA41ORLc=; b=YY/6AeuJ/fyWdMuUXMeJOGvOuW9PEXAQXf6++cbr9my2sIuPTr3G3YiE9wirFlaNkA CV6jWA5YvGByAzq8X72C2eQY4bCKMR7Vky7JZ5v9D8hbBU3bkNp6G24FPUcVJq4NpiSu w3N73uGg7374A++3tADmchqOPUR44I6gSMCEKvsFkmb5UmriEkVrukTKX/cbti8i0zbO RKsGrh0kl8/DaS+e5jo/OrMoSK16YteHMsb/a+rjDYslLmk335MEnnSqbc1I1Wf2wgt0 +IcRei0qTS7fL7UyJpD5PyaRgeJSILZvfd9LjrskWAwkhmYGYU6enL56gIUcP/6eoFg3 p4OA== X-Gm-Message-State: ALoCoQlBTJzfwY2f4mhEZqy7cgJ08XVcNwgg2E0a+gjQSLWVf8YvPtBFt/ae1gd1MxzvEFe3TSpR X-Received: by 10.182.95.68 with SMTP id di4mr5478794obb.4.1391086180225; Thu, 30 Jan 2014 04:49:40 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.49 with SMTP id v46ls556845qge.6.gmail; Thu, 30 Jan 2014 04:49:40 -0800 (PST) X-Received: by 10.58.86.230 with SMTP id s6mr11529946vez.16.1391086180097; Thu, 30 Jan 2014 04:49:40 -0800 (PST) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id eo4si2016143vdb.82.2014.01.30.04.49.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Jan 2014 04:49:40 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id oy12so2172655veb.9 for ; Thu, 30 Jan 2014 04:49:40 -0800 (PST) X-Received: by 10.221.39.138 with SMTP id tm10mr11733930vcb.7.1391086179976; Thu, 30 Jan 2014 04:49:39 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp9797vcz; Thu, 30 Jan 2014 04:49:39 -0800 (PST) X-Received: by 10.68.180.66 with SMTP id dm2mr13929360pbc.143.1391086178629; Thu, 30 Jan 2014 04:49:38 -0800 (PST) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id tq5si6365542pac.124.2014.01.30.04.49.37 for ; Thu, 30 Jan 2014 04:49:38 -0800 (PST) Received-SPF: pass (google.com: domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id CC4446EA0B; Thu, 30 Jan 2014 12:49:34 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by mail.openembedded.org (Postfix) with ESMTP id B26736E9BE for ; Thu, 30 Jan 2014 12:49:32 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s0UCnW4Q022707 for ; Thu, 30 Jan 2014 06:49:32 -0600 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0UCnWOE032216 for ; Thu, 30 Jan 2014 06:49:32 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Thu, 30 Jan 2014 06:49:32 -0600 Received: from sdit-build04.dal.design.ti.com (dbdp20.itg.ti.com [172.24.170.38]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0UCnTeO027049; Thu, 30 Jan 2014 06:49:31 -0600 From: Chase Maupin To: Date: Thu, 30 Jan 2014 06:49:27 -0600 Message-ID: <1391086167-31517-1-git-send-email-chase.maupin@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Subject: [oe] [PATCHv2][for-dora] php: update SRC_URI for new download location X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: chase.maupin@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 * The old downloads location of http://www.php.net/distributions now points to a listing of all distributions and the mirrors or download locations where the sources can be downloaded. * The new download location is http://museum.php.net/..... where the rest of the URL is based on the major version on PHP being downloaded. This is a change from the previous download server which had a flattened directory structure so that all versions were available in a single location. * To account for this change in the directory structure a variable called PHP_MAJVER is used based off of the PV to point the SRC_URI to the proper subdirectory. * This issue wsa first noted by Joshua Vanderpool at Joshua.Vanderpool@raymondcorp.com and there was discussion at http://lists.openembedded.org/pipermail/openembedded-devel/2014-January/093757.html * This patch has been commited to that master branch Signed-off-by: Chase Maupin --- * Updated in version 2 * Remove the bump of INC_PR as per suggestion of Koen Kooi [koen@dominion.thruhere.net] --- meta-oe/recipes-devtools/php/php.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc index 5345f2a..d5e53c0 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc @@ -9,7 +9,11 @@ DEPENDS_virtclass-native = "zlib-native libxml2-native" INC_PR = "r5" -SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2" +# The new PHP downloads server groups PHP releases by major version so find +# 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" S = "${WORKDIR}/php-${PV}"