From patchwork Tue Jan 28 15:00:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chase Maupin X-Patchwork-Id: 23798 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 11E5B202B2 for ; Tue, 28 Jan 2014 15:00:34 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id x13sf1495802ief.2 for ; Tue, 28 Jan 2014 07:00:34 -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=gio/K15YDGYR4jw8g26viHXEHDAFPnfQVTpKBrHBeP0=; b=OUiNYPRyxLZyg8TGtD6QN35szCL4XSQGxPR5HsFA+0iou07iXSQepTJ6u4QAOx8gsS gg0qbYSq5JPZhUcdQ5Fv3zvLEKi0TdGEJvBj7NKcVeB++2ncDjH6kyOLU6J0xzDlvTRk dw+PFfPsFWt7YWI3hNsfXj9FZZyNnC5Ac+7we4tUjUHMGA631L0ck2HHVPZTGUoCydf5 zfuFZPFqtKnxg5rVhMHEfLiMaorZDURPOgkid9ZJz41+c6DmfoE0g0vUAZD6wUHWa+ts lM4v28Vm+5l7QcGirtgZ6E36lVhTKlmTZgnghBVblvl6Je7h8ctA+cFoTxY3i2FeCpJN akxg== X-Gm-Message-State: ALoCoQmrLAuw7r/Xrc7o37gMCUl7fnHikHoeHl4Zr7Xs9J4upBwtXUSE75ZK6czfg8Wn+G+6/R+K X-Received: by 10.42.70.142 with SMTP id f14mr587275icj.6.1390921234091; Tue, 28 Jan 2014 07:00:34 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.110 with SMTP id y101ls2031683qgd.0.gmail; Tue, 28 Jan 2014 07:00:33 -0800 (PST) X-Received: by 10.58.181.230 with SMTP id dz6mr86115vec.35.1390921233955; Tue, 28 Jan 2014 07:00:33 -0800 (PST) Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) by mx.google.com with ESMTPS id gv8si6428051veb.44.2014.01.28.07.00.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Jan 2014 07:00:33 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.45 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.45; Received: by mail-vb0-f45.google.com with SMTP id m10so311074vbh.32 for ; Tue, 28 Jan 2014 07:00:33 -0800 (PST) X-Received: by 10.220.98.143 with SMTP id q15mr83036vcn.38.1390921233872; Tue, 28 Jan 2014 07:00:33 -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 u4csp36866vcz; Tue, 28 Jan 2014 07:00:33 -0800 (PST) X-Received: by 10.67.5.7 with SMTP id ci7mr1907465pad.99.1390921232841; Tue, 28 Jan 2014 07:00:32 -0800 (PST) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id yh9si15734715pab.150.2014.01.28.07.00.29 for ; Tue, 28 Jan 2014 07:00:30 -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 20BC26E9C5; Tue, 28 Jan 2014 15:00:27 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by mail.openembedded.org (Postfix) with ESMTP id 71CA86E831 for ; Tue, 28 Jan 2014 15:00:26 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s0SF0Rap024558; Tue, 28 Jan 2014 09:00:27 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0SF0RTT008173; Tue, 28 Jan 2014 09:00:27 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.2.342.3; Tue, 28 Jan 2014 09:00:26 -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 s0SF0NHN015228; Tue, 28 Jan 2014 09:00:25 -0600 From: Chase Maupin To: , Date: Tue, 28 Jan 2014 09:00:21 -0600 Message-ID: <1390921221-18909-1-git-send-email-chase.maupin@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Subject: [oe] [PATCH][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.212.45 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 Signed-off-by: Chase Maupin --- meta-oe/recipes-devtools/php/php.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc index 5345f2a..75c3704 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc @@ -7,9 +7,13 @@ DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native \ libc-client openssl" DEPENDS_virtclass-native = "zlib-native libxml2-native" -INC_PR = "r5" +INC_PR = "r6" -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}"