diff options
| author | Jan Lehnardt | 2011-07-20 15:37:33 +0200 |
|---|---|---|
| committer | Max Howell | 2011-07-27 09:48:35 +0100 |
| commit | 8b5f9b6df6c1b356009ce37360d0e9a3929c9830 (patch) | |
| tree | 1e2099efd8eb4134e2beb763be13cb5e83461159 /Library/Formula/pig.rb | |
| parent | bd4fdb650642030d2beb295f8ae35def6125028f (diff) | |
| download | homebrew-8b5f9b6df6c1b356009ce37360d0e9a3929c9830.tar.bz2 | |
Detect Apache mirror system and parse out the closest mirror.
All Apache Formulae should be updated to use the closer.vgi script
to specify downloads rather than a random mirror that could be out
of date or compromised. Apache's closer.cgi does periodic health
checks.
The base URL for the mirror system is
http://www.apache.org/dyn/closer.cgi?path=#{filepath}
e.g.:
http://www.apache.org/dyn/closer.cgi?path=/couchdb/1.0.3/apache-couchdb-1.0.3.tar.gz
Note: The addition of the "Actually downloading..." message is sub-optimal
as the message should probably be emitted in _fetch() rather than fetch(),
but I didn't want to change the way Homebrew works today, so I'm leaving
this for mxcl & team to sort out or adopt :)
Diffstat (limited to 'Library/Formula/pig.rb')
0 files changed, 0 insertions, 0 deletions
