From patchwork Mon Mar 31 12:42:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Evenson X-Patchwork-Id: 27418 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 236A520341 for ; Mon, 31 Mar 2014 12:43:55 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 200sf12359523ykr.2 for ; Mon, 31 Mar 2014 05:43:54 -0700 (PDT) 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:cc:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=hX9qXIEBJJNm+4DuP3Zgx3gSnIB391lSAf7AstKxmhI=; b=NQoZbVKhvkFs6AxkLE6D0erQNLOjqlgCxPhp18EXSPw6JOX+023ABFG6bky314YmfU 62M525Ol//RW8Ry4BakxIOQkPUkOxVW65PAoP1jtESxlfYTwVbwhKpVfUiDUYSZBbIsd 3bUPTHTfKcBzNV23G8IrbyqL/lGMnadV16OgGSlCmEwES676EjItdinQJxmtke9OsYhN Y3SoQP/0FkdwDq+5GYwDf4VSCGvanbiYRHupal3zlY6RwY76OimcbSYUcw5/OOrOs6G+ A1qTSDbSZ9J8u0k4xTe3/h/Jhi/p4wLopFmyry4+SVC3+6kC4soPx1vq8I+Z65GijiRV 0n3w== X-Gm-Message-State: ALoCoQl0I73YhKXlThU0OhbMyuaEhZRg0QAgCaThlgbjIWRDAInXJOQ0+mwAblat+fdsXpzBG8wG X-Received: by 10.59.10.40 with SMTP id dx8mr8984325ved.26.1396269834791; Mon, 31 Mar 2014 05:43:54 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.96.132 with SMTP id k4ls18836qge.42.gmail; Mon, 31 Mar 2014 05:43:54 -0700 (PDT) X-Received: by 10.220.81.194 with SMTP id y2mr109381vck.29.1396269834632; Mon, 31 Mar 2014 05:43:54 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id b2si2949442vcy.10.2014.03.31.05.43.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 31 Mar 2014 05:43:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id lg15so8258261vcb.16 for ; Mon, 31 Mar 2014 05:43:54 -0700 (PDT) X-Received: by 10.52.95.135 with SMTP id dk7mr305994vdb.32.1396269834394; Mon, 31 Mar 2014 05:43:54 -0700 (PDT) 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.12.8 with SMTP id v8csp138514vcv; Mon, 31 Mar 2014 05:43:53 -0700 (PDT) X-Received: by 10.68.236.41 with SMTP id ur9mr24983290pbc.101.1396269833561; Mon, 31 Mar 2014 05:43:53 -0700 (PDT) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id bo2si9095177pbb.207.2014.03.31.05.43.52 for ; Mon, 31 Mar 2014 05:43:53 -0700 (PDT) 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 D7A8A60EFA; Mon, 31 Mar 2014 12:43:47 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.226]) by mail.openembedded.org (Postfix) with ESMTP id 1A18E60EFA for ; Mon, 31 Mar 2014 12:43:40 +0000 (UTC) Received: from [98.100.91.242] ([98.100.91.242:34908] helo=lt-1044-ubuntu-vm.melinkcorp.local) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 40/B4-15578-CF269335; Mon, 31 Mar 2014 12:43:40 +0000 From: Bryan Evenson To: openembedded-devel@lists.openembedded.org Date: Mon, 31 Mar 2014 08:42:50 -0400 Message-Id: <1396269770-12357-1-git-send-email-bevenson@melinkcorp.com> X-Mailer: git-send-email 1.7.9.5 X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 Cc: koen@dominion.thruhere.net Subject: [oe] [meta-oe][dylan][PATCH] 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: , MIME-Version: 1.0 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: bevenson@melinkcorp.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.171 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 From: chase maupin * 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 Signed-off-by: Martin Jansa --- 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 225c3d7..6175a10 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 = "r4" -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}"