distfiles in URL in mirror_sites.tcl

Joshua Root jmr at macports.org
Sun Feb 24 05:02:14 PST 2013


On 2013-2-24 01:19 , Ryan Schmidt wrote:
> Can I have ${distfiles} within a URL defined in a fetch group?
> 
> I have been informed [1] by the PHP people that instead of downloading from e.g.:
> 
>   http://us2.php.net/distributions/php-5.4.12.tar.bz2
> 
> they want us to download from:
> 
>   http://us2.php.net/get/php-5.4.12.tar.bz2/from/this/mirror

> [1] https://bugs.php.net/bug.php?id=64273

Why are they so set on abusing HTTP status codes anyway? It's
unambiguously wrong to be giving a 302 status when the server doesn't
know anything about the resource you requested.



More information about the macports-dev mailing list