source: trunk/dports/_resources/port1.0/fetch/mirror_sites.tcl @ 137836

Last change on this file since 137836 was 137836, checked in by larryv@…, 4 years ago

mirror_sites: Add "pypi" mirror group

Ports will still have to tack on the subdirectory themselves,
unfortunately.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 26.3 KB
Line 
1# $Id: mirror_sites.tcl 137836 2015-06-21 04:56:02Z larryv@macports.org $
2#
3# List of master site classes for use in Portfiles
4# Most of these are taken shamelessly from FreeBSD.
5#
6# Appending :nosubdir as a tag to a mirror, means that
7# the portfetch target will NOT append a subdirectory to
8# the mirror site.
9#
10# Please keep this list sorted.
11
12namespace eval portfetch::mirror_sites { }
13
14set portfetch::mirror_sites::sites(afterstep) {
15    ftp://ftp.kddlabs.co.jp/X11/AfterStep/
16    ftp://ftp.dti.ad.jp/pub/X/AfterStep/
17    ftp://ftp.afterstep.org/
18}
19
20set portfetch::mirror_sites::sites(apache) {
21    http://mirrors.ibiblio.org/apache/
22    http://www.gtlib.gatech.edu/pub/apache/
23    http://apache.mirror.rafal.ca/
24    ftp://ftp.infoscience.co.jp/pub/net/apache/dist/
25    http://apache.multidist.com/
26    http://mirror.internode.on.net/pub/apache/
27    http://www.mirrorservice.org/sites/ftp.apache.org/
28    http://mirror.aarnet.edu.au/pub/apache/
29    http://apache.is.co.za/
30    http://mirror.facebook.net/apache/
31    http://apache.pesat.net.id/
32    http://www.apache.org/dist/
33    http://archive.apache.org/dist/
34}
35
36# Note that mirror_sites aren't intelligent enough to handle how this should
37# work automatically (which is, append first letter of port name, then
38# port name) so just use a basic form here and fake it in ports that need
39# to use this.
40set portfetch::mirror_sites::sites(debian) {
41    http://ftp.us.debian.org/debian/pool/main/:nosubdir
42    http://ftp.au.debian.org/debian/pool/main/:nosubdir
43    http://ftp.bg.debian.org/debian/pool/main/:nosubdir
44    http://ftp.cl.debian.org/debian/pool/main/:nosubdir
45    http://ftp.cz.debian.org/debian/pool/main/:nosubdir
46    http://ftp.de.debian.org/debian/pool/main/:nosubdir
47    http://ftp.ee.debian.org/debian/pool/main/:nosubdir
48    http://ftp.es.debian.org/debian/pool/main/:nosubdir
49    http://ftp.fi.debian.org/debian/pool/main/:nosubdir
50    http://ftp.fr.debian.org/debian/pool/main/:nosubdir
51    http://ftp.hk.debian.org/debian/pool/main/:nosubdir
52    http://ftp.hr.debian.org/debian/pool/main/:nosubdir
53    http://ftp.hu.debian.org/debian/pool/main/:nosubdir
54    http://ftp.ie.debian.org/debian/pool/main/:nosubdir
55    http://ftp.is.debian.org/debian/pool/main/:nosubdir
56    http://ftp.it.debian.org/debian/pool/main/:nosubdir
57    http://ftp.jp.debian.org/debian/pool/main/:nosubdir
58    http://ftp.nl.debian.org/debian/pool/main/:nosubdir
59    http://ftp.no.debian.org/debian/pool/main/:nosubdir
60    http://ftp.pl.debian.org/debian/pool/main/:nosubdir
61    http://ftp.ru.debian.org/debian/pool/main/:nosubdir
62    http://ftp.se.debian.org/debian/pool/main/:nosubdir
63    http://ftp.si.debian.org/debian/pool/main/:nosubdir
64    http://ftp.sk.debian.org/debian/pool/main/:nosubdir
65    http://ftp.uk.debian.org/debian/pool/main/:nosubdir
66    http://ftp.wa.au.debian.org/debian/pool/main/:nosubdir
67    http://ftp2.de.debian.org/debian/pool/main/:nosubdir
68}
69
70set portfetch::mirror_sites::sites(fink) {
71    http://distfiles.hnd.jp.asi.finkmirrors.net/:nosubdir
72    http://distfiles.ber.de.eu.finkmirrors.net/:nosubdir
73    http://distfiles.hel.fi.eu.finkmirrors.net/:nosubdir
74    http://distfiles.dub.ie.eu.finkmirrors.net/:nosubdir
75    http://distfiles.sjc.ca.us.finkmirrors.net/:nosubdir
76    http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/:nosubdir
77    http://distfiles.master.finkmirrors.net/:nosubdir
78}
79
80# FreeBSD switched to a Geo-IP-based load-balanced distcache.
81# Note that FreeBSD's pkg(8) utility does not just stupidly
82# download via HTTP, but issues DNS queries to fetch
83# SRV records and compute the "best" available server
84# given some weighting criteria.
85# It probably doesn't matter a bunch, though, and plain
86# DNS lookups and HTTP requests are fine.
87set portfetch::mirror_sites::sites(freebsd) {
88    http://distcache.FreeBSD.org/ports-distfiles/:nosubdir
89}
90
91# curl -s http://www.gentoo.org/main/en/mirrors2.xml | sed -n '/(http)\|(ftp)/s/.*"\([^"]*\)".*/    \1\/distfiles\/:nosubdir/p' | sed s@//distfiles@/distfiles@g
92set portfetch::mirror_sites::sites(gentoo) {
93    http://gentoo.arcticnetwork.ca/distfiles/:nosubdir
94    http://gentoo.mirrors.tera-byte.com/distfiles/:nosubdir
95    http://mirror.mcs.anl.gov/pub/gentoo/distfiles/:nosubdir
96    http://gentoo.localhost.net.ar/distfiles/:nosubdir
97    http://gentoo.c3sl.ufpr.br/distfiles/:nosubdir
98    http://gentoo.inode.at/distfiles/:nosubdir
99    http://mirror.bih.net.ba/gentoo/distfiles/:nosubdir
100    http://distfiles.gentoo.bg/distfiles/:nosubdir
101    http://ftp.fi.muni.cz/pub/linux/gentoo/distfiles/:nosubdir
102    http://ftp.klid.dk/ftp/gentoo/distfiles/:nosubdir
103    http://trumpetti.atm.tut.fi/gentoo/distfiles/:nosubdir
104    ftp://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/:nosubdir
105    http://mirrors.linuxant.fr/distfiles.gentoo.org/distfiles/:nosubdir
106    http://de-mirror.org/distro/gentoo/distfiles/:nosubdir
107    http://files.gentoo.gr/distfiles/:nosubdir
108    http://gentoo.inf.elte.hu/distfiles/:nosubdir
109    http://ftp.rhnet.is/pub/gentoo/distfiles/:nosubdir
110    http://ftp.heanet.ie/pub/gentoo/distfiles/:nosubdir
111    http://gentoo.tups.lv/source/distfiles/:nosubdir
112    http://mirror.cambrium.nl/pub/os/linux/gentoo/distfiles/:nosubdir
113    http://gentoo.tiscali.nl/distfiles/:nosubdir
114    http://mirror.gentoo.no/distfiles/:nosubdir
115    http://gentoo.prz.rzeszow.pl/distfiles/:nosubdir
116    http://darkstar.ist.utl.pt/gentoo/distfiles/:nosubdir
117    http://mirrors.evolva.ro/gentoo/distfiles/:nosubdir
118    http://gentoo-euetib.upc.es/mirror/gentoo/distfiles/:nosubdir
119    http://ftp.ds.karen.hj.se/gentoo/distfiles/:nosubdir
120    http://mirror.switch.ch/ftp/mirror/gentoo/distfiles/:nosubdir
121    http://ftp.linux.org.tr/gentoo/distfiles/:nosubdir
122    http://mirror.bytemark.co.uk/gentoo/distfiles/:nosubdir
123    http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/:nosubdir
124    http://gentoo.kiev.ua/ftp/distfiles/:nosubdir
125    http://ftp.swin.edu.au/gentoo/distfiles/:nosubdir
126    http://ftp.iij.ad.jp/pub/linux/gentoo/distfiles/:nosubdir
127    http://mirror2.corbina.ru/gentoo-distfiles/distfiles/:nosubdir
128    http://ftp.kaist.ac.kr/pub/gentoo/distfiles/:nosubdir
129    http://ftp.ncnu.edu.tw/Linux/Gentoo/distfiles/:nosubdir
130    http://gentoo.in.th/distfiles/:nosubdir
131    http://mirror.isoc.org.il/pub/gentoo/distfiles/:nosubdir
132    http://mirror.neolabs.kz/gentoo/pub/distfiles/:nosubdir
133    http://mirror.facebook.net/gentoo/distfiles/:nosubdir
134}
135
136set portfetch::mirror_sites::sites(gimp) {
137    http://ftp.gtk.org/pub/
138    http://download.gimp.org/pub/
139    http://artfiles.org/gimp.org/
140    ftp://ftp.cc.uoc.gr/mirrors/gimp/
141    http://ftp.gwdg.de/pub/misc/grafik/gimp/
142    http://ftp.heanet.ie/mirrors/ftp.gimp.org/pub/
143    ftp://ftp.is.co.za/mirror/ftp.gimp.org/
144    http://ftp.iut-bm.univ-fcomte.fr/
145    ftp://ftp.mirrorservice.org/sites/ftp.gimp.org/pub/
146    http://ftp.nluug.nl/graphics/
147    ftp://ftp.nluug.nl/pub/graphics/
148    ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.gimp.org/pub/
149    ftp://ftp.rediris.es/mirror/
150    ftp://ftp.sai.msu.su/pub/unix/graphics/gimp/mirror/
151    http://ftp.snt.utwente.nl/pub/software/gimp/
152    http://ftp.sunet.se/pub/gnu/
153    ftp://ftp.tpnet.pl/pub/graphics/
154    ftp://ftp.u-aizu.ac.jp/pub/graphics/tools/gimp/
155    http://gimp.cp-dev.com/
156    http://gimp.mirrors.hoobly.com/
157    http://gimp.parentingamerica.com/
158    http://gimp.raffsoftware.com/
159    http://gimp.skazkaforyou.com/
160    http://mirror.hessmo.com/
161    http://mirror.ibcp.fr/pub/
162    http://mirror.umd.edu/gimp/
163    http://mirrors.dominios.pt/
164    ftp://mirrors.fe.up.pt/mirrors/ftp.gimp.org/pub/
165    http://mirrors.fe.up.pt/mirrors/ftp.gimp.org/pub/
166    http://mirrors.serverhost.ro/
167    http://mirrors.xmission.com/gimp/
168    http://mirrors.zerg.biz/
169    http://piotrkosoft.net/pub/mirrors/ftp.gimp.org/pub/
170    ftp://sunsite.icm.edu.pl/pub/graphics/
171    http://sunsite.rediris.es/mirror/
172    http://www.mirrorservice.org/sites/ftp.gimp.org/pub/
173    http://www.ring.gr.jp/pub/graphics/
174}
175
176set portfetch::mirror_sites::sites(gnome) {
177    http://ftp.gnome.org/pub/GNOME/
178    http://artfiles.org/gnome.org/
179    http://fr2.rpmfind.net/linux/gnome.org/
180    http://ftp.acc.umu.se/pub/GNOME/
181    http://ftp.belnet.be/ftp.gnome.org/
182    http://ftp.df.lth.se/pub/gnome/
183    http://ftp.is.co.za/mirror/ftp.gnome.org/
184    ftp://ftp.kddlabs.co.jp/pub/GNOME/
185    http://ftp.nara.wide.ad.jp/pub/X11/GNOME/
186    http://ftp.rpmfind.net/linux/gnome.org/
187    http://ftp.sunet.se/pub/X11/GNOME/
188    http://ftp1.nluug.nl/windowing/gnome/
189    http://ftp2.nluug.nl/windowing/gnome/
190    http://ftp2.uk.freebsd.org/sites/ftp.gnome.org/pub/GNOME/
191    http://mirror.internode.on.net/pub/gnome/
192    http://mirror.oss.maxcdn.com/gnome/
193    http://mirror.umd.edu/gnome/
194    http://mirrors.ustc.edu.cn/gnome/
195    http://www.gtlib.gatech.edu/pub/gnome/
196    http://www.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/
197}
198
199set portfetch::mirror_sites::sites(gnu) {
200    http://mirrors.ibiblio.org/gnu/ftp/gnu/
201    http://www.mirrorservice.org/sites/ftp.gnu.org/gnu/
202    http://mirror.facebook.net/gnu/
203    ftp://ftp.funet.fi/pub/gnu/prep/
204    ftp://ftp.kddlabs.co.jp/pub/gnu/gnu/
205    ftp://ftp.kddlabs.co.jp/pub/gnu/old-gnu/
206    ftp://ftp.dti.ad.jp/pub/GNU/
207    ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/
208    ftp://ftp.lip6.fr/pub/gnu/
209    http://mirror.internode.on.net/pub/gnu/
210    http://mirror.aarnet.edu.au/pub/gnu/
211    ftp://ftp.unicamp.br/pub/gnu/
212    ftp://ftp.gnu.org/gnu/
213    http://ftp.gnu.org/gnu/
214    ftp://ftp.gnu.org/old-gnu/
215}
216
217set portfetch::mirror_sites::sites(gnupg) {
218    http://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/
219    ftp://gd.tuwien.ac.at/privacy/gnupg/
220    http://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/
221    ftp://ftp.jyu.fi/pub/crypt/gcrypt/
222    http://www.ring.gr.jp/pub/net/gnupg/
223    ftp://ftp.gnupg.org/gcrypt/
224}
225
226set portfetch::mirror_sites::sites(gnustep) {
227    http://ftpmain.gnustep.org/pub/gnustep/
228    ftp://ftp.gnustep.org/pub/gnustep/
229}
230
231set portfetch::mirror_sites::sites(googlecode) {
232    http://${name}.googlecode.com/files/
233}
234
235set portfetch::mirror_sites::sites(isc) {
236    http://www.mirrorservice.org/sites/ftp.isc.org/isc/
237    ftp://ftp.nominum.com/pub/isc/
238    ftp://gd.tuwien.ac.at/infosys/servers/isc/
239    http://ftp.arcane-networks.fr/pub/mirrors/ftp.isc.org/isc/
240    ftp://ftp.ciril.fr/pub/isc/
241    ftp://ftp.funet.fi/pub/mirrors/ftp.isc.org/isc/
242    ftp://ftp.freenet.de/pub/ftp.isc.org/isc/
243    ftp://ftp.fsn.hu/pub/isc/
244    ftp://ftp.iij.ad.jp/pub/network/isc/
245    ftp://ftp.dti.ad.jp/pub/net/isc/
246    http://ftp.kaist.ac.kr/pub/isc/
247    ftp://ftp.task.gda.pl/mirror/ftp.isc.org/isc/
248    ftp://ftp.sunet.se/pub/network/isc/
249    ftp://ftp.ripe.net/mirrors/sites/ftp.isc.org/isc/
250    ftp://ftp.ntua.gr/pub/net/isc/isc/
251    ftp://ftp.metu.edu.tr/pub/mirrors/ftp.isc.org/
252    http://mirror.internode.on.net/pub/isc/
253    ftp://ftp.isc.org/isc/
254}
255
256set portfetch::mirror_sites::sites(kde) {
257    http://mirrors.mit.edu/kde/
258    http://kde.mirrors.hoobly.com/
259    http://ftp.gtlib.gatech.edu/pub/kde/
260    http://www.mirrorservice.org/sites/ftp.kde.org/pub/kde/
261    http://gd.tuwien.ac.at/kde/
262    http://mirrors.isc.org/pub/kde/
263    http://kde.mirrors.tds.net/pub/kde/
264    ftp://ftp.solnet.ch/mirror/KDE/
265    http://mirror.internode.on.net/pub/kde/
266    http://mirror.aarnet.edu.au/pub/KDE/
267    http://ftp.kddlabs.co.jp/pub/X11/kde/
268    ftp://ftp.kde.org/pub/kde/
269    http://mirror.facebook.net/kde/
270}
271
272set portfetch::mirror_sites::sites(macports) {
273    http://svn.macports.org/repository/macports/distfiles/
274}
275
276set portfetch::mirror_sites::sites(macports_distfiles) {
277    http://distfiles.macports.org/:mirror
278    http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/:mirror
279    http://cjj.kr.distfiles.macports.org/:mirror
280    http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/:mirror
281    http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/:mirror
282    http://jog.id.distfiles.macports.org/macports/mpdistfiles/:mirror
283    http://lil.fr.distfiles.macports.org/:mirror
284    http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/:mirror
285    http://nue.de.distfiles.macports.org/macports/distfiles/:mirror
286    http://osl.no.distfiles.macports.org/:mirror
287    http://sea.us.distfiles.macports.org/macports/distfiles/:mirror
288    http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/:mirror
289}
290
291set portfetch::mirror_sites::sites(netbsd) {
292    http://ftp7.de.NetBSD.org/pub/ftp.netbsd.org/pub/NetBSD/
293    http://ftp.fr.NetBSD.org/pub/NetBSD/
294    ftp://ftp7.us.NetBSD.org/pub/NetBSD/
295    ftp://ftp.uk.NetBSD.org/pub/NetBSD/
296    ftp://ftp.tw.NetBSD.org/pub/NetBSD/
297    ftp://ftp7.jp.NetBSD.org/pub/NetBSD/
298    ftp://ftp.ru.NetBSD.org/pub/NetBSD/
299    http://ftp.NetBSD.org/pub/NetBSD/
300}
301
302set portfetch::mirror_sites::sites(openbsd) {
303    http://www.mirrorservice.org/sites/ftp.openbsd.org/pub/OpenBSD/
304    ftp://carroll.cac.psu.edu/pub/OpenBSD/
305    ftp://openbsd.informatik.uni-erlangen.de/pub/OpenBSD/
306    ftp://gd.tuwien.ac.at/opsys/OpenBSD/
307    http://ftp.ch.openbsd.org/pub/OpenBSD/
308    ftp://ftp.stacken.kth.se/pub/OpenBSD/
309    ftp://ftp3.usa.openbsd.org/pub/OpenBSD/
310    ftp://rt.fm/pub/OpenBSD/
311    ftp://ftp.openbsd.md5.com.ar/pub/OpenBSD/
312    ftp://ftp.jp.openbsd.org/pub/OpenBSD/
313    http://mirror.internode.on.net/pub/OpenBSD/
314    http://mirror.aarnet.edu.au/pub/OpenBSD/
315    ftp://ftp.openbsd.org/pub/OpenBSD/
316}
317
318set portfetch::mirror_sites::sites(perl_cpan) {
319    http://mirrors.ibiblio.org/CPAN/modules/by-module/
320    http://www.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/
321    ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/
322    ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/
323    ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/
324    ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/
325    ftp://ftp.is.co.za/programming/perl/modules/by-module/
326    http://mirror.internode.on.net/pub/cpan/modules/by-module/
327    http://cpan.mirror.euserv.net/modules/by-module/
328    http://cpan.mirrors.ilisys.com.au/modules/by-module/
329    http://mirror.aarnet.edu.au/pub/CPAN/modules/by-module/
330    http://mirror.cogentco.com/pub/CPAN/modules/by-module/
331    http://mirror.ox.ac.uk/sites/www.cpan.org/modules/by-module/
332    http://mirror.uoregon.edu/CPAN/modules/by-module/
333    http://mirror.uta.edu/CPAN/modules/by-module/
334    http://cpan.cs.utah.edu/modules/by-module/
335    http://ftp.carnet.hr/pub/CPAN/modules/by-module/
336    http://ftp.wayne.edu/CPAN/modules/by-module/
337    ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
338}
339
340# http://php.net/mirrors.php
341# The country code domains without number suffix are supposed to redirect to
342# an available mirror in that country. To update this list use:
343# curl -s --compressed http://php.net/mirrors.php | sed -E -n 's,^.*http://([a-z]{2})[0-9]*(\.php\.net)/.*$,\1\2,p' | sort -u | xargs -n 1 -I % sh -c '{ curl -s --compressed --connect-timeout 30 -m 60 http://%/ | grep -iq "php group" && echo "    http://%/:nosubdir"; }' | tee /dev/tty | pbcopy
344set portfetch::mirror_sites::sites(php) {
345    http://am.php.net/:nosubdir
346    http://ar.php.net/:nosubdir
347    http://at.php.net/:nosubdir
348    http://au.php.net/:nosubdir
349    http://bd.php.net/:nosubdir
350    http://be.php.net/:nosubdir
351    http://bg.php.net/:nosubdir
352    http://ca.php.net/:nosubdir
353    http://ch.php.net/:nosubdir
354    http://cl.php.net/:nosubdir
355    http://cz.php.net/:nosubdir
356    http://de.php.net/:nosubdir
357    http://dk.php.net/:nosubdir
358    http://ee.php.net/:nosubdir
359    http://es.php.net/:nosubdir
360    http://fi.php.net/:nosubdir
361    http://fr.php.net/:nosubdir
362    http://hk.php.net/:nosubdir
363    http://hu.php.net/:nosubdir
364    http://id.php.net/:nosubdir
365    http://ie.php.net/:nosubdir
366    http://il.php.net/:nosubdir
367    http://in.php.net/:nosubdir
368    http://ir.php.net/:nosubdir
369    http://is.php.net/:nosubdir
370    http://it.php.net/:nosubdir
371    http://jm.php.net/:nosubdir
372    http://jp.php.net/:nosubdir
373    http://kr.php.net/:nosubdir
374    http://li.php.net/:nosubdir
375    http://lu.php.net/:nosubdir
376    http://lv.php.net/:nosubdir
377    http://md.php.net/:nosubdir
378    http://mx.php.net/:nosubdir
379    http://my.php.net/:nosubdir
380    http://nc.php.net/:nosubdir
381    http://nl.php.net/:nosubdir
382    http://no.php.net/:nosubdir
383    http://nz.php.net/:nosubdir
384    http://pa.php.net/:nosubdir
385    http://pk.php.net/:nosubdir
386    http://pl.php.net/:nosubdir
387    http://pt.php.net/:nosubdir
388    http://ro.php.net/:nosubdir
389    http://ru.php.net/:nosubdir
390    http://se.php.net/:nosubdir
391    http://sg.php.net/:nosubdir
392    http://th.php.net/:nosubdir
393    http://tr.php.net/:nosubdir
394    http://tw.php.net/:nosubdir
395    http://tz.php.net/:nosubdir
396    http://ua.php.net/:nosubdir
397    http://uk.php.net/:nosubdir
398    http://us.php.net/:nosubdir
399}
400
401set portfetch::mirror_sites::sites(postgresql) {
402    http://ftp.postgresql.org/pub/
403    http://www.mirrorservice.org/sites/ftp.postgresql.org/
404    http://ftp7.de.postgresql.org/ftp.postgresql.org/
405    ftp://ftp2.ch.postgresql.org/pub/mirrors/postgresql
406    ftp://ftp.de.postgresql.org/mirror/postgresql/
407    ftp://ftp.fr.postgresql.org/
408    http://mirror.aarnet.edu.au/pub/postgresql/
409    ftp://ftp2.au.postgresql.org/pub/postgresql/
410    ftp://ftp.ru.postgresql.org/pub/unix/database/pgsql/
411    ftp://ftp.postgresql.org/pub/
412}
413
414# Note that mirror_sites aren't intelligent enough to handle how this should
415# work automatically (which is, append first letter of port name, then
416# port name) so just use a basic form here and fake it in ports that need
417# to use this.
418set portfetch::mirror_sites::sites(pypi) {
419    https://pypi.python.org/packages/source/:nosubdir
420}
421
422set portfetch::mirror_sites::sites(ruby) {
423    http://mirrors.ibiblio.org/ruby/
424    http://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby/
425    ftp://xyz.lcs.mit.edu/pub/ruby/
426    ftp://ftp.iij.ad.jp/pub/lang/ruby/
427    ftp://ftp.fu-berlin.de/unix/languages/ruby/
428    ftp://ftp.easynet.be/ruby/ruby/
429    ftp://ftp.ntua.gr/pub/lang/ruby/
430    ftp://ftp.iDaemons.org/pub/mirror/ftp.ruby-lang.org/ruby/
431    http://ftp.ruby-lang.org/pub/ruby/
432    ftp://ftp.ruby-lang.org/pub/ruby/
433}
434
435set portfetch::mirror_sites::sites(savannah) {
436    http://download.savannah.gnu.org/releases-noredirect/
437    http://ftp.cc.uoc.gr/mirrors/nongnu.org/
438    http://ftp.twaren.net/Unix/NonGNU/
439    ftp://ftp.twaren.net/Unix/NonGNU/
440    http://mirror.csclub.uwaterloo.ca/nongnu/
441    ftp://mirror.csclub.uwaterloo.ca/nongnu/
442    http://mirrors.openfountain.cl/savannah/
443    http://mirrors.zerg.biz/nongnu/
444    http://savannah.c3sl.ufpr.br/
445    ftp://savannah.c3sl.ufpr.br/savannah-nongnu/
446}
447# Alias nongnu to savannah
448set portfetch::mirror_sites::sites(nongnu) $portfetch::mirror_sites::sites(savannah)
449
450# http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors
451set portfetch::mirror_sites::sites(sourceforge) {
452    http://aarnet.dl.sourceforge.net/
453    http://citylan.dl.sourceforge.net/
454    http://freefr.dl.sourceforge.net/
455    http://garr.dl.sourceforge.net/
456    http://heanet.dl.sourceforge.net/
457    http://hivelocity.dl.sourceforge.net/
458    http://internode.dl.sourceforge.net/
459    http://jaist.dl.sourceforge.net/
460    http://kent.dl.sourceforge.net/
461    http://nchc.dl.sourceforge.net/
462    http://netcologne.dl.sourceforge.net/
463    http://optimate.dl.sourceforge.net/
464    http://softlayer-dal.dl.sourceforge.net/
465    http://superb-dca2.dl.sourceforge.net/
466    http://switch.dl.sourceforge.net/
467    http://ufpr.dl.sourceforge.net/
468    http://waix.dl.sourceforge.net/
469}
470
471set portfetch::mirror_sites::sites(sourceforge_jp) {
472    http://iij.dl.sourceforge.jp/
473    http://osdn.dl.sourceforge.jp/
474    http://jaist.dl.sourceforge.jp/
475    http://keihanna.dl.sourceforge.jp/
476    http://globalbase.dl.sourceforge.jp/
477}
478
479set portfetch::mirror_sites::sites(sunsite) {
480    http://www.ibiblio.org/pub/Linux/
481    http://www.gtlib.gatech.edu/pub/Linux/
482    ftp://sunsite.unc.edu/pub/Linux/
483    ftp://ftp.unicamp.br/pub/systems/Linux/
484    ftp://ftp.tuwien.ac.at/pub/linux/ibiblio/
485    ftp://ftp.cs.tu-berlin.de/pub/linux/Mirrors/sunsite.unc.edu/
486    ftp://ftp.lip6.fr/pub/linux/sunsite/
487    http://ftp.nluug.nl/pub/sunsite/
488    ftp://ftp.nvg.ntnu.no/pub/mirrors/metalab.unc.edu/
489    ftp://ftp.icm.edu.pl/vol/rzm1/linux-ibiblio/
490    ftp://ftp.cse.cuhk.edu.hk/pub4/Linux/
491    ftp://ftp.kddlabs.co.jp/Linux/metalab.unc.edu/
492}
493
494set portfetch::mirror_sites::sites(tcltk) {
495    http://www.mirrorservice.org/sites/ftp.tcl.tk/pub/tcl/
496    ftp://mirror.switch.ch/mirror/tcl.tk/
497    ftp://ftp.informatik.uni-hamburg.de/pub/soft/lang/tcl/
498    ftp://ftp.funet.fi/pub/languages/tcl/tcl/
499    ftp://ftp.kddlabs.co.jp/lang/tcl/ftp.scriptics.com/
500    http://www.etsimo.uniovi.es/pub/mirrors/ftp.scriptics.com/
501    ftp://ftp.tcl.tk/pub/tcl/
502}
503
504set portfetch::mirror_sites::sites(tex_ctan) {
505    http://mirrors.ibiblio.org/CTAN/
506    http://ctan.math.utah.edu/ctan/tex-archive/
507    ftp://ftp.funet.fi/pub/TeX/CTAN/
508    http://mirror.internode.on.net/pub/ctan/
509    ftp://ctan.unsw.edu.au/tex-archive/
510    http://mirror.aarnet.edu.au/pub/CTAN/
511    ftp://ftp.kddlabs.co.jp/CTAN/
512    ftp://mirror.macomnet.net/pub/CTAN/
513    http://ftp.sun.ac.za/ftp/CTAN/
514    http://ftp.inf.utfsm.cl/pub/tex-archive/
515    ftp://ftp.tex.ac.uk/tex-archive/
516    ftp://ftp.dante.de/tex-archive/
517    ftp://ctan.tug.org/tex-archive/
518}
519
520set portfetch::mirror_sites::sites(trolltech) {
521    http://releases.qt-project.org/qt4/source/:nosubdir
522    http://ftp.heanet.ie/mirrors/ftp.trolltech.com/pub/qt/source/:nosubdir
523    ftp://ftp.informatik.hu-berlin.de/pub1/Mirrors/ftp.troll.no/QT/qt/source/:nosubdir
524    http://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/:nosubdir
525    http://ftp.ntua.gr/pub/X11/Qt/qt/source/:nosubdir
526    http://get.qt.nokia.com/qt/source/:nosubdir
527    ftp://ftp.trolltech.com/qt/source/:nosubdir
528}
529
530set portfetch::mirror_sites::sites(xcontrib) {
531    ftp://ftp.net.ohio-state.edu/pub/X11/contrib/
532    http://www.mirrorservice.org/sites/ftp.x.org/contrib/
533    ftp://ftp.gwdg.de/pub/x11/x.org/contrib/
534    http://mirror.aarnet.edu.au/pub/X11/contrib/
535    ftp://ftp2.x.org/contrib/
536    ftp://ftp.x.org/contrib/
537}
538
539set portfetch::mirror_sites::sites(xfree) {
540    http://www.gtlib.gatech.edu/pub/XFree86/
541    http://www.mirrorservice.org/sites/ftp.xfree86.org/pub/XFree86/
542    http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/
543    ftp://ftp.fit.vutbr.cz/pub/XFree86/
544    ftp://ftp.gwdg.de/pub/xfree86/XFree86/
545    ftp://ftp.esat.net/pub/X11/XFree86/
546    ftp://ftp.physics.uvt.ro/pub/XFree86/
547    http://mirror.aarnet.edu.au/pub/xfree86/
548    ftp://ftp.xfree86.org/pub/XFree86/
549}
550
551set portfetch::mirror_sites::sites(xorg) {
552    http://mirror.csclub.uwaterloo.ca/x.org/
553    http://www.mirrorservice.org/sites/ftp.x.org/pub/
554    http://mirror.switch.ch/ftp/mirror/X11/pub/
555    ftp://ftp.gwdg.de/pub/x11/x.org/pub/
556    http://ftp.cica.es/mirrors/X/pub/
557    ftp://ftp.ntua.gr/pub/X11/X.org/
558    ftp://ftp.cs.cuhk.edu.hk/pub/X11/
559    http://mi.mirror.garr.it/mirrors/x.org/
560    http://ftp.nara.wide.ad.jp/pub/X11/x.org/
561    ftp://sunsite.uio.no/pub/X11/
562    ftp://ftp.sunet.se/pub/X11/ftp.x.org/
563    http://x.cs.pu.edu.tw/
564    ftp://ftp.is.co.za/pub/x.org/pub/
565    http://xorg.freedesktop.org/archive/
566    http://xorg.freedesktop.org/releases/
567    http://www.x.org/pub/
568    ftp://ftp.x.org/pub/
569}
570
571# MySQL Mirrors
572# To update this list use:
573# $ curl -s http://dev.mysql.com/downloads/mirrors.html | grep -E '>HTTP<' | sed -e 's,.*href="\(.*\)">.*,    \1/Downloads/:nosubdir,g' -e 's,//Downloads/:nosubdir,/Downloads/:nosubdir,g' | sort -u
574# To remove bad mirrors look at this inexpensive output:
575# $ for port in mysql{5,51,55,56} ; do echo "port: ${port}" ; for mirror in $(port distfiles $port | grep -v macports | grep -E "^ *(http|ftp)://") ; do echo $mirror ; curl -sI $mirror | grep -E "(^213|Content-Length)" | sed -e '/Content-Length/ s/.*: //' -e '/213/ s/.* //' ; done ; done
576# Mirrors with bad or missing files
577#     http://mirror-cybernet.lums.edu.pk/pub/mysql/Downloads/:nosubdir
578#     http://mysql.isu.edu.tw/Downloads/:nosubdir
579#     http://mysql.mirror.kangaroot.net/Downloads/:nosubdir
580#     http://mysql.mirrors.crysys.hit.bme.hu/Downloads/:nosubdir
581#     http://mysql.mirrors.ilisys.com.au/Downloads/:nosubdir
582#     http://mysql.mivzakim.net/Downloads/:nosubdir
583#     http://opensource.become.com/mysql/Downloads/:nosubdir
584#     http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/:nosubdir
585# Mirrors with ping failures
586#     http://ftp.itu.edu.tr/Mirror/Mysql/Downloads/:nosubdir
587#     http://mysql.blic.net/Downloads/:nosubdir
588#     http://mysql.cs.pu.edu.tw/Downloads/:nosubdir
589#     http://mysql.dataphone.se/Downloads/:nosubdir
590set portfetch::mirror_sites::sites(mysql) {
591    http://artfiles.org/mysql/Downloads/:nosubdir
592    http://ftp.arnes.si/mysql/Downloads/:nosubdir
593    http://ftp.gwdg.de/pub/misc/mysql/Downloads/:nosubdir
594    http://ftp.heanet.ie/mirrors/www.mysql.com/Downloads/:nosubdir
595    http://ftp.iij.ad.jp/pub/db/mysql/Downloads/:nosubdir
596    http://ftp.jaist.ac.jp/pub/mysql/Downloads/:nosubdir
597    http://ftp.ntua.gr/pub/databases/mysql/Downloads/:nosubdir
598    http://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/:nosubdir
599    http://gd.tuwien.ac.at/db/mysql/Downloads/:nosubdir
600    http://it.mysql.contactlab.it/Downloads/:nosubdir
601    http://linorg.usp.br/mysql/Downloads/:nosubdir
602    http://mirror.csclub.uwaterloo.ca/mysql/Downloads/:nosubdir
603    http://mirror.leaseweb.com/mysql/Downloads/:nosubdir
604    http://mirror.switch.ch/ftp/mirror/mysql/Downloads/:nosubdir
605    http://mirror.trouble-free.net/mysql_mirror/Downloads/:nosubdir
606    http://mirrors.dedipower.com/www.mysql.com/Downloads/:nosubdir
607    http://mirrors.dotsrc.org/mysql/Downloads/:nosubdir
608    http://mirrors.ircam.fr/pub/mysql/Downloads/:nosubdir
609    http://mirrors.ukfast.co.uk/sites/ftp.mysql.com/Downloads/:nosubdir
610    http://mirrors.xservers.ro/mysql/Downloads/:nosubdir
611    http://mysql.cdpa.nsysu.edu.tw/Downloads/:nosubdir
612    http://mysql.he.net/Downloads/:nosubdir
613    http://mysql.infocom.ua/Downloads/:nosubdir
614    http://mysql.inspire.net.nz/Downloads/:nosubdir
615    http://mysql.linux.cz/Downloads/:nosubdir
616    http://mysql.llarian.net/Downloads/:nosubdir
617    http://mysql.mirror.ac.za/Downloads/:nosubdir
618    http://mysql.mirror.iweb.ca/Downloads/:nosubdir
619    http://mysql.mirror.rafal.ca/Downloads/:nosubdir
620    http://mysql.mirrors.arminco.com/Downloads/:nosubdir
621    http://mysql.mirrors.hoobly.com/Downloads/:nosubdir
622    http://mysql.mirrors.ovh.net/ftp.mysql.com/Downloads/:nosubdir
623    http://mysql.mirrors.pair.com/Downloads/:nosubdir
624    http://mysql.nfsi.pt/Downloads/:nosubdir
625    http://mysql.ntu.edu.tw/Downloads/:nosubdir
626    http://mysql.spd.co.il/Downloads/:nosubdir
627    http://na.mirror.garr.it/mirrors/MySQL/Downloads/:nosubdir
628    http://sunsite.icm.edu.pl/mysql/Downloads/:nosubdir
629    http://www.linorg.usp.br/mysql/Downloads/:nosubdir
630    http://www.mirrorservice.org/sites/ftp.mysql.com/Downloads/:nosubdir
631}
Note: See TracBrowser for help on using the repository browser.