From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] php: update SRC_URI for new download location
Date: Wed, 29 Jan 2014 08:54:09 +0100 [thread overview]
Message-ID: <lcac1h$c5i$1@ger.gmane.org> (raw)
In-Reply-To: <1390921195-18862-1-git-send-email-chase.maupin@ti.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chase Maupin schreef op 28-01-14 15:59:
> * 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> ---
> 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"
Unneeded, drop it.
>
> -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}"
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFS6LOhMkyGM64RGpERAunvAJsHwh4jpfnyXlaPval5hJ4Enmck5QCguyE5
2QA9AMc0ZhddgDIDZXZNS94=
=J4pd
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2014-01-29 7:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-28 14:59 [PATCH] php: update SRC_URI for new download location Chase Maupin
2014-01-29 7:54 ` Koen Kooi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='lcac1h$c5i$1@ger.gmane.org' \
--to=koen@dominion.thruhere.net \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.