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

Last change on this file was 153610, checked in by larryv@…, 3 years ago

Use HTTP for ftp.gwdg.de mirror

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