Message ID | 1391014495-19034-1-git-send-email-chase.maupin@ti.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBC3NVMGMXAFBB27EUSLQKGQER4MDBXI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5AD2A20300 for <linaro@patches.linaro.org>; Wed, 29 Jan 2014 16:55:08 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id kp14sf4705977pab.10 for <linaro@patches.linaro.org>; Wed, 29 Jan 2014 08:55:07 -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=/GUAXyovykD1UaDMphQd7YISbftBoIf8zbxyWQxaqRI=; b=LfpMZ/J6BZJtS4+NC2oxBMG+vgHeiJOq/5ov5s2dOIfT6olF/jtLO7R1AlK0lZaazb BDDhxvkkh9Ug7io0IYEtAFl+xp3cfQyvvIKlUoEtgNsAGgl2Ak+EK5kHY6X4DlspZoNQ v3KX4D8SA02hJ/AFRNgwlQF4HCineSWvyeZSl+i99DsY1IkLGcVE3aicXulKMz6ZgyGC MoZBr4JS1c3S5rXgxgJm8pJFql4pc0X5Hb8EIEx6wB+aHknVV0Tm91Pww9lS+yho9Skl sVyCmMz84vD16mvAke+eXi68uKDDNpRheZfLKEsLpPOW3hqKbIq0J7tB1iCvarwOS1Mx TEPQ== X-Gm-Message-State: ALoCoQkMekr12I6T4S38Xt5ZL2jnMTp+K4s5DgoRwpl3i9mp3hH5JQHtuJ6mVjhF8gmHdjAAeITf X-Received: by 10.66.161.200 with SMTP id xu8mr3220058pab.7.1391014507570; Wed, 29 Jan 2014 08:55:07 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.76 with SMTP id k70ls175252qgk.30.gmail; Wed, 29 Jan 2014 08:55:07 -0800 (PST) X-Received: by 10.220.92.135 with SMTP id r7mr7350544vcm.11.1391014507286; Wed, 29 Jan 2014 08:55:07 -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 eb8si972048vdb.34.2014.01.29.08.55.07 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Jan 2014 08:55:07 -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 oy12so1362580veb.37 for <patchwork-forward@linaro.org>; Wed, 29 Jan 2014 08:55:07 -0800 (PST) X-Received: by 10.58.58.3 with SMTP id m3mr971506veq.32.1391014507168; Wed, 29 Jan 2014 08:55:07 -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 u4csp128440vcz; Wed, 29 Jan 2014 08:55:06 -0800 (PST) X-Received: by 10.68.164.4 with SMTP id ym4mr9184374pbb.53.1391014505811; Wed, 29 Jan 2014 08:55:05 -0800 (PST) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id sj5si3261476pab.284.2014.01.29.08.55.05 for <multiple recipients>; Wed, 29 Jan 2014 08:55:05 -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 EFB5B6EA15; Wed, 29 Jan 2014 16:55:02 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by mail.openembedded.org (Postfix) with ESMTP id C57CD6EA0A for <openembedded-devel@lists.openembedded.org>; Wed, 29 Jan 2014 16:55:01 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s0TGt1Hs011075 for <openembedded-devel@lists.openembedded.org>; Wed, 29 Jan 2014 10:55:01 -0600 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0TGt1UV008803 for <openembedded-devel@lists.openembedded.org>; Wed, 29 Jan 2014 10:55:01 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Wed, 29 Jan 2014 10:55:01 -0600 Received: from sdit-build04.dal.design.ti.com (dbdp20.itg.ti.com [172.24.170.38]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0TGswqT018743; Wed, 29 Jan 2014 10:55:00 -0600 From: Chase Maupin <chase.maupin@ti.com> To: <openembedded-devel@lists.openembedded.org> Date: Wed, 29 Jan 2014 10:54:55 -0600 Message-ID: <1391014495-19034-1-git-send-email-chase.maupin@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Subject: [oe] [PATCHv2] 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: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>, <mailto:openembedded-devel-request@lists.openembedded.org?subject=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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
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}"
* 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 Signed-off-by: Chase Maupin <chase.maupin@ti.com> --- * 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(-)