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

Last change on this file since 144824 was 144824, checked in by devans@…, 3 years ago

fetch/mirror_sites.tcl: update GNOME mirrors.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 25.3 KB
Line 
1# $Id: mirror_sites.tcl 144824 2016-01-19 17:55:38Z devans@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://gentoo.localhost.net.ar/distfiles/:nosubdir
96    http://gentoo.c3sl.ufpr.br/distfiles/:nosubdir
97    http://gentoo.inode.at/distfiles/:nosubdir
98    http://mirror.bih.net.ba/gentoo/distfiles/:nosubdir
99    http://distfiles.gentoo.bg/distfiles/:nosubdir
100    http://ftp.fi.muni.cz/pub/linux/gentoo/distfiles/:nosubdir
101    http://ftp.klid.dk/ftp/gentoo/distfiles/:nosubdir
102    http://trumpetti.atm.tut.fi/gentoo/distfiles/:nosubdir
103    ftp://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/:nosubdir
104    http://mirrors.linuxant.fr/distfiles.gentoo.org/distfiles/:nosubdir
105    http://de-mirror.org/distro/gentoo/distfiles/:nosubdir
106    http://files.gentoo.gr/distfiles/:nosubdir
107    http://gentoo.inf.elte.hu/distfiles/:nosubdir
108    http://ftp.rhnet.is/pub/gentoo/distfiles/:nosubdir
109    http://ftp.heanet.ie/pub/gentoo/distfiles/:nosubdir
110    http://mirror.cambrium.nl/pub/os/linux/gentoo/distfiles/:nosubdir
111    http://gentoo.tiscali.nl/distfiles/:nosubdir
112    http://mirror.gentoo.no/distfiles/:nosubdir
113    http://gentoo.prz.rzeszow.pl/distfiles/:nosubdir
114    http://darkstar.ist.utl.pt/gentoo/distfiles/:nosubdir
115    http://mirrors.evolva.ro/gentoo/distfiles/:nosubdir
116    http://gentoo-euetib.upc.es/mirror/gentoo/distfiles/:nosubdir
117    http://ftp.ds.karen.hj.se/gentoo/distfiles/:nosubdir
118    http://mirror.switch.ch/ftp/mirror/gentoo/distfiles/:nosubdir
119    http://ftp.linux.org.tr/gentoo/distfiles/:nosubdir
120    http://mirror.bytemark.co.uk/gentoo/distfiles/:nosubdir
121    http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/:nosubdir
122    http://gentoo.kiev.ua/ftp/distfiles/:nosubdir
123    http://ftp.swin.edu.au/gentoo/distfiles/:nosubdir
124    http://ftp.iij.ad.jp/pub/linux/gentoo/distfiles/:nosubdir
125    http://mirror2.corbina.ru/gentoo-distfiles/distfiles/:nosubdir
126    http://ftp.kaist.ac.kr/pub/gentoo/distfiles/:nosubdir
127    http://ftp.ncnu.edu.tw/Linux/Gentoo/distfiles/:nosubdir
128    http://gentoo.in.th/distfiles/:nosubdir
129    http://mirror.isoc.org.il/pub/gentoo/distfiles/:nosubdir
130    http://mirror.neolabs.kz/gentoo/pub/distfiles/:nosubdir
131    http://mirror.facebook.net/gentoo/distfiles/:nosubdir
132}
133
134set portfetch::mirror_sites::sites(gimp) {
135    http://ftp.gtk.org/pub/
136    http://download.gimp.org/pub/
137    http://artfiles.org/gimp.org/
138    ftp://ftp.cc.uoc.gr/mirrors/gimp/
139    http://ftp.gwdg.de/pub/misc/grafik/gimp/
140    http://ftp.heanet.ie/mirrors/ftp.gimp.org/pub/
141    ftp://ftp.is.co.za/mirror/ftp.gimp.org/
142    http://ftp.iut-bm.univ-fcomte.fr/
143    ftp://ftp.mirrorservice.org/sites/ftp.gimp.org/pub/
144    http://ftp.nluug.nl/graphics/
145    ftp://ftp.nluug.nl/pub/graphics/
146    ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.gimp.org/pub/
147    ftp://ftp.rediris.es/mirror/
148    ftp://ftp.sai.msu.su/pub/unix/graphics/gimp/mirror/
149    http://ftp.snt.utwente.nl/pub/software/gimp/
150    http://ftp.sunet.se/pub/gnu/
151    ftp://ftp.tpnet.pl/pub/graphics/
152    ftp://ftp.u-aizu.ac.jp/pub/graphics/tools/gimp/
153    http://gimp.cp-dev.com/
154    http://gimp.mirrors.hoobly.com/
155    http://gimp.parentingamerica.com/
156    http://gimp.raffsoftware.com/
157    http://gimp.skazkaforyou.com/
158    http://mirror.hessmo.com/
159    http://mirror.ibcp.fr/pub/
160    http://mirror.umd.edu/gimp/
161    http://mirrors.dominios.pt/
162    ftp://mirrors.fe.up.pt/mirrors/ftp.gimp.org/pub/
163    http://mirrors.fe.up.pt/mirrors/ftp.gimp.org/pub/
164    http://mirrors.serverhost.ro/
165    http://mirrors.xmission.com/gimp/
166    http://mirrors.zerg.biz/
167    http://piotrkosoft.net/pub/mirrors/ftp.gimp.org/pub/
168    ftp://sunsite.icm.edu.pl/pub/graphics/
169    http://sunsite.rediris.es/mirror/
170    http://www.mirrorservice.org/sites/ftp.gimp.org/pub/
171    http://www.ring.gr.jp/pub/graphics/
172}
173
174set portfetch::mirror_sites::sites(gnome) {
175    http://ftp.gnome.org/pub/GNOME/
176    http://artfiles.org/gnome.org/
177    http://fr2.rpmfind.net/linux/gnome.org/
178    http://ftp.acc.umu.se/pub/GNOME/
179    http://ftp.belnet.be/ftp.gnome.org/
180    http://ftp.cse.buffalo.edu/pub/Gnome/
181    http://ftp.fau.de/gnome/
182    http://ftp.heanet.ie/mirrors/ftp.gnome.org/
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.nbtelecom.com.br/gnome/
193    http://mirror.oss.maxcdn.com/gnome/
194    http://mirror.umd.edu/gnome/
195    http://mirrors.ustc.edu.cn/gnome/
196    https://muug.ca/mirror/gnome/
197    http://www.gtlib.gatech.edu/pub/gnome/
198    http://www.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/
199}
200
201set portfetch::mirror_sites::sites(gnu) {
202    http://mirrors.ibiblio.org/gnu/ftp/gnu/
203    http://www.mirrorservice.org/sites/ftp.gnu.org/gnu/
204    http://mirror.facebook.net/gnu/
205    ftp://ftp.funet.fi/pub/gnu/prep/
206    ftp://ftp.kddlabs.co.jp/pub/gnu/gnu/
207    ftp://ftp.kddlabs.co.jp/pub/gnu/old-gnu/
208    ftp://ftp.dti.ad.jp/pub/GNU/
209    ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/
210    ftp://ftp.lip6.fr/pub/gnu/
211    http://mirror.internode.on.net/pub/gnu/
212    ftp://ftp.unicamp.br/pub/gnu/
213    ftp://ftp.gnu.org/gnu/
214    http://ftp.gnu.org/gnu/
215    ftp://ftp.gnu.org/old-gnu/
216}
217
218set portfetch::mirror_sites::sites(gnupg) {
219    http://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/
220    ftp://gd.tuwien.ac.at/privacy/gnupg/
221    http://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/
222    ftp://ftp.jyu.fi/pub/crypt/gcrypt/
223    http://www.ring.gr.jp/pub/net/gnupg/
224    ftp://ftp.gnupg.org/gcrypt/
225}
226
227set portfetch::mirror_sites::sites(gnustep) {
228    http://ftpmain.gnustep.org/pub/gnustep/
229    ftp://ftp.gnustep.org/pub/gnustep/
230}
231
232set portfetch::mirror_sites::sites(googlecode) {
233    http://${name}.googlecode.com/files/
234}
235
236set portfetch::mirror_sites::sites(isc) {
237    http://www.mirrorservice.org/sites/ftp.isc.org/isc/
238    ftp://ftp.nominum.com/pub/isc/
239    ftp://gd.tuwien.ac.at/infosys/servers/isc/
240    http://ftp.arcane-networks.fr/pub/mirrors/ftp.isc.org/isc/
241    ftp://ftp.ciril.fr/pub/isc/
242    ftp://ftp.funet.fi/pub/mirrors/ftp.isc.org/isc/
243    ftp://ftp.freenet.de/pub/ftp.isc.org/isc/
244    ftp://ftp.fsn.hu/pub/isc/
245    ftp://ftp.iij.ad.jp/pub/network/isc/
246    ftp://ftp.dti.ad.jp/pub/net/isc/
247    http://ftp.kaist.ac.kr/pub/isc/
248    ftp://ftp.task.gda.pl/mirror/ftp.isc.org/isc/
249    ftp://ftp.sunet.se/pub/network/isc/
250    ftp://ftp.ripe.net/mirrors/sites/ftp.isc.org/isc/
251    ftp://ftp.ntua.gr/pub/net/isc/isc/
252    ftp://ftp.metu.edu.tr/pub/mirrors/ftp.isc.org/
253    http://mirror.internode.on.net/pub/isc/
254    ftp://ftp.isc.org/isc/
255}
256
257set portfetch::mirror_sites::sites(kde) {
258    http://mirrors.mit.edu/kde/
259    http://kde.mirrors.hoobly.com/
260    http://ftp.gtlib.gatech.edu/pub/kde/
261    http://www.mirrorservice.org/sites/ftp.kde.org/pub/kde/
262    http://gd.tuwien.ac.at/kde/
263    http://mirrors.isc.org/pub/kde/
264    http://kde.mirrors.tds.net/pub/kde/
265    ftp://ftp.solnet.ch/mirror/KDE/
266    http://mirror.internode.on.net/pub/kde/
267    http://mirror.aarnet.edu.au/pub/KDE/
268    http://ftp.kddlabs.co.jp/pub/X11/kde/
269    ftp://ftp.kde.org/pub/kde/
270    http://mirror.facebook.net/kde/
271}
272
273set portfetch::mirror_sites::sites(macports) {
274    http://svn.macports.org/repository/macports/distfiles/
275}
276
277set portfetch::mirror_sites::sites(macports_distfiles) {
278    http://distfiles.macports.org/:mirror
279    http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/:mirror
280    http://cjj.kr.distfiles.macports.org/:mirror
281    http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/:mirror
282    http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/:mirror
283    http://jog.id.distfiles.macports.org/macports/mpdistfiles/:mirror
284    http://lil.fr.distfiles.macports.org/:mirror
285    http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/:mirror
286    http://nue.de.distfiles.macports.org/macports/distfiles/:mirror
287    http://osl.no.distfiles.macports.org/:mirror
288    http://sea.us.distfiles.macports.org/macports/distfiles/:mirror
289    http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/:mirror
290}
291
292set portfetch::mirror_sites::sites(netbsd) {
293    http://ftp7.de.NetBSD.org/pub/ftp.netbsd.org/pub/NetBSD/
294    http://ftp.fr.NetBSD.org/pub/NetBSD/
295    ftp://ftp7.us.NetBSD.org/pub/NetBSD/
296    ftp://ftp.uk.NetBSD.org/pub/NetBSD/
297    ftp://ftp.tw.NetBSD.org/pub/NetBSD/
298    ftp://ftp7.jp.NetBSD.org/pub/NetBSD/
299    ftp://ftp.ru.NetBSD.org/pub/NetBSD/
300    http://ftp.NetBSD.org/pub/NetBSD/
301}
302
303set portfetch::mirror_sites::sites(openbsd) {
304    http://www.mirrorservice.org/sites/ftp.openbsd.org/pub/OpenBSD/
305    ftp://carroll.cac.psu.edu/pub/OpenBSD/
306    ftp://openbsd.informatik.uni-erlangen.de/pub/OpenBSD/
307    ftp://gd.tuwien.ac.at/opsys/OpenBSD/
308    http://ftp.ch.openbsd.org/pub/OpenBSD/
309    ftp://ftp.stacken.kth.se/pub/OpenBSD/
310    ftp://ftp3.usa.openbsd.org/pub/OpenBSD/
311    ftp://rt.fm/pub/OpenBSD/
312    ftp://ftp.openbsd.md5.com.ar/pub/OpenBSD/
313    ftp://ftp.jp.openbsd.org/pub/OpenBSD/
314    http://mirror.internode.on.net/pub/OpenBSD/
315    http://mirror.aarnet.edu.au/pub/OpenBSD/
316    ftp://ftp.openbsd.org/pub/OpenBSD/
317}
318
319set portfetch::mirror_sites::sites(perl_cpan) {
320    http://mirrors.ibiblio.org/CPAN/modules/by-module/
321    http://www.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/
322    ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/
323    ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/
324    ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/
325    ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/
326    ftp://ftp.is.co.za/programming/perl/modules/by-module/
327    http://mirror.internode.on.net/pub/cpan/modules/by-module/
328    http://cpan.mirror.euserv.net/modules/by-module/
329    http://cpan.mirrors.ilisys.com.au/modules/by-module/
330    http://mirror.aarnet.edu.au/pub/CPAN/modules/by-module/
331    http://mirror.cogentco.com/pub/CPAN/modules/by-module/
332    http://mirror.ox.ac.uk/sites/www.cpan.org/modules/by-module/
333    http://mirror.uoregon.edu/CPAN/modules/by-module/
334    http://mirror.uta.edu/CPAN/modules/by-module/
335    http://cpan.cs.utah.edu/modules/by-module/
336    http://ftp.carnet.hr/pub/CPAN/modules/by-module/
337    http://ftp.wayne.edu/CPAN/modules/by-module/
338    ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
339}
340
341# http://php.net/mirrors.php
342# The country code domains without number suffix are supposed to redirect to
343# an available mirror in that country. To update this list use:
344# 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
345set portfetch::mirror_sites::sites(php) {
346    http://am.php.net/:nosubdir
347    http://ar.php.net/:nosubdir
348    http://at.php.net/:nosubdir
349    http://au.php.net/:nosubdir
350    http://bd.php.net/:nosubdir
351    http://be.php.net/:nosubdir
352    http://bg.php.net/:nosubdir
353    http://ca.php.net/:nosubdir
354    http://ch.php.net/:nosubdir
355    http://cl.php.net/:nosubdir
356    http://cz.php.net/:nosubdir
357    http://de.php.net/:nosubdir
358    http://dk.php.net/:nosubdir
359    http://ee.php.net/:nosubdir
360    http://es.php.net/:nosubdir
361    http://fi.php.net/:nosubdir
362    http://fr.php.net/:nosubdir
363    http://hk.php.net/:nosubdir
364    http://hu.php.net/:nosubdir
365    http://id.php.net/:nosubdir
366    http://ie.php.net/:nosubdir
367    http://il.php.net/:nosubdir
368    http://in.php.net/:nosubdir
369    http://ir.php.net/:nosubdir
370    http://is.php.net/:nosubdir
371    http://it.php.net/:nosubdir
372    http://jm.php.net/:nosubdir
373    http://jp.php.net/:nosubdir
374    http://kr.php.net/:nosubdir
375    http://li.php.net/:nosubdir
376    http://lu.php.net/:nosubdir
377    http://lv.php.net/:nosubdir
378    http://md.php.net/:nosubdir
379    http://mx.php.net/:nosubdir
380    http://my.php.net/:nosubdir
381    http://nc.php.net/:nosubdir
382    http://nl.php.net/:nosubdir
383    http://no.php.net/:nosubdir
384    http://nz.php.net/:nosubdir
385    http://pa.php.net/:nosubdir
386    http://pk.php.net/:nosubdir
387    http://pl.php.net/:nosubdir
388    http://pt.php.net/:nosubdir
389    http://ro.php.net/:nosubdir
390    http://ru.php.net/:nosubdir
391    http://se.php.net/:nosubdir
392    http://sg.php.net/:nosubdir
393    http://th.php.net/:nosubdir
394    http://tr.php.net/:nosubdir
395    http://tw.php.net/:nosubdir
396    http://tz.php.net/:nosubdir
397    http://ua.php.net/:nosubdir
398    http://uk.php.net/:nosubdir
399    http://us.php.net/:nosubdir
400}
401
402set portfetch::mirror_sites::sites(postgresql) {
403    http://ftp.postgresql.org/pub/
404    http://www.mirrorservice.org/sites/ftp.postgresql.org/
405    http://ftp7.de.postgresql.org/ftp.postgresql.org/
406    ftp://ftp2.ch.postgresql.org/pub/mirrors/postgresql
407    ftp://ftp.de.postgresql.org/mirror/postgresql/
408    ftp://ftp.fr.postgresql.org/
409    http://mirror.aarnet.edu.au/pub/postgresql/
410    ftp://ftp2.au.postgresql.org/pub/postgresql/
411    ftp://ftp.ru.postgresql.org/pub/unix/database/pgsql/
412    ftp://ftp.postgresql.org/pub/
413}
414
415# Note that mirror_sites aren't intelligent enough to handle how this should
416# work automatically (which is, append first letter of port name, then
417# port name) so just use a basic form here and fake it in ports that need
418# to use this.
419set portfetch::mirror_sites::sites(pypi) {
420    https://pypi.python.org/packages/source/:nosubdir
421}
422
423set portfetch::mirror_sites::sites(ruby) {
424    http://mirrors.ibiblio.org/ruby/
425    http://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby/
426    ftp://xyz.lcs.mit.edu/pub/ruby/
427    ftp://ftp.iij.ad.jp/pub/lang/ruby/
428    ftp://ftp.fu-berlin.de/unix/languages/ruby/
429    ftp://ftp.easynet.be/ruby/ruby/
430    ftp://ftp.ntua.gr/pub/lang/ruby/
431    ftp://ftp.iDaemons.org/pub/mirror/ftp.ruby-lang.org/ruby/
432    http://ftp.ruby-lang.org/pub/ruby/
433    ftp://ftp.ruby-lang.org/pub/ruby/
434}
435
436set portfetch::mirror_sites::sites(savannah) {
437    http://download.savannah.gnu.org/releases-noredirect/
438    http://ftp.cc.uoc.gr/mirrors/nongnu.org/
439    http://ftp.twaren.net/Unix/NonGNU/
440    ftp://ftp.twaren.net/Unix/NonGNU/
441    http://mirror.csclub.uwaterloo.ca/nongnu/
442    ftp://mirror.csclub.uwaterloo.ca/nongnu/
443    http://mirrors.openfountain.cl/savannah/
444    http://mirrors.zerg.biz/nongnu/
445    http://savannah.c3sl.ufpr.br/
446    ftp://savannah.c3sl.ufpr.br/savannah-nongnu/
447}
448# Alias nongnu to savannah
449set portfetch::mirror_sites::sites(nongnu) $portfetch::mirror_sites::sites(savannah)
450
451# https://sourceforge.net/p/forge/documentation/Mirrors/
452set portfetch::mirror_sites::sites(sourceforge) {
453    http://freefr.dl.sourceforge.net/
454    http://heanet.dl.sourceforge.net/
455    http://internode.dl.sourceforge.net/
456    http://iweb.dl.sourceforge.net/
457    http://jaist.dl.sourceforge.net/
458    http://kent.dl.sourceforge.net/
459    http://liquidtelecom.dl.sourceforge.net/
460    http://nbtelecom.dl.sourceforge.net/
461    http://nchc.dl.sourceforge.net/
462    http://ncu.dl.sourceforge.net/
463    http://netassist.dl.sourceforge.net/
464    http://netcologne.dl.sourceforge.net/
465    http://netix.dl.sourceforge.net/
466    http://skylineservers.dl.sourceforge.net/
467    http://skylink.dl.sourceforge.net/
468    http://superb-dca2.dl.sourceforge.net/
469    http://tcpdiag.dl.sourceforge.net/
470    http://tenet.dl.sourceforge.net/
471    http://ufpr.dl.sourceforge.net/
472    http://vorboss.dl.sourceforge.net/
473}
474
475set portfetch::mirror_sites::sites(sourceforge_jp) {
476    http://iij.dl.sourceforge.jp/
477    http://osdn.dl.sourceforge.jp/
478    http://jaist.dl.sourceforge.jp/
479    http://keihanna.dl.sourceforge.jp/
480    http://globalbase.dl.sourceforge.jp/
481}
482
483set portfetch::mirror_sites::sites(sunsite) {
484    http://www.ibiblio.org/pub/Linux/
485    http://www.gtlib.gatech.edu/pub/Linux/
486    ftp://sunsite.unc.edu/pub/Linux/
487    ftp://ftp.unicamp.br/pub/systems/Linux/
488    ftp://ftp.tuwien.ac.at/pub/linux/ibiblio/
489    ftp://ftp.cs.tu-berlin.de/pub/linux/Mirrors/sunsite.unc.edu/
490    ftp://ftp.lip6.fr/pub/linux/sunsite/
491    http://ftp.nluug.nl/pub/sunsite/
492    ftp://ftp.nvg.ntnu.no/pub/mirrors/metalab.unc.edu/
493    ftp://ftp.icm.edu.pl/vol/rzm1/linux-ibiblio/
494    ftp://ftp.cse.cuhk.edu.hk/pub4/Linux/
495    ftp://ftp.kddlabs.co.jp/Linux/metalab.unc.edu/
496}
497
498set portfetch::mirror_sites::sites(tcltk) {
499    http://www.mirrorservice.org/sites/ftp.tcl.tk/pub/tcl/
500    ftp://mirror.switch.ch/mirror/tcl.tk/
501    ftp://ftp.informatik.uni-hamburg.de/pub/soft/lang/tcl/
502    ftp://ftp.funet.fi/pub/languages/tcl/tcl/
503    ftp://ftp.kddlabs.co.jp/lang/tcl/ftp.scriptics.com/
504    http://www.etsimo.uniovi.es/pub/mirrors/ftp.scriptics.com/
505    ftp://ftp.tcl.tk/pub/tcl/
506}
507
508set portfetch::mirror_sites::sites(tex_ctan) {
509    http://mirrors.ibiblio.org/CTAN/
510    http://ctan.math.utah.edu/ctan/tex-archive/
511    ftp://ftp.funet.fi/pub/TeX/CTAN/
512    http://mirror.internode.on.net/pub/ctan/
513    ftp://ctan.unsw.edu.au/tex-archive/
514    http://mirror.aarnet.edu.au/pub/CTAN/
515    ftp://ftp.kddlabs.co.jp/CTAN/
516    ftp://mirror.macomnet.net/pub/CTAN/
517    http://ftp.sun.ac.za/ftp/CTAN/
518    http://ftp.inf.utfsm.cl/pub/tex-archive/
519    ftp://ftp.tex.ac.uk/tex-archive/
520    ftp://ftp.dante.de/tex-archive/
521    ftp://ctan.tug.org/tex-archive/
522}
523
524set portfetch::mirror_sites::sites(trolltech) {
525    http://releases.qt-project.org/qt4/source/:nosubdir
526    http://ftp.heanet.ie/mirrors/ftp.trolltech.com/pub/qt/source/:nosubdir
527    ftp://ftp.informatik.hu-berlin.de/pub1/Mirrors/ftp.troll.no/QT/qt/source/:nosubdir
528    http://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/:nosubdir
529    http://ftp.ntua.gr/pub/X11/Qt/qt/source/:nosubdir
530    http://get.qt.nokia.com/qt/source/:nosubdir
531    ftp://ftp.trolltech.com/qt/source/:nosubdir
532}
533
534set portfetch::mirror_sites::sites(xcontrib) {
535    http://ftp.x.org/contrib/
536    ftp://ftp.gwdg.de/pub/x11/x.org/contrib/
537    ftp://ftp2.x.org/contrib/
538    ftp://ftp.x.org/contrib/
539}
540
541set portfetch::mirror_sites::sites(xfree) {
542    http://www.gtlib.gatech.edu/pub/XFree86/
543    http://www.mirrorservice.org/sites/ftp.xfree86.org/pub/XFree86/
544    http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/
545    ftp://ftp.fit.vutbr.cz/pub/XFree86/
546    ftp://ftp.gwdg.de/pub/xfree86/XFree86/
547    ftp://ftp.esat.net/pub/X11/XFree86/
548    ftp://ftp.physics.uvt.ro/pub/XFree86/
549    http://mirror.aarnet.edu.au/pub/xfree86/
550    ftp://ftp.xfree86.org/pub/XFree86/
551}
552
553set portfetch::mirror_sites::sites(xorg) {
554    http://mirror.csclub.uwaterloo.ca/x.org/
555    http://www.mirrorservice.org/sites/ftp.x.org/pub/
556    http://mirror.switch.ch/ftp/mirror/X11/pub/
557    ftp://ftp.gwdg.de/pub/x11/x.org/pub/
558    http://ftp.cica.es/mirrors/X/pub/
559    ftp://ftp.ntua.gr/pub/X11/X.org/
560    ftp://ftp.cs.cuhk.edu.hk/pub/X11/
561    http://mi.mirror.garr.it/mirrors/x.org/
562    http://ftp.nara.wide.ad.jp/pub/X11/x.org/
563    ftp://sunsite.uio.no/pub/X11/
564    ftp://ftp.sunet.se/pub/X11/ftp.x.org/
565    http://x.cs.pu.edu.tw/
566    ftp://ftp.is.co.za/pub/x.org/pub/
567    http://xorg.freedesktop.org/archive/
568    http://xorg.freedesktop.org/releases/
569    http://www.x.org/pub/
570    ftp://ftp.x.org/pub/
571}
572
573# MySQL Mirrors
574# To update this list use:
575# $ 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
576# To remove bad mirrors look at this inexpensive output:
577# $ 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
578set portfetch::mirror_sites::sites(mysql) {
579    http://artfiles.org/mysql/Downloads/:nosubdir
580    http://ftp.arnes.si/mysql/Downloads/:nosubdir
581    http://ftp.gwdg.de/pub/misc/mysql/Downloads/:nosubdir
582    http://ftp.heanet.ie/mirrors/www.mysql.com/Downloads/:nosubdir
583    http://ftp.iij.ad.jp/pub/db/mysql/Downloads/:nosubdir
584    http://ftp.jaist.ac.jp/pub/mysql/Downloads/:nosubdir
585    http://ftp.ntua.gr/pub/databases/mysql/Downloads/:nosubdir
586    http://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/:nosubdir
587    http://gd.tuwien.ac.at/db/mysql/Downloads/:nosubdir
588    http://linorg.usp.br/mysql/Downloads/:nosubdir
589    http://mirror.csclub.uwaterloo.ca/mysql/Downloads/:nosubdir
590    http://mirror.leaseweb.com/mysql/Downloads/:nosubdir
591    http://mirror.switch.ch/ftp/mirror/mysql/Downloads/:nosubdir
592    http://mirror.trouble-free.net/mysql_mirror/Downloads/:nosubdir
593    http://mirrors.dedipower.com/www.mysql.com/Downloads/:nosubdir
594    http://mirrors.dotsrc.org/mysql/Downloads/:nosubdir
595    http://mirrors.ircam.fr/pub/mysql/Downloads/:nosubdir
596    http://mirrors.ukfast.co.uk/sites/ftp.mysql.com/Downloads/:nosubdir
597    http://mirrors.xservers.ro/mysql/Downloads/:nosubdir
598    http://mysql.he.net/Downloads/:nosubdir
599    http://mysql.infocom.ua/Downloads/:nosubdir
600    http://mysql.inspire.net.nz/Downloads/:nosubdir
601    http://mysql.linux.cz/Downloads/:nosubdir
602    http://mysql.mirror.ac.za/Downloads/:nosubdir
603    http://mysql.mirror.kangaroot.net/Downloads/:nosubdir
604    http://mysql.mirrors.arminco.com/Downloads/:nosubdir
605    http://mysql.mirrors.crysys.hit.bme.hu/Downloads/:nosubdir
606    http://mysql.mirrors.hoobly.com/Downloads/:nosubdir
607    http://mysql.mirrors.ovh.net/ftp.mysql.com/Downloads/:nosubdir
608    http://mysql.mirrors.pair.com/Downloads/:nosubdir
609    http://mysql.spd.co.il/Downloads/:nosubdir
610    http://na.mirror.garr.it/mirrors/MySQL/Downloads/:nosubdir
611    http://sunsite.icm.edu.pl/mysql/Downloads/:nosubdir
612    http://www.linorg.usp.br/mysql/Downloads/:nosubdir
613    http://www.mirrorservice.org/sites/ftp.mysql.com/Downloads/:nosubdir
614}
Note: See TracBrowser for help on using the repository browser.