From patchwork Tue Jan 28 14:59:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chase Maupin X-Patchwork-Id: 23797 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 06AB6202B2 for ; Tue, 28 Jan 2014 15:00:13 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id e16sf955985qcx.0 for ; Tue, 28 Jan 2014 07:00:13 -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=Fom9q7SpyPdSy2vVru6jNg7PXR7BkTAl9hu0PVjjuZwK/r2XmHMJqq/ETI81/PazVz hpcQLcyWopfYvFKDBXSDTPAZkDsinpu5BOyS0nn0EzE5t77SSUxA24iQWznWOzXCnXuS /4z/c0GABunjjv3wg/LEcpksHdFul3Wvqk3LwbPlSEbxFGj8NXOyjyNSnULbedHYMcLR 1gZx1TAtpmyU990FrEEW9eiWZtR1P0kSd2g/LjHk7SboS7o9bbTwDSqZWGFzwv9qlTSv +Y0reQ2n2DtQICgQGsYYgg5aBvM6wZG4JHAB5JGCg1/CyeeJxu8mRjtXC/m1RI0ThkKV 40+Q== X-Gm-Message-State: ALoCoQnwOeHevwfrGnXWBHwFQwX0qOtLiuinW1GvT6HJUbIuwu3w3kKuJ66NUWVFlA6d7hsNK0HM X-Received: by 10.58.34.142 with SMTP id z14mr12543917vei.23.1390921213109; Tue, 28 Jan 2014 07:00:13 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.81.209 with SMTP id f75ls2153567qgd.48.gmail; Tue, 28 Jan 2014 07:00:13 -0800 (PST) X-Received: by 10.52.117.115 with SMTP id kd19mr1186993vdb.15.1390921213050; Tue, 28 Jan 2014 07:00:13 -0800 (PST) Received: from mail-vb0-f52.google.com (mail-vb0-f52.google.com [209.85.212.52]) by mx.google.com with ESMTPS id dj3si6427953vcb.44.2014.01.28.07.00.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Jan 2014 07:00:13 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.52 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.52; Received: by mail-vb0-f52.google.com with SMTP id p14so310628vbm.11 for ; Tue, 28 Jan 2014 07:00:13 -0800 (PST) X-Received: by 10.52.84.102 with SMTP id x6mr61927vdy.49.1390921212944; Tue, 28 Jan 2014 07:00:12 -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 u4csp36837vcz; Tue, 28 Jan 2014 07:00:12 -0800 (PST) X-Received: by 10.66.221.103 with SMTP id qd7mr2036203pac.44.1390921211755; Tue, 28 Jan 2014 07:00:11 -0800 (PST) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id sd3si1900748pbb.132.2014.01.28.07.00.10 for ; Tue, 28 Jan 2014 07:00:11 -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 A76916E897; Tue, 28 Jan 2014 15:00:06 +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 D8B7A6E831 for ; Tue, 28 Jan 2014 15:00:03 +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 s0SF04cE024495; Tue, 28 Jan 2014 09:00:04 -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 s0SF03rl007441; Tue, 28 Jan 2014 09:00:04 -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:01 -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 s0SExwVf014067; Tue, 28 Jan 2014 09:00:00 -0600 From: Chase Maupin To: , Date: Tue, 28 Jan 2014 08:59:55 -0600 Message-ID: <1390921195-18862-1-git-send-email-chase.maupin@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Subject: [oe] [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: , 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.52 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}"