Sync Mk with ports
[dports.git] / Mk / bsd.sites.mk
1 # bsd.sites.mk - Popular master sites.
2 #
3 # Sites_MAINTAINER=             ports@FreeBSD.org
4 #
5 # This file does not have any designated maintainer, so feel free to
6 # commit to it yourself.  However, it is generally a good idea to
7 # notify the principal maintainer in case you have a change to one of
8 # the software environments (KDE, GNOME, etc.).
9 #
10 # Also, this file is included from bsd.port.mk for all invocations, so
11 # committing a syntax error to this file is a cardinal sin, and will
12 # be punished accordingly.  DO NOT COMMIT SOMETHING YOU HAVEN'T TESTED.
13 # You have been warned. :)
14 #
15 # Note: because it is included for all invocations, please keep the size
16 # of this file manageable.  If a distfile is unfetchable from the first
17 # few dozen locations, it is unlikely to be fetchable from any past that,
18 # and those fetch failures will simply waste time and bandwidth.  Please
19 # pick a globally representative subset.
20 #
21 # Note: all entries should terminate with a slash.
22 #
23 # $FreeBSD: Mk/bsd.sites.mk 334725 2013-11-24 13:36:02Z tijl $
24 #
25
26 # Where to put distfiles that don't have any other master site
27 .if !defined(IGNORE_MASTER_SITE_LOCAL)
28 MASTER_SITE_LOCAL+= \
29         http://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \
30         ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \
31         ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \
32         ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \
33         ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \
34         ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \
35         ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \
36         ftp://ftp.cn.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/
37
38 MASTER_SITE_PORTS_JP+= \
39         ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/%SUBDIR%/ \
40         ftp://ftp4.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/%SUBDIR%/ \
41         ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/FreeBSD-jp/ports-jp/LOCAL_PORTS/%SUBDIR%/
42 .endif
43
44 ##
45 ##      KEEP THIS LIST SORTED
46 ##
47
48 .if !defined(IGNORE_MASTER_SITE_AFTERSTEP)
49 MASTER_SITE_AFTERSTEP+= \
50         ftp://ftp.afterstep.org/%SUBDIR%/ \
51         ftp://ftp.kddlabs.co.jp/X11/AfterStep/%SUBDIR%/ \
52         ftp://ftp.dti.ad.jp/pub/X/AfterStep/%SUBDIR%/
53 .endif
54
55 .if !defined(IGNORE_MASTER_SITE_ALSA)
56 MASTER_SITE_ALSA+= \
57         http://alsa.cybermirror.org/%SUBDIR%/ \
58         ftp://ftp.alsa-project.org/pub/%SUBDIR%/
59 .endif
60
61 .if !defined(IGNORE_MASTER_SITE_APACHE)
62 MASTER_SITE_APACHE+= \
63         http://www.apache.org/dist/%SUBDIR%/ \
64         http://archive.apache.org/dist/%SUBDIR%/ \
65         http://ftp.twaren.net/Unix/Web/apache/%SUBDIR%/ \
66         http://apache.mirror.uber.com.au/%SUBDIR%/ \
67         http://apache.spd.co.il/%SUBDIR%/ \
68         http://ftp.mirrorservice.org/sites/ftp.apache.org/%SUBDIR%/ \
69         http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.apache.org/dist/%SUBDIR%/ \
70         ftp://mir1.ovh.net/ftp.apache.org/dist/%SUBDIR%/ \
71         ftp://ftp.forthnet.gr/pub/www/apache/%SUBDIR%/ \
72         ftp://xenia.sote.hu/pub/mirrors/www.apache.org/%SUBDIR%/ \
73         ftp://ftp.heanet.ie/mirrors/www.apache.org/dist/%SUBDIR%/ \
74         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/apache/&,} \
75         ftp://ftp.sunet.se/pub/www/servers/apache/dist/%SUBDIR%/ \
76         http://mirrors.ircam.fr/pub/apache/%SUBDIR%/
77 .endif
78
79 .if !defined(IGNORE_MASTER_SITE_APACHE_COMMONS_BINARIES)
80 MASTER_SITE_APACHE_COMMONS_BINARIES+= \
81         ${MASTER_SITE_APACHE:S,%SUBDIR%,commons/&/binaries,}
82 .endif
83
84 .if !defined(IGNORE_MASTER_SITE_APACHE_COMMONS_SOURCE)
85 MASTER_SITE_APACHE_COMMONS_SOURCE+= \
86         ${MASTER_SITE_APACHE:S,%SUBDIR%,commons/&/source,}
87 .endif
88
89 .if !defined(IGNORE_MASTER_SITE_APACHE_HTTPD)
90 MASTER_SITE_APACHE_HTTPD+= \
91         ${MASTER_SITE_APACHE:S,%SUBDIR%,httpd/&,}
92 .endif
93
94 .if !defined(IGNORE_MASTER_SITE_APACHE_JAKARTA)
95 MASTER_SITE_APACHE_JAKARTA+= \
96         ${MASTER_SITE_APACHE:S,%SUBDIR%,jakarta/&,}
97 .endif
98
99 .if !defined(IGNORE_MASTER_SITE_APACHE_TOMCAT)
100 MASTER_SITE_APACHE_TOMCAT+= \
101         ${MASTER_SITE_APACHE:S,%SUBDIR%,tomcat/&,}
102 .endif
103
104 .if !defined(IGNORE_MASTER_SITE_APACHE_XML)
105 MASTER_SITE_APACHE_XML+= \
106         ${MASTER_SITE_APACHE:S,%SUBDIR%,xml/&,}
107 .endif
108
109 .if !defined(IGNORE_MASTER_SITE_BERLIOS)
110 MASTER_SITE_BERLIOS+= \
111         http://download.berlios.de/%SUBDIR%/ \
112         http://download2.berlios.de/%SUBDIR%/
113 .endif
114
115 .if !defined(IGNORE_MASTER_SITE_CENKES)
116 MASTER_SITE_CENKES+= \
117         http://bsd2.cenkes.org/%SUBDIR%/ \
118         http://bsd3.cenkes.org/%SUBDIR%/
119 .endif
120
121 .if !defined(IGNORE_MASTER_SITE_CHEESESHOP)
122 MASTER_SITE_CHEESESHOP+= \
123         http://pypi.python.org/packages/%SUBDIR%/ \
124         http://c.pypi.python.org/packages/%SUBDIR%/ \
125         http://e.pypi.python.org/packages/%SUBDIR%/ \
126         http://f.pypi.python.org/packages/%SUBDIR%/ \
127         http://pypi.crate.io/packages/%SUBDIR%/ \
128         http://pypi.python.jp/${DISTNAME:S/${DISTVERSION}//:S/-//}/
129 .endif
130
131 .if !defined(IGNORE_MASTER_SITE_COMP_SOURCES)
132 MASTER_SITE_COMP_SOURCES+= \
133         ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/ \
134         ftp://ftp.uu.net/usenet/comp.sources.%SUBDIR%/
135 .endif
136
137 .if !defined(IGNORE_MASTER_SITE_CRITICAL)
138 MASTER_SITE_CRITICAL+= \
139         http://critical.ch/distfiles/%SUBDIR%/ \
140         http://energy.critical.ch/distfiles/%SUBDIR%/ \
141         http://snow.critical.ch/distfiles/%SUBDIR%/ \
142         http://fneu.fr/distfiles/%SUBDIR%/ \
143         ftp://ftp.c.saper.info/distfiles/%SUBDIR%/
144 .endif
145
146 .if !defined(IGNORE_MASTER_SITE_CSME)
147 MASTER_SITE_CSME+=      ${MASTER_SITE_CENKES}
148 .endif
149
150 .if !defined(IGNORE_MASTER_SITE_DEBIAN)
151 MASTER_SITE_DEBIAN+= \
152         http://www.gtlib.gatech.edu/pub/debian/%SUBDIR%/ \
153         ftp://ftp.us.debian.org/debian/%SUBDIR%/ \
154         ${MASTER_SITE_DEBIAN_NON_US:S,/debian-non-US/,/debian/,}
155 .endif
156
157 .if !defined(IGNORE_MASTER_SITE_DEBIAN_NON_US)
158 MASTER_SITE_DEBIAN_NON_US+= \
159         ftp://ftp.au.debian.org/debian-non-US/%SUBDIR%/ \
160         ftp://ftp.bg.debian.org/debian-non-US/%SUBDIR%/ \
161         ftp://ftp.br.debian.org/debian-non-US/%SUBDIR%/ \
162         ftp://ftp.cl.debian.org/debian-non-US/%SUBDIR%/ \
163         ftp://ftp.cz.debian.org/debian-non-US/%SUBDIR%/ \
164         ftp://ftp.de.debian.org/debian-non-US/%SUBDIR%/ \
165         ftp://ftp.ee.debian.org/debian-non-US/%SUBDIR%/ \
166         ftp://ftp.es.debian.org/debian-non-US/%SUBDIR%/ \
167         ftp://ftp.fi.debian.org/debian-non-US/%SUBDIR%/ \
168         ftp://ftp.fr.debian.org/debian-non-US/%SUBDIR%/ \
169         ftp://ftp.hk.debian.org/debian-non-US/%SUBDIR%/ \
170         ftp://ftp.hr.debian.org/debian-non-US/%SUBDIR%/ \
171         ftp://ftp.hu.debian.org/debian-non-US/%SUBDIR%/ \
172         ftp://ftp.ie.debian.org/debian-non-US/%SUBDIR%/ \
173         ftp://ftp.is.debian.org/debian-non-US/%SUBDIR%/ \
174         ftp://ftp.it.debian.org/debian-non-US/%SUBDIR%/ \
175         ftp://ftp.jp.debian.org/debian-non-US/%SUBDIR%/ \
176         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,linux/debian/debian-non-US/&,} \
177         ftp://ftp.nl.debian.org/debian-non-US/%SUBDIR%/ \
178         ftp://ftp.no.debian.org/debian-non-US/%SUBDIR%/ \
179         ftp://ftp.pl.debian.org/debian-non-US/%SUBDIR%/ \
180         ftp://ftp.ru.debian.org/debian-non-US/%SUBDIR%/ \
181         ftp://ftp.se.debian.org/debian-non-US/%SUBDIR%/ \
182         ftp://ftp.si.debian.org/debian-non-US/%SUBDIR%/ \
183         ftp://ftp.sk.debian.org/debian-non-US/%SUBDIR%/ \
184         ftp://ftp.uk.debian.org/debian-non-US/%SUBDIR%/ \
185         ftp://ftp.wa.au.debian.org/debian-non-US/%SUBDIR%/ \
186         ftp://ftp2.de.debian.org/debian-non-US/%SUBDIR%/ \
187         ftp://ftp.snt.utwente.nl/pub/linux/debian-non-US/%SUBDIR%/ \
188         ftp://ftp.df.lth.se/pub/debian-non-US/%SUBDIR%/ \
189         ftp://ftp.acc.umu.se/debian-non-US/%SUBDIR%/ \
190         ftp://mirror.symnds.com/debian-non-US/%SUBDIR%/
191 .endif
192
193 .if !defined(IGNORE_MASTER_SITE_DEBIAN_POOL)
194 MASTER_SITE_DEBIAN_POOL+= \
195         ${MASTER_SITE_DEBIAN:C|(/%SUBDIR%/)|/pool/main/${PORTNAME:C/^(.).*$/\1/}/${PORTNAME}/|}
196 .endif
197
198 .if !defined(IGNORE_MASTER_SITE_EASYSW)
199 MASTER_SITE_EASYSW+= \
200         http://ftp.easysw.com/pub/%SUBDIR%/ \
201         ftp://ftp.easysw.com/pub/%SUBDIR%/ \
202         ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/%SUBDIR%/ \
203         http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/%SUBDIR%/ \
204         ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/%SUBDIR%/
205 .endif
206
207 .if !defined(IGNORE_MASTER_SITE_ECLIPSE)
208 MASTER_SITE_ECLIPSE+= \
209         ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse.org/%SUBDIR%/ \
210         ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse/%SUBDIR%/ \
211         http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/%SUBDIR%/ \
212         ftp://sunsite.cnlab-switch.ch/mirror/eclipse/%SUBDIR%/ \
213         ftp://sunsite.cnlab-switch.ch/mirror/eclipse/eclipse/downloads/drops/%SUBDIR%/ \
214         ftp://sunsite.cnlab-switch.ch/mirror/eclipse/eclipse/downloads/drops4/%SUBDIR%/ \
215         http://eclipse.org/downloads/download.php?mirror_id=96&r=1&file=/%SUBDIR%/
216 .endif
217
218 .if !defined(IGNORE_MASTER_SITE_EXIM)
219 MASTER_SITE_EXIM+= \
220         ftp://ftp.exim.org/pub/exim/%SUBDIR%/ \
221         ftp://exim.inode.at/exim/%SUBDIR%/ \
222         ftp://exim-ftp.itsoft.at/exim/exim/%SUBDIR%/ \
223         http://exim-ftp.itsoft.at/exim/%SUBDIR%/ \
224         ftp://ftp.easynet.be/exim/exim/%SUBDIR%/ \
225         ftp://mirror.kn.vutbr.cz/pub/ftp.exim.org/exim/%SUBDIR%/ \
226         http://exim.mirror.fr/exim/%SUBDIR%/ \
227         http://mirrors.zerg.biz/exim/exim/%SUBDIR%/ \
228         http://dl.ambiweb.de/mirrors/ftp.exim.org/exim/%SUBDIR%/ \
229         ftp://exim.noris.de/exim/%SUBDIR%/ \
230         ftp://ftp.bytemine.net/exim/exim/%SUBDIR%/ \
231         ftp://exim.mirror.iphh.net/ftp/exim/%SUBDIR%/ \
232         http://exim.mirror.iphh.net/ftp/exim/%SUBDIR%/ \
233         ftp://ftp.fu-berlin.de/unix/mail/exim/%SUBDIR%/ \
234         http://exim-ftp.octet.hu/exim/%SUBDIR%/ \
235         ftp://ftp.heanet.ie/pub/exim/%SUBDIR%/ \
236         http://ftp.heanet.ie/pub/exim/%SUBDIR%/ \
237         http://washitake.com/mail/exim/mirror/exim/%SUBDIR%/ \
238         ftp://ftp.tin.org/pub/mail/exim/%SUBDIR%/ \
239         http://exim.psshee.com/ftp/exim/%SUBDIR%/ \
240         ftp://mirror.hostfuss.com/exim/ftp/exim/%SUBDIR%/ \
241         http://mirror.hostfuss.com/exim/ftp/exim/%SUBDIR%/ \
242         ftp://ftp.nl.uu.net/pub/unix/mail/exim/exim/%SUBDIR%/ \
243         ftp://sunsite.uio.no/pub/mail/exim/exim/%SUBDIR%/ \
244         http://piotrkosoft.net/pub/mirrors/ftp.exim.org/exim/%SUBDIR%/ \
245         ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.exim.org/exim/%SUBDIR%/ \
246         ftp://sunsite.icm.edu.pl/pub/unix/mail/exim/exim/%SUBDIR%/ \
247         http://sunsite.icm.edu.pl/pub/unix/mail/exim/exim/%SUBDIR%/ \
248         ftp://ftp.is.co.za/networking/mail/mta/exim/ftp/exim/%SUBDIR%/ \
249         ftp://mirrors.dominios.pt/pub/ftp.exim.org/exim/%SUBDIR%/ \
250         ftp://mirror.switch.ch/mirror/exim/exim/%SUBDIR%/ \
251         http://mirror.switch.ch/ftp/mirror/exim/exim/%SUBDIR%/ \
252         ftp://ftp.reaper.org/pub/exim/exim/%SUBDIR%/ \
253         ftp://sunsite.cnlab-switch.ch/mirror/exim/exim/%SUBDIR%/ \
254         ftp://ftp.demon.co.uk/pub/mirrors/exim/%SUBDIR%/ \
255         ftp://mirror.tje.me.uk/pub/mirrors/ftp.exim.org/exim/%SUBDIR%/ \
256         http://mirror.tje.me.uk/pub/mirrors/ftp.exim.org/exim/%SUBDIR%/ \
257         ftp://ftp.fsckit.net/pub/exim/exim/%SUBDIR%/ \
258         ftp://idcnetwork.org/pub/exim/exim/%SUBDIR%/ \
259         http://ftp.exim.llorien.org/exim/%SUBDIR%
260 .endif
261
262 .if !defined(IGNORE_MASTER_SITE_FEDORA_LINUX)
263 MASTER_SITE_FEDORA_LINUX+= \
264         http://archives.fedoraproject.org/pub/archive/fedora/linux/core/%SUBDIR%/ \
265         http://ftp.udl.es/pub/fedora/linux/core/%SUBDIR%/ \
266         http://ftp.sunet.se/pub/Linux/distributions/fedora/linux/core/%SUBDIR%/ \
267         ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/core/%SUBDIR%/ \
268         ftp://ftp.udl.es/pub/fedora/linux/core/%SUBDIR%/ \
269         http://mirrors.kernel.org/fedora/core/%SUBDIR%/ \
270         ftp://mirrors.kernel.org/fedora/core/%SUBDIR%/ \
271         http://mirror.web-ster.com/fedora/core/%SUBDIR%/ \
272         ftp://mirror.web-ster.com/fedora/core/%SUBDIR%/ \
273         http://rpmfind.net/linux/fedora/core/%SUBDIR%/ \
274         ftp://rpmfind.net/linux/fedora/core/%SUBDIR%/ \
275         ftp://ftp.gtlib.gatech.edu/pub/fedora.redhat/linux/core/%SUBDIR%/ \
276         ftp://fedora.mirrors.tds.net/pub/fedora-core/%SUBDIR%/ \
277         http://ftp.ndlug.nd.edu/pub/fedora/linux/core/%SUBDIR%/ \
278         ftp://ftp.ndlug.nd.edu/pub/fedora/linux/core/%SUBDIR%/ \
279         ftp://ftp.belnet.be/linux/fedora/linux/core/%SUBDIR%/ \
280         http://sunsite.mff.cuni.cz/pub/fedora/%SUBDIR%/ \
281         ftp://sunsite.mff.cuni.cz/pub/fedora/%SUBDIR%/ \
282         ftp://ultra.linux.cz/pub/fedora/%SUBDIR%/ \
283         http://fr2.rpmfind.net/linux/fedora/core/%SUBDIR%/ \
284         ftp://fr2.rpmfind.net/linux/fedora/core/%SUBDIR%/ \
285         http://wftp.tu-chemnitz.de/pub/linux/fedora-core/%SUBDIR%/ \
286         ftp://ftp.tu-chemnitz.de/pub/linux/fedora-core/%SUBDIR%/ \
287         http://ftp.heanet.ie/pub/fedora/linux/core/%SUBDIR%/ \
288         ftp://ftp.heanet.ie/pub/fedora/linux/core/%SUBDIR%/ \
289         ftp://alviss.et.tudelft.nl/pub/fedora/core/%SUBDIR%/ \
290         http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/fedora/linux/core/%SUBDIR%/ \
291         ftp://ftp.surfnet.nl/pub/os/Linux/distr/fedora/linux/core/%SUBDIR%/ \
292         http://ftp.nluug.nl/ftp/pub/os/Linux/distr/fedora/linux/core/%SUBDIR%/ \
293         ftp://ftp.nluug.nl/pub/os/Linux/distr/fedora/linux/core/%SUBDIR%/ \
294         ftp://ftp.uninett.no/pub/linux/Fedora/core/%SUBDIR%/ \
295         http://ftp.man.poznan.pl/pub/linux/fedora/core/%SUBDIR%/ \
296         ftp://ftp.man.poznan.pl/pub/linux/fedora/%SUBDIR%/ \
297         http://ftp.ps.pl/pub/linux/fedora-core/%SUBDIR%/ \
298         ftp://ftp.ps.pl/pub/linux/fedora-core/%SUBDIR%/ \
299         ftp://ftp.kappa.ro/pub/Linux/Distributions/fedora/%SUBDIR%/ \
300         http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/core/%SUBDIR%/ \
301         ftp://ftp.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/core/%SUBDIR%/ \
302         ftp://ftp.hostrino.com/pub/fedora/linux/core/%SUBDIR%/ \
303         ftp://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/core/%SUBDIR%/ \
304         http://ftp.kddilabs.jp/Linux/packages/fedora/core/%SUBDIR%/ \
305         ftp://ftp.kddilabs.jp/Linux/packages/fedora/core/%SUBDIR%/ \
306         ftp://ftp.riken.go.jp/pub/Linux/fedora/core/%SUBDIR%/ \
307         http://ftp.isu.edu.tw/pub/Linux/Fedora/linux/core/%SUBDIR%/ \
308         ftp://ftp.isu.edu.tw/pub/Linux/Fedora/linux/core/%SUBDIR%/ \
309         http://www.las.ic.unicamp.br/pub/fedora/linux/core/%SUBDIR%/ \
310         ftp://www.las.ic.unicamp.br/pub/fedora/linux/core/%SUBDIR%/ \
311         ftp://mirror.netglobalis.net/pub/fedora/%SUBDIR%/ \
312         http://mirror.pacific.net.au/linux/redhat/fedora/%SUBDIR%/ \
313         ftp://mirror.pacific.net.au/linux/redhat/fedora/%SUBDIR%/ \
314         http://ftp.univie.ac.at/systems/linux/fedora/core/%SUBDIR%/ \
315         http://mirror.aarnet.edu.au/pub/fedora/linux/core/%SUBDIR%/ \
316         ftp://mirror.aarnet.edu.au/pub/fedora/linux/core/%SUBDIR%/ \
317         http://fedora.mirror.iweb.ca/core/%SUBDIR%/ \
318         ftp://fedora.mirror.iweb.ca/core/%SUBDIR%/ \
319         ftp://ftp.telus.net/pub/fedora/linux/core/%SUBDIR%/ \
320         http://fedora.arcticnetwork.ca/linux/core/%SUBDIR%/ \
321         http://www.muug.mb.ca/pub/fedora/linux/core/%SUBDIR%/ \
322         ftp://ftp.muug.mb.ca/pub/fedora/linux/core/%SUBDIR%/ \
323         ftp://ftp.solnet.ch/mirror/fedora/linux/core/%SUBDIR%/ \
324         http://mirror.karneval.cz/pub/linux/fedora/linux/core/%SUBDIR%/ \
325         ftp://ftp.telmexchile.cl/Unix/fedora/linux/core/%SUBDIR%/ \
326         http://ftp.sh.cvut.cz/MIRRORS/fedora/%SUBDIR%/ \
327         ftp://ftp.sh.cvut.cz/MIRRORS/fedora/%SUBDIR%/ \
328         http://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/core/%SUBDIR%/ \
329         ftp://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/core/%SUBDIR%/ \
330         http://ftp-stud.hs-esslingen.de/pub/fedora/linux/core/%SUBDIR%/ \
331         ftp://ftp-stud.hs-esslingen.de/pub/fedora/linux/core/%SUBDIR%/ \
332         http://ftp.uni-erlangen.de/pub/Linux/MIRROR.fedora/core/%SUBDIR%/ \
333         ftp://ftp.uni-muenster.de/pub/linux/distributions/fedora/linux/core/%SUBDIR%/ \
334         http://ftp.uni-bayreuth.de/linux/fedora/linux/core/%SUBDIR%/ \
335         ftp://ftp.uni-bayreuth.de/pub/linux/fedora/linux/core/%SUBDIR%/ \
336         ftp://ftp.fu-berlin.de/linux/fedora/core/%SUBDIR%/ \
337         http://ftp.uni-koeln.de/mirrors/fedora/linux/core/%SUBDIR%/ \
338         ftp://ftp.uni-koeln.de/mirrors/fedora/linux/core/%SUBDIR%/ \
339         ftp://ftp.informatik.uni-frankfurt.de/pub/linux/Mirror/ftp.redhat.com/fedora/core/%SUBDIR%/ \
340         http://mirrors.ircam.fr/pub/fedora/linux/core/%SUBDIR%/ \
341         ftp://mirrors.ircam.fr/pub/fedora/linux/core/%SUBDIR%/ \
342         http://ftp.crihan.fr/mirrors/fedora.redhat.com/fedora/linux/core/%SUBDIR%/ \
343         ftp://ftp.crihan.fr/mirrors/fedora.redhat.com/fedora/linux/core/%SUBDIR%/ \
344         ftp://ftp.univ-pau.fr/pub/mirrors/fedora/%SUBDIR%/ \
345         ftp://ftp.lip6.fr/pub/linux/distributions/fedora/%SUBDIR%/ \
346         http://fr.rpmfind.net/linux/fedora/core/%SUBDIR%/ \
347         http://www.gtlib.gatech.edu/pub/fedora.redhat/linux/core/%SUBDIR%/ \
348         http://ftp.rhnet.is/pub/fedora/linux/core/%SUBDIR%/ \
349         ftp://ftp.rhnet.is/pub/fedora/linux/core/%SUBDIR%/ \
350         http://ftp.unina.it/pub/linux/distributions/fedora/%SUBDIR%/ \
351         ftp://ftp.unina.it/pub/linux/distributions/fedora/%SUBDIR%/ \
352         http://ftp.iij.ad.jp/pub/linux/fedora/core/%SUBDIR%/ \
353         ftp://ftp.iij.ad.jp/pub/linux/fedora/core/%SUBDIR%/ \
354         http://ftp.dti.ad.jp/pub/Linux/Fedora/core/%SUBDIR%/ \
355         ftp://ftp.dti.ad.jp/pub/Linux/Fedora/core/%SUBDIR%/ \
356         http://ftp.nara.wide.ad.jp/pub/Linux/fedora/core/%SUBDIR%/ \
357         http://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora/linux/core/%SUBDIR%/ \
358         ftp://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora/linux/core/%SUBDIR%/ \
359         http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/%SUBDIR%/ \
360         ftp://ftp.jaist.ac.jp/pub/Linux/Fedora/core/%SUBDIR%/ \
361         http://ftp.riken.jp/Linux/fedora/core/%SUBDIR%/ \
362         ftp://ftp.kreonet.re.kr/pub/Linux/fedora/core/%SUBDIR%/ \
363         ftp://fedora.ifc.unam.mx/linux/fedora/core/%SUBDIR%/ \
364         ftp://ftp.quicknet.nl/pub/Linux/download.fedora.redhat.com/core/%SUBDIR%/ \
365         ftp://ftp.uib.no/pub/fedora/linux/core/%SUBDIR%/ \
366         ftp://ftp.tpnet.pl/d17/fedora/%SUBDIR%/ \
367         http://ftp.wsisiz.edu.pl/pub/linux/fedora/linux/core/%SUBDIR%/ \
368         ftp://ftp.pbone.net/pub/fedora/pub/fedora/linux/core/%SUBDIR%/ \
369         http://ftp.pwr.wroc.pl/pub/linux/fedora/linux/core/%SUBDIR%/ \
370         ftp://ftp.pwr.wroc.pl/pub/linux/fedora/linux/core/%SUBDIR%/ \
371         ftp://mirrors.hpcf.upr.edu/pub/Mirrors/redhat/download.fedora.redhat.com/%SUBDIR%/ \
372         http://ftp.astral.ro/mirrors/fedora/pub/fedora/linux/core/%SUBDIR%/ \
373         ftp://ftp.astral.ro/mirrors/fedora/pub/fedora/linux/core/%SUBDIR%/ \
374         ftp://ftp.rdsor.ro/pub/Linux/Distributions/Fedora/%SUBDIR%/ \
375         http://ftp.chg.ru/pub/Linux/fedora/linux/core/%SUBDIR%/ \
376         ftp://ftp.chg.ru/pub/Linux/fedora/linux/core/%SUBDIR%/ \
377         http://ftp.rhd.ru/pub/fedora/linux/core/%SUBDIR%/ \
378         ftp://ftp.rhd.ru/pub/fedora/linux/core/%SUBDIR%/ \
379         http://ftp.port80.se/fedora/core/%SUBDIR%/ \
380         ftp://ftp.port80.se/fedora/core/%SUBDIR%/ \
381         http://ftp.upjs.sk/pub/fedora/linux/core/%SUBDIR%/ \
382         ftp://ftp.upjs.sk/pub/fedora/linux/core/%SUBDIR%/ \
383         ftp://ftp.tlk-l.net/pub/mirrors/fedora.redhat.com/linux/core/%SUBDIR%/ \
384         http://limestone.uoregon.edu/ftp/fedora/%SUBDIR%/ \
385         ftp://limestone.uoregon.edu/fedora/%SUBDIR%/ \
386         ftp://fedora.bu.edu/core/%SUBDIR%/ \
387         http://mirror.anl.gov/pub/fedora-linux-core/%SUBDIR%/ \
388         ftp://mirror.anl.gov/pub/fedora-linux-core/%SUBDIR%/ \
389         ftp://ftp.cse.buffalo.edu/pub/Linux/fedora/linux/core/%SUBDIR%/ \
390         ftp://ftp.applios.net/pub/fedora/linux/core/%SUBDIR%/ \
391         http://mirror.steadfast.net/fedora/core/%SUBDIR%/ \
392         http://mirror.eas.muohio.edu/fedora/linux/core/%SUBDIR%/ \
393         http://mirror.engr.sjsu.edu/pub/fedora/linux/core/%SUBDIR%/ \
394         http://www.gtlib.gatech.edu/pub/fedora.redhat/linux/core/%SUBDIR%/ \
395         ftp://ftp.gtlib.gatech.edu/pub/fedora.redhat/linux/core/%SUBDIR%/ \
396         http://mirror.cogentco.com/pub/linux/fedora/linux/core/%SUBDIR%/ \
397         http://mirrors.tummy.com/pub/fedora.redhat.com/fedora/linux/core/%SUBDIR%/ \
398         ftp://mirrors.tummy.com/pub/fedora.redhat.com/fedora/linux/core/%SUBDIR%/
399 .endif
400
401 .if !defined(IGNORE_MASTER_SITE_FESTIVAL)
402 MASTER_SITE_FESTIVAL+= \
403         http://www.festvox.org/packed/festival/%SUBDIR%/ \
404         http://www.cstr.ed.ac.uk/downloads/festival/%SUBDIR%/ \
405         http://stuff.mit.edu/afs/sipb/project/speech-tools/src/festival/festvox.org/packed/festival/%SUBDIR%/
406 .endif
407
408 .if !defined(IGNORE_MASTER_SITE_FESTIVAL_OGI)
409 MASTER_SITE_FESTIVAL_OGI+= \
410         ftp://ftp.tuwien.ac.at/opsys/linux/blinux/festival/mirror.ogi-synth_home/ \
411         http://www.cslu.ogi.edu/tts/download/data/
412 .endif
413
414 #
415 # FreeBSD mirror sites
416 #
417 # For the full list, see the Handbook:
418 #
419 #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html
420 #
421 .if !defined(IGNORE_MASTER_SITE_FREEBSD_ORG)
422 MASTER_SITE_FREEBSD_ORG+= \
423         ftp://ftp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
424         ftp://ftp.se.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
425         ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
426         ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
427         ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
428         ftp://ftp.dti.ad.jp/pub/FreeBSD/%SUBDIR%/
429 .endif
430
431 .if !defined(IGNORE_MASTER_SITE_FRUGALWARE)
432 MASTER_SITE_FRUGALWARE+= \
433         ftp://ftp7.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/ \
434         ftp://ftp2.frugalware.org/mirror/ftp.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/ \
435         ftp://ftp6.frugalware.org/mirrors/linux/frugalware/frugalware-stable/source/%SUBDIR%/ \
436         ftp://ftp4.frugalware.org/pub/linux/distributions/frugalware/frugalware-stable/source/%SUBDIR%/ \
437         ftp://ftp12.frugalware.org/mirrors/ftp.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/ \
438         ftp://ftp10.frugalware.org/pub/linux/frugalware/frugalware-stable/source/%SUBDIR%/
439 #       ftp://ftp5.frugalware.org/packages/frugalware/pub/frugalware/frugalware-stable/source/%SUBDIR%/
440 #       ftp://ftp3.frugalware.org/mirrors/frugalware/pub/frugalware/frugalware-stable/source/%SUBDIR%/
441 #       ftp://ftp9.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/
442 .endif
443
444 .if !defined(IGNORE_MASTER_SITE_GCC)
445 MASTER_SITE_GCC+= \
446         ${MASTER_SITE_SOURCEWARE:S,%SUBDIR%,gcc/&,} \
447         ftp://gcc.gnu.org/pub/gcc/%SUBDIR%/ \
448         ftp://mirrors.laffeycomputer.com/pub/gcc.gnu.org/pub/gcc/%SUBDIR%/ \
449         ftp://ftp.lip6.fr/pub/gcc/%SUBDIR%/ \
450         ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/%SUBDIR%/ \
451         ftp://ftp.uvsq.fr/pub/gcc/%SUBDIR%/ \
452         ftp://ftp.gwdg.de/pub/misc/gcc/%SUBDIR%/ \
453         ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/%SUBDIR%/ \
454         ftp://ftp.iij.ad.jp/pub/gnu/gnu/gcc/%SUBDIR%/ \
455         ftp://ftp.dti.ad.jp/pub/lang/gcc/%SUBDIR%/ \
456         ftp://ftp.nluug.nl/mirror/languages/gcc/%SUBDIR%/ \
457         ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/%SUBDIR%/ \
458         ftp://ftp.ntua.gr/pub/gnu/gcc/%SUBDIR%/ \
459         ftp://mirror.aarnet.edu.au/pub/gnu/gcc/%SUBDIR%/
460 .endif
461
462 .if !defined(IGNORE_MASTER_SITE_GENTOO)
463 MASTER_SITE_GENTOO+= \
464         http://gentoo.mirrors.pair.com/%SUBDIR%/ \
465         http://mirrors.tds.net/pub/gentoo/%SUBDIR%/ \
466         ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/%SUBDIR%/ \
467         http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/%SUBDIR%/ \
468         http://ftp.snt.utwente.nl/pub/os/linux/gentoo/%SUBDIR%/ \
469         http://trumpetti.atm.tut.fi/gentoo/%SUBDIR%/ \
470         http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/%SUBDIR%/ \
471         http://ftp.uni-erlangen.de/pub/mirrors/gentoo/%SUBDIR%/ \
472         http://darkstar.ist.utl.pt/gentoo/%SUBDIR%/ \
473         http://gentoo.inode.at/%SUBDIR%/ \
474         http://ftp.rhnet.is/pub/gentoo/%SUBDIR%/ \
475         http://gentoo.gg3.net/%SUBDIR%/ \
476         http://gentoo.kems.net/%SUBDIR%/ \
477         ftp://ftp.gtlib.gatech.edu/pub/gentoo/%SUBDIR%/ \
478         ftp://mirror.iawnet.sandia.gov/pub/gentoo/%SUBDIR%/ \
479         ftp://ftp.ussg.iu.edu/pub/linux/gentoo/%SUBDIR%/ \
480         ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/%SUBDIR%/ \
481         ftp://gentoo.mirrors.pair.com/%SUBDIR%/ \
482         ftp://mirrors.tds.net/pub/gentoo/%SUBDIR% \
483         ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/%SUBDIR%/ \
484         ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/%SUBDIR%/ \
485         ftp://trumpetti.atm.tut.fi/gentoo/%SUBDIR%/ \
486         ftp://sunsite.cnlab-switch.ch/mirror/gentoo/%SUBDIR%/ \
487         ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo/%SUBDIR%/ \
488         ftp://ftp.tu-clausthal.de/pub/linux/gentoo/%SUBDIR%/ \
489         ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/%SUBDIR%/ \
490         ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/%SUBDIR%/ \
491         ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/%SUBDIR%/ \
492         ftp://darkstar.ist.utl.pt/pub/gentoo/%SUBDIR%/ \
493         ftp://gentoo.inode.at/source/%SUBDIR%/ \
494         ftp://ftp.rhnet.is/pub/gentoo/%SUBDIR%/ \
495         ftp://files.gentoo.gr/%SUBDIR%/
496 .endif
497
498 .if !defined(IGNORE_MASTER_SITE_GITHUB)
499 #
500 # In order to use GitHub your port must define USE_GITHUB and the following
501 # variables:
502 #
503 # GH_ACCOUNT    - account name of the GitHub user hosting the project
504 #                 default: not set, mandatory
505 #
506 # GH_PROJECT    - name of the project on GitHub
507 #                 default: ${PORTNAME}
508 #
509 # GH_TAGNAME    - name of the tag to download (2.0.1, hash, ...)
510 #                 Using the name of a branch here is incorrect. It is
511 #                 possible to do GH_TAGNAME=${GH_COMMIT} to do a snapshot
512 #                 default: ${DISTVERSION}
513 #
514 # GH_COMMIT     - first 7 digits of the commit that generated GH_TAGNAME
515 #                 (man git-describe(1))
516 #                 default: not set, mandatory
517 #
518 .if defined(USE_GITHUB)
519 .if defined(GH_TAGNAME) && ${GH_TAGNAME} == master
520 IGNORE?=        Using master as GH_TAGNAME is invalid. \
521                 Must use a tag or commit hash so the upstream does\
522                 not "reroll" as soon as the branch is updated
523 .endif
524 MASTER_SITE_GITHUB+=            https://codeload.github.com/%SUBDIR% \
525                                 http://codeload.github.com/%SUBDIR%
526 MASTER_SITE_GITHUB_CLOUD+=      http://cloud.github.com/downloads/%SUBDIR%
527 .if !defined(MASTER_SITES) || !${MASTER_SITES:MGH} && !${MASTER_SITES:MGHC}
528 MASTER_SITES+=  GH GHC
529 .endif
530 GH_PROJECT?=    ${PORTNAME}
531 GH_TAGNAME?=    ${DISTVERSION}
532 FETCH_ARGS=     -Fpr
533 .endif
534 .endif
535 #
536 # GitHub files can also be obtained, without the commit hashes, by doing:
537 #
538 # MASTER_SITES= http://github.com/accountname/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
539 # FETCH_ARGS=   -Fpr
540 #
541
542 .if !defined(IGNORE_MASTER_SITE_GNOME)
543 MASTER_SITE_GNOME+= \
544         ftp://ftp.belnet.be/mirror/ftp.gnome.org/%SUBDIR%/ \
545         http://ftp.acc.umu.se/pub/GNOME/%SUBDIR%/ \
546         ftp://ftp.cse.buffalo.edu/pub/Gnome/%SUBDIR%/ \
547         http://fr2.rpmfind.net/linux/gnome.org/%SUBDIR%/ \
548         http://www.gtlib.gatech.edu/pub/gnome/%SUBDIR%/ \
549         ftp://ftp.dti.ad.jp/pub/X/gnome/%SUBDIR%/ \
550         http://linorg.usp.br/gnome/%SUBDIR%/ \
551         http://mirror.aarnet.edu.au/pub/gnome/%SUBDIR%/ \
552         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,X/gnome/&,} \
553         ftp://ftp.kddlabs.co.jp/pub/GNOME/%SUBDIR%/ \
554         ftp://ftp.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/%SUBDIR%/ \
555         ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/%SUBDIR%/ \
556         http://ftp.gnome.org/pub/GNOME/%SUBDIR%/
557 .endif
558
559 .if !defined(IGNORE_MASTER_SITE_GNU)
560 MASTER_SITE_GNU+= \
561         http://ftp.gnu.org/gnu/%SUBDIR%/ \
562         ftp://ftp.gnu.org/gnu/%SUBDIR%/ \
563         http://www.gtlib.gatech.edu/pub/gnu/gnu/%SUBDIR%/ \
564         http://mirrors.kernel.org/gnu/%SUBDIR%/ \
565         ftp://ftp.kddlabs.co.jp/GNU/%SUBDIR%/ \
566         ftp://ftp.dti.ad.jp/pub/GNU/%SUBDIR%/ \
567         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,GNU/&,} \
568         ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/%SUBDIR%/ \
569         ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/%SUBDIR%/ \
570         ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/%SUBDIR%/ \
571         http://ftp.funet.fi/pub/gnu/prep/%SUBDIR%/
572 .endif
573
574 .if !defined(IGNORE_MASTER_SITE_GNUPG)
575 MASTER_SITE_GNUPG+= \
576         http://mirror.tje.me.uk/pub/mirrors/ftp.gnupg.org/%SUBDIR%/ \
577         http://dotsrc.org/%SUBDIR%/ \
578         ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
579         ftp://ftp.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
580         ftp://mirror.cict.fr/gnupg/%SUBDIR%/ \
581         http://artfiles.org/gnupg.org/%SUBDIR%/ \
582         ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
583         ftp://ftp.crysys.hu/pub/gnupg/%SUBDIR%/ \
584         ftp://ftp.hi.is/pub/mirrors/gnupg/%SUBDIR%/ \
585         http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
586         ftp://ftp.sunet.se/pub/security/gnupg/%SUBDIR%/ \
587         ftp://mirror.switch.ch/mirror/gnupg/%SUBDIR%/ \
588         http://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
589         ftp://ftp.gnupg.org/gcrypt/%SUBDIR%/
590 .endif
591
592 .if !defined(IGNORE_MASTER_SITE_GNUSTEP)
593 MASTER_SITE_GNUSTEP+= \
594         ftp://ftp.gnustep.org/pub/gnustep/%SUBDIR%/ \
595         http://ftp.gnustep.org/pub/gnustep/%SUBDIR%/
596 .endif
597
598 .if !defined(IGNORE_MASTER_SITE_GNUSTEP_CH)
599 MASTER_SITE_GNUSTEP_CH+= \
600         http://io.debian.net/~tar/ports/distfiles/
601 .endif
602
603 .if !defined(IGNORE_MASTER_SITE_GNU_ALPHA)
604 MASTER_SITE_GNU_ALPHA+= \
605         ftp://alpha.gnu.org/pub/gnu/%SUBDIR%/ \
606         ftp://ftp.lublin.pl/mirror/alpha.gnu.org/gnu/%SUBDIR%/ \
607         ftp://ftp.ps.pl/mirrors/alpha.gnu.org/pub/gnu/%SUBDIR%/ \
608         ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/%SUBDIR%/
609 .endif
610
611 .if !defined(IGNORE_MASTER_SITE_GOOGLE_CODE)
612 PROJECTHOST?=   ${PORTNAME}
613 MASTER_SITE_GOOGLE_CODE+= \
614         http://${PROJECTHOST}.googlecode.com/files/
615 .endif
616
617 .if !defined(IGNORE_MASTER_SITE_HORDE)
618 MASTER_SITE_HORDE+= \
619         http://ftp.horde.org/pub/%SUBDIR%/ \
620         ftp://ftp.horde.org/pub/%SUBDIR%/ \
621         ftp://ftp.at.horde.org/infosys/webapps/horde/%SUBDIR%/ \
622         ftp://ftp.se.horde.org/mirror/horde/pub/%SUBDIR%/ \
623         ftp://ftp.tw.horde.org/pub/%SUBDIR%/ \
624         ftp://ftp.us.horde.org/pub/software/horde//%SUBDIR%/
625 .endif
626
627 .if !defined(IGNORE_MASTER_SITE_IDSOFTWARE)
628 MASTER_SITE_IDSOFTWARE+= \
629         ftp://ftp.chg.ru/pub/games/idgames/idstuff/%SUBDIR%/ \
630         http://ftp4.de.freesbie.org/pub/misc/ftp.idsoftware.com/idstuff/%SUBDIR%/ \
631         ftp://ftp.fu-berlin.de/pc/games/idgames/idstuff/%SUBDIR%/ \
632         ftp://ftp.gamers.org/pub/idgames/idstuff/%SUBDIR%/ \
633         http://ftp.iinet.net.au/games/idstuff/%SUBDIR%/ \
634         ftp://ftp.mirror.nl/disk2/idsoftware/idstuff/%SUBDIR%/ \
635         ftp://freebsd.nsu.ru/mirrors/ftp.idsoftware.com/idstuff/%SUBDIR%/ \
636         ftp://ftp.ntua.gr/pub/vendors/idgames/idstuff/%SUBDIR%/ \
637         ftp://ftp.omen.net.au/games/idstuff/%SUBDIR%/ \
638         ftp://ftp.idsoftware.com/idstuff/%SUBDIR%/
639 .endif
640
641 .if !defined(IGNORE_MASTER_SITE_ISC)
642 MASTER_SITE_ISC+= \
643         http://ftp.isc.org/isc/%SUBDIR%/ \
644         ftp://ftp.isc.org/isc/%SUBDIR%/ \
645         ftp://ftp.ciril.fr/pub/isc/%SUBDIR%/ \
646         ftp://ftp.freenet.de/pub/ftp.isc.org/isc/%SUBDIR%/ \
647         ftp://ftp.iij.ad.jp/pub/network/isc/%SUBDIR%/ \
648         ftp://ftp.dti.ad.jp/pub/net/isc/%SUBDIR%/ \
649         ftp://ftp.u-aizu.ac.jp/pub/net/isc/%SUBDIR%/ \
650         ftp://ftp.task.gda.pl/mirror/ftp.isc.org/isc/%SUBDIR%/ \
651         ftp://ftp.sunet.se/pub/network/isc/%SUBDIR%/ \
652         ftp://ftp.mirrorservice.org/sites/ftp.isc.org/isc/%SUBDIR%/ \
653         ftp://ftp.nominum.com/pub/isc/%SUBDIR%/ \
654         ftp://ftp.ripe.net/mirrors/sites/ftp.isc.org/isc/%SUBDIR%/ \
655         ftp://ftp.ntua.gr/pub/net/isc/isc/%SUBDIR%/ \
656         ftp://ftp.funet.fi/pub/mirrors/ftp.isc.org/isc/%SUBDIR%/
657 .endif
658
659 .if !defined(IGNORE_MASTER_SITE_KENAI)
660 MASTER_SITE_KENAI+= \
661         http://projectkenai.com/downloads/%SUBDIR%/
662 .endif
663
664 # List:         http://download.kde.org/extra/mirrors.html
665 # Updated:      2012-10-26
666 .if !defined(IGNORE_MASTER_SITE_KDE)
667 MASTER_SITE_KDE+= \
668         ftp://ftp.gtlib.gatech.edu/pub/kde/%SUBDIR%/ \
669         ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.kde.org/%SUBDIR%/ \
670         http://ftp.gtlib.gatech.edu/pub/kde/%SUBDIR%/ \
671         ftp://ftp.solnet.ch/mirror/KDE/%SUBDIR%/ \
672         ftp://gd.tuwien.ac.at/kde/%SUBDIR%/ \
673         http://gd.tuwien.ac.at/kde/%SUBDIR%/ \
674         http://kde.mirrors.tds.net/pub/kde/%SUBDIR%/ \
675         ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/%SUBDIR%/ \
676         http://mirrors.dotsrc.org/kde/%SUBDIR%/ \
677         ftp://mirrors.dotsrc.org/kde/%SUBDIR%/ \
678         ftp://ftp.fi.muni.cz/pub/kde/%SUBDIR%/ \
679         http://ftp.fi.muni.cz/pub/kde/%SUBDIR%/ \
680         ftp://sunsite.icm.edu.pl/pub/unix/kde/%SUBDIR%/ \
681         http://sunsite.icm.edu.pl/pub/unix/kde/%SUBDIR%/ \
682         ftp://ftp.sunet.se/pub/X11/kde/%SUBDIR%/ \
683         http://ftp.sunet.se/pub/X11/kde/%SUBDIR%/ \
684         ftp://ftp.kde.org/pub/kde/%SUBDIR%/ \
685         ftp://ftp.belnet.be/packages/kde/%SUBDIR%/ \
686         http://ftp.belnet.be/packages/kde/%SUBDIR%/ \
687         ftp://ftp.lip6.fr/pub/X11/kde/%SUBDIR%/ \
688         http://www-ftp.lip6.fr/pub/X11/kde/%SUBDIR%/ \
689         ftp://ftp.rhnet.is/pub/kde/%SUBDIR%/ \
690         http://ftp.rhnet.is/pub/kde/%SUBDIR%/ \
691         http://ftp-stud.fht-esslingen.de/Mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \
692         ftp://ftp.cronyx.ru/pub/mirror/kde/%SUBDIR%/ \
693         http://ftp.twaren.net/Unix/X/KDE/%SUBDIR%/ \
694         ftp://ftp.na.kde.org/pub/kde/%SUBDIR%/ \
695         ftp://ftp.fu-berlin.de/pub/unix/X11/gui/kde/%SUBDIR%/ \
696         ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/kde/%SUBDIR%/ \
697         ftp://ftp.ntua.gr/pub/X11/kde/%SUBDIR%/ \
698         http://ftp.ntua.gr/pub/X11/kde/%SUBDIR%/ \
699         ftp://ftp.heanet.ie/mirrors/ftp.kde.org/%SUBDIR%/ \
700         http://ftp.heanet.ie/mirrors/ftp.kde.org/%SUBDIR%/ \
701         ftp://ftp.kddlabs.co.jp/pub/X11/kde/%SUBDIR%/ \
702         http://ftp.kddlabs.co.jp/pub/X11/kde/%SUBDIR%/ \
703         http://ftp.cs.pu.edu.tw/pub/kde/%SUBDIR%/ \
704         http://kde.mirror.uber.com.au/%SUBDIR%/ \
705         ftp://ftp.ussg.iu.edu/pub/kde/%SUBDIR%/ \
706         http://ftp.ussg.iu.edu/kde/%SUBDIR%/ \
707         ftp://ftp.sayclub.com/pub/X/KDE/%SUBDIR%/ \
708         http://ftp.sayclub.com/pub/X/KDE/%SUBDIR%/ \
709         ftp://carroll.aset.psu.edu/pub/kde/%SUBDIR%/ \
710         http://mirror.cc.columbia.edu/pub/software/kde/%SUBDIR%/ \
711         ftp://ftp.mirrorservice.org/sites/ftp.kde.org/pub/kde/%SUBDIR%/ \
712         http://www.mirrorservice.org/sites/ftp.kde.org/pub/kde/%SUBDIR%/ \
713         http://master.kde.org/%SUBDIR%/ \
714         http://ftp.icm.edu.pl/pub/unix/kde/%SUBDIR%/ \
715         http://kde-mirror.freenux.org/%SUBDIR%/ \
716         http://ftp.fi.muni.cz/pub/kde/%SUBDIR%/ \
717         ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \
718         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,X/kde/&,} \
719         ftp://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \
720         http://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \
721         http://download.kde.org/%SUBDIR%/
722 .endif
723
724 .if !defined(IGNORE_MASTER_SITE_LOGILAB)
725 MASTER_SITE_LOGILAB+= \
726         http://download.logilab.org/pub/%SUBDIR%/ \
727         http://ftp.logilab.org/pub/%SUBDIR%/ \
728         ftp://ftp.logilab.org/pub/%SUBDIR%/ \
729         ftp://ftp.logilab.fr/pub/%SUBDIR%/
730 .endif
731
732 .if !defined(IGNORE_MASTER_SITE_MATE)
733 MASTER_SITE_MATE+= \
734         http://pub.mate-desktop.org/releases/%SUBDIR%/
735 .endif
736
737 .if !defined(IGNORE_MASTER_SITE_MOZDEV)
738 MASTER_SITE_MOZDEV+= \
739         http://ftp.scarlet.be/pub/mozdev/%SUBDIR%/ \
740         http://ftp.rz.tu-bs.de/pub/mirror/downloads.mozdev.org/%SUBDIR%/ \
741         http://ftp.ntua.gr/pub/www/mozdev/%SUBDIR%/ \
742         http://ftp.heanet.ie/pub/mozdev/%SUBDIR%/ \
743         http://mozdev.oregonstate.edu/%SUBDIR%/ \
744         http://ftp.ntua.gr/pub/www/mozdev/%SUBDIR%/ \
745         http://www.devlib.org/mozdev/%SUBDIR%/ \
746         ftp://ftp.heanet.ie/pub/mozdev/%SUBDIR%/ \
747         http://mirrors.ibiblio.org/pub/mirrors/mozdev.org/%SUBDIR%/ \
748         http://ftp.osuosl.org/pub/mozdev/%SUBDIR%/
749 .endif
750
751 # releases.mozilla.org mirror sites
752 #
753 # For the full list, see the following:
754 #
755 #       http://www.mozilla.org/mirrors.html
756 #
757 .if !defined(IGNORE_MASTER_SITE_MOZILLA)
758 MASTER_SITE_MOZILLA+= \
759         https://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
760         http://mirror3.mirrors.tds.net/pub/mozilla.org/%SUBDIR%/ \
761         http://mozilla.isc.org/pub/mozilla.org/%SUBDIR%/ \
762         http://releases.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
763         http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/%SUBDIR%/ \
764         http://jp-nii01.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
765         http://jp-nii02.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
766         http://mozilla.mtk.nao.ac.jp/pub/mozilla.org/%SUBDIR%/ \
767         http://mirror.internode.on.net/pub/mozilla/%SUBDIR%/ \
768         http://ftp.acc.umu.se/pub/mozilla.org/%SUBDIR%/ \
769         http://mozilla.c3sl.ufpr.br/releases/%SUBDIR%/ \
770         http://www.gtlib.gatech.edu/pub/mozilla.org/%SUBDIR%/ \
771         ftp://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
772         ftp://ftp.fh-wolfenbuettel.de/pub/www/mozilla/%SUBDIR%/ \
773         ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.mozilla.org/pub/%SUBDIR%/ \
774         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/mozilla/&,} \
775         http://ftp.twaren.net/Unix/Mozilla/%SUBDIR%/
776 .endif
777
778 .if !defined(IGNORE_MASTER_SITE_MOZILLA_EXTENDED)
779 MASTER_SITE_MOZILLA_EXTENDED+= \
780         http://releases.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
781         ${MASTER_SITE_MOZILLA}
782 .endif
783
784 .if !defined(IGNORE_MASTER_SITE_MPLAYERHQ)
785 MASTER_SITE_MPLAYERHQ+= \
786         http://www.mplayerhq.hu/MPlayer/%SUBDIR%/ \
787         http://www1.mplayerhq.hu/MPlayer/%SUBDIR%/ \
788         http://www2.mplayerhq.hu/MPlayer/%SUBDIR%/ \
789         http://www3.mplayerhq.hu/MPlayer/%SUBDIR%/ \
790         http://www4.mplayerhq.hu/MPlayer/%SUBDIR%/ \
791         http://www5.mplayerhq.hu/MPlayer/%SUBDIR%/ \
792         ftp://ftp.mplayerhq.hu/MPlayer/%SUBDIR%/ \
793         ftp://ftp1.mplayerhq.hu/MPlayer/%SUBDIR%/ \
794         ftp://ftp4.mplayerhq.hu/MPlayer/%SUBDIR%/ \
795         ftp://ftp5.mplayerhq.hu/MPlayer/%SUBDIR%/
796 .endif
797
798 .if !defined(IGNORE_MASTER_SITE_MYSQL)
799 MASTER_SITE_MYSQL+= \
800         ftp://ftp.fi.muni.cz/pub/mysql/Downloads/%SUBDIR%/ \
801         http://mysql.mirrors.cybercity.dk/Downloads/%SUBDIR%/ \
802         ftp://ftp.fh-wolfenbuettel.de/pub/database/mysql/Downloads/%SUBDIR%/ \
803         ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/%SUBDIR%/ \
804         http://netmirror.org/mirror/mysql.com/Downloads/%SUBDIR%/ \
805         ftp://netmirror.org/mysql.com/Downloads/%SUBDIR%/ \
806         http://mirrors.ntua.gr/MySQL/Downloads/%SUBDIR%/ \
807         ftp://ftp.ntua.gr/pub/databases/mysql/Downloads/%SUBDIR%/ \
808         http://mysql.sote.hu/Downloads/%SUBDIR%/ \
809         ftp://ftp.rhnet.is/pub/mysql/Downloads/%SUBDIR%/ \
810         ftp://mirror.widexs.nl/pub/mysql/Downloads/%SUBDIR%/ \
811         ftp://mirror.switch.ch/mirror/mysql/Downloads/%SUBDIR%/ \
812         http://mysql.dp.ua/Downloads/%SUBDIR%/ \
813         http://mysql.mirrored.ca/Downloads/%SUBDIR%/ \
814         ftp://mirror.services.wisc.edu/mirrors/mysql/Downloads/%SUBDIR%/ \
815         http://mysql.mirrors.pair.com/Downloads/%SUBDIR%/ \
816         ftp://ftp.linorg.usp.br/mysql/Downloads/%SUBDIR%/ \
817         ftp://ftp.cbn.net.id/mirror/mysql/Downloads/%SUBDIR%/ \
818         ftp://ftp.easynet.be/mysql/Downloads/%SUBDIR%/ \
819         http://download.softagency.net/MySQL/Downloads/%SUBDIR%/
820 .endif
821
822 .if !defined(IGNORE_MASTER_SITE_NETBSD)
823 MASTER_SITE_NETBSD+= \
824         ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/%SUBDIR%/ \
825         ftp://ftp.iastate.edu/pub/netbsd/packages/distfiles/%SUBDIR%/ \
826         ftp://ftp.plig.net/pub/NetBSD/packages/distfiles/%SUBDIR%/ \
827         ftp://ftp.proxad.net/mirrors/ftp.netbsd.org/packages/distfiles/%SUBDIR%/\
828         ftp://ftp.unina.it/pub/Unix/NetBSD/packages/distfiles/%SUBDIR%/ \
829         ftp://ftp.uninett.no/bsd/unix/NetBSD/packages/distfiles/%SUBDIR%/ \
830         ftp://sunsite.uio.no/bsd/unix/NetBSD/packages/distfiles/%SUBDIR%/ \
831         ftp://ftp.sunet.se/pub/NetBSD/packages/distfiles/%SUBDIR%/ \
832         ftp://ftp.demon.co.uk/pub/mirrors/NetBSD/packages/distfiles/%SUBDIR%/ \
833         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,NetBSD/packages/distfiles/&,} \
834         ftp://ftp.dti.ad.jp/pub/NetBSD/packages/distfiles/%SUBDIR%/ \
835         ftp://ftp.funet.fi/pub/NetBSD/packages/distfiles/%SUBDIR%/
836 .endif
837
838 .if !defined(IGNORE_MASTER_SITE_NETLIB)
839 MASTER_SITE_NETLIB+= \
840         ftp://ftp.netlib.org/%SUBDIR%/ \
841         http://www.netlib.org/%SUBDIR%/ \
842         ftp://ftp.mirrorservice.org/sites/ftp.netlib.org/%SUBDIR%/ \
843         http://www.mirrorservice.org/sites/ftp.netlib.org/%SUBDIR%/ \
844         ftp://ftp.netlib.no/netlib/%SUBDIR%/ \
845         http://www.netlib.no/netlib/%SUBDIR%/ \
846         ftp://ftp.irisa.fr/pub/netlib/%SUBDIR%/ \
847         http://artfiles.org/netlib.org/%SUBDIR%/ \
848         http://netlib.amss.ac.cn/%SUBDIR%/ \
849         http://netlib.caspur.it/%SUBDIR%/ \
850         http://netlib.sandia.gov/%SUBDIR%/ \
851         http://phase.hpcc.jp/mirrors/netlib/%SUBDIR%/
852 .endif
853
854 .if !defined(IGNORE_MASTER_SITE_NVIDIA)
855 MASTER_SITE_NVIDIA+= \
856         http://jp.download.nvidia.com/%SUBDIR%/ \
857         http://us.download.nvidia.com/%SUBDIR%/ \
858         http://tw.download.nvidia.com/%SUBDIR%/ \
859         http://download.nvidia.com/%SUBDIR%/ \
860         http://download1.nvidia.com/%SUBDIR%/ \
861         ftp://download.nvidia.com/%SUBDIR%/ \
862         ftp://download1.nvidia.com/%SUBDIR%/
863 .endif
864
865 .if !defined(IGNORE_MASTER_SITE_OPENBSD)
866 MASTER_SITE_OPENBSD+= \
867         http://anga.funkfeuer.at/ftp/pub/OpenBSD/%SUBDIR%/ \
868         http://ftp.eu.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
869         ftp://ftp.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
870         ftp://openbsd.informatik.uni-erlangen.de/pub/OpenBSD/%SUBDIR%/ \
871         ftp://ftp5.usa.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
872         ftp://ftp3.usa.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
873         ftp://rt.fm/pub/OpenBSD/%SUBDIR%/ \
874         http://ftp.heanet.ie/pub/OpenBSD/%SUBDIR%/ \
875         http://ftp.belnet.be/packages/openbsd/%SUBDIR%/ \
876         http://mirror.pacific.net.au/OpenBSD/%SUBDIR%/ \
877         http://ftp.openbsd.dk/pub/OpenBSD/%SUBDIR%/ \
878         http://ftp.estpak.ee/pub/OpenBSD/%SUBDIR%/ \
879         http://mirror.internode.on.net/pub/OpenBSD/%SUBDIR%/ \
880         http://ftp.chg.ru/pub/OpenBSD/%SUBDIR%/ \
881         http://ftp.arcane-networks.fr/pub/OpenBSD/%SUBDIR%/ \
882         http://ftp.netbsd.se/OpenBSD/%SUBDIR%/ \
883         http://openbsd.cs.pu.edu.tw/%SUBDIR%/ \
884         http://www.mirrorservice.org/pub/OpenBSD/%SUBDIR%/ \
885         http://mirror.switch.ch/ftp/pub/OpenBSD/%SUBDIR%/ \
886         http://ftp.jaist.ac.jp/pub/OpenBSD/%SUBDIR%/ \
887         http://ftp.cc.uoc.gr/mirrors/OpenBSD/%SUBDIR%/ \
888         http://mirror.hostfuss.com/pub/OpenBSD/%SUBDIR%/ \
889         ftp://ftp.stacken.kth.se/pub/OpenBSD/%SUBDIR%/ \
890         ftp://ftp.ca.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
891         ftp://ftp.freebsdchina.org/pub/OpenBSD/%SUBDIR%/ \
892         ftp://ftp.dkuug.dk/pub/OpenBSD/%SUBDIR%/ \
893         ftp://ftp.jyu.fi/pub/OpenBSD/%SUBDIR%/ \
894         ftp://ftp.irisa.fr/pub/OpenBSD/%SUBDIR%/ \
895         ftp://ftp.nara.wide.ad.jp/pub/OpenBSD/%SUBDIR%/ \
896         ftp://ftp.inet.no/pub/OpenBSD/%SUBDIR%/ \
897         ftp://ftp.nluug.nl/pub/OpenBSD/%SUBDIR%/ \
898         ftp://ftp.gamma.ru/pub/OpenBSD/%SUBDIR%/ \
899         ftp://ftp.rediris.es/pub/OpenBSD/%SUBDIR%/ \
900         ftp://ftp.su.se/pub/OpenBSD/%SUBDIR%/ \
901         ftp://osmirrors.cerias.purdue.edu/pub/OpenBSD/%SUBDIR%/ \
902         ftp://carroll.cac.psu.edu/pub/OpenBSD/%SUBDIR%/ \
903         ftp://openbsd.mirrors.tds.net/pub/OpenBSD/%SUBDIR%/ \
904         http://mirrors.nic.funet.fi/pub/OpenBSD/%SUBDIR%/
905 .endif
906
907 .if !defined(IGNORE_MASTER_SITE_OSSP)
908 MASTER_SITE_OSSP+= \
909         ftp://ftp.ossp.org/pkg/%SUBDIR%/ \
910         ftp://ftp.ntua.gr/pub/utils/ossp/%SUBDIR%/
911 .endif
912
913 .if !defined(IGNORE_MASTER_SITE_PACKETSTORM)
914 MASTER_SITE_PACKETSTORM+= \
915         http://dl.packetstormsecurity.net/%SUBDIR%/ \
916         http://packetstorm.codar.com.br/%SUBDIR%/ \
917         http://packetstorm.igor.onlinedirect.bg/%SUBDIR%/ \
918         http://packetstorm.interhost.co.il/%SUBDIR%/ \
919         http://packetstorm.foofus.com/%SUBDIR%/ \
920         http://packetstorm.tacticalflex.com/%SUBDIR%/ \
921         http://packetstorm.unixteacher.org/%SUBDIR%/ \
922         http://packetstorm.wowhacker.com/%SUBDIR%/
923 .endif
924
925 .if !defined(IGNORE_MASTER_SITE_PERL_CPAN)
926
927 _PERL_CPAN_SORT?= modules/by-module
928
929 # Please add URI to MASTER_SITE_PERL_CPAN_BY instead of this one.
930 MASTER_SITE_PERL_CPAN?=
931
932 MASTER_SITE_PERL_CPAN_BY+= \
933         ftp://ftp.cpan.org/pub/CPAN/%CPANSORT%/%SUBDIR%/ \
934         http://www.cpan.dk/%CPANSORT%/%SUBDIR%/ \
935         ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/%CPANSORT%/%SUBDIR%/ \
936         http://ftp.jaist.ac.jp/pub/CPAN/%CPANSORT%/%SUBDIR%/ \
937         ftp://ftp.sunet.se/pub/lang/perl/CPAN/%CPANSORT%/%SUBDIR%/ \
938         ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/%CPANSORT%/%SUBDIR%/ \
939         http://at.cpan.org/%CPANSORT%/%SUBDIR%/ \
940         ftp://ftp.auckland.ac.nz/pub/perl/CPAN/%CPANSORT%/%SUBDIR%/ \
941         http://backpan.perl.org/%CPANSORT%/%SUBDIR%/ \
942         ftp://ftp.funet.fi/pub/languages/perl/CPAN/%CPANSORT%/%SUBDIR%/ \
943         http://ftp.twaren.net/Unix/Lang/CPAN/%CPANSORT%/%SUBDIR%/ \
944         ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%SUBDIR%/ \
945         http://www.cpan.dk/modules/by-module/%SUBDIR%/
946
947 _PERL_CPAN_FLAG=${MASTER_SITE_SUBDIR:C/(CPAN):.*$/\1/}
948 _PERL_CPAN_ID=  ${MASTER_SITE_SUBDIR:C/^CPAN:(.)(.)(.*)$/\1\/\1\2\/\1\2\3/}
949
950 .if !empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:tl} == "cpan"
951     _PERL_CPAN_SORT=authors/id/${_PERL_CPAN_ID}
952     MASTER_SITE_PERL_CPAN=${MASTER_SITE_PERL_CPAN_BY:S/%CPANSORT%/${_PERL_CPAN_SORT}/:S/%SUBDIR%\///}
953 .else
954     MASTER_SITE_PERL_CPAN=${MASTER_SITE_PERL_CPAN_BY:S/%CPANSORT%/${_PERL_CPAN_SORT}/}
955 .endif
956
957 .endif
958
959 #
960 # PostgreSQL mirror sites
961 #
962 # For the full list, see the following:
963 #
964 #       http://wwwmaster.postgresql.org/download/mirrors-ftp
965 #
966 # Before update mirror list please consult with fenner's distfiles survey.
967 #
968 .if !defined(IGNORE_MASTER_SITE_PGSQL)
969 MASTER_SITE_PGSQL+= \
970         ftp://ftp.se.postgresql.org/pub/databases/relational/postgresql/%SUBDIR%/ \
971         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,misc/db/postgresql/&,} \
972         ftp://ftp2.cz.postgresql.org/pub/postgresql/%SUBDIR%/ \
973         ftp://ftp.ee.postgresql.org/mirrors/postgresql/%SUBDIR%/ \
974         ftp://ftp3.de.postgresql.org/pub/Mirrors/ftp.postgresql.org/%SUBDIR%/ \
975         ftp://ftp.gr.postgresql.org/pub/databases/postgresql/%SUBDIR%/ \
976         ftp://ftp.ie.postgresql.org/mirrors/ftp.postgresql.org/pub/%SUBDIR%/ \
977         ftp://ftp2.it.postgresql.org/mirrors/postgres/%SUBDIR%/ \
978         http://ftp2.jp.postgresql.org/pub/postgresql/%SUBDIR%/ \
979         ftp://ftp.lv.postgresql.org/pub/postgresql/%SUBDIR%/ \
980         ftp://ftp2.nl.postgresql.org/mirror/postgresql/%SUBDIR%/ \
981         ftp://ftp6.pl.postgresql.org/pub/postgresql/%SUBDIR%/ \
982         ftp://ftp7.pl.postgresql.org/pub/mirror/ftp.postgresql.org/%SUBDIR%/ \
983         ftp://ftp6.ro.postgresql.org/pub/mirrors/ftp.postgresql.org/%SUBDIR%/ \
984         ftp://ftp3.ru.postgresql.org/pub/mirror/postgresql/pub/%SUBDIR%/ \
985         ftp://ftp5.es.postgresql.org/mirror/postgresql/%SUBDIR%/ \
986         ftp://ftp3.tw.postgresql.org/pub/postgresql/%SUBDIR%/ \
987         ftp://ftp.postgresql.org/pub/%SUBDIR%/
988 .endif
989
990 .if !defined(IGNORE_MASTER_SITE_PHP)
991 MASTER_SITE_PHP+= \
992         http://dk1.php.net/%SUBDIR%/ \
993         http://de.php.net/%SUBDIR%/ \
994         http://es.php.net/%SUBDIR%/ \
995         http://fr.php.net/%SUBDIR%/ \
996         http://gr.php.net/%SUBDIR%/ \
997         http://it.php.net/%SUBDIR%/ \
998         http://jp.php.net/%SUBDIR%/ \
999         http://se.php.net/%SUBDIR%/ \
1000         http://uk3.php.net/%SUBDIR%/ \
1001         http://us2.php.net/%SUBDIR%/ \
1002         http://br.php.net/%SUBDIR%/ \
1003         http://cn.php.net/%SUBDIR%/ \
1004         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/php/&,}
1005 .endif
1006
1007 .if !defined(IGNORE_MASTER_SITE_PYTHON)
1008 MASTER_SITE_PYTHON+= \
1009         http://www.python.org/%SUBDIR%/ \
1010         http://python.ilisys.com.au/%SUBDIR%/ \
1011         http://www.linux.org.hk/mirror/python/%SUBDIR%/ \
1012         http://mirrors.sunsite.dk/pythonwww/%SUBDIR%/ \
1013         http://python.emdia.fi/%SUBDIR%/ \
1014         http://SunSITE.Informatik.RWTH-Aachen.DE/python/%SUBDIR%/ \
1015         http://www.auth.gr/mirrors/python/%SUBDIR%/ \
1016         http://www.cwi.nl/www.python.org/%SUBDIR%/ \
1017         http://gnu.kookel.org/ftp/www.python.org/%SUBDIR%/ \
1018         http://python.holywar.net/%SUBDIR%/ \
1019         http://mirrors.ccs.neu.edu/Python/pub/www.python.org/%SUBDIR%/
1020 .endif
1021
1022 .if !defined(IGNORE_MASTER_SITE_QMAIL)
1023 MASTER_SITE_QMAIL+= \
1024         http://qmail.geto.net/%SUBDIR%/ \
1025         http://qmail.palomine.net/%SUBDIR%/ \
1026         http://qmail.mirrors.summersault.com/%SUBDIR%/ \
1027         http://qmail.cdsinet.net/%SUBDIR%/ \
1028         http://qmail.glasswings.com.au/%SUBDIR%/ \
1029         http://qmail.psshee.com/%SUBDIR%/ \
1030         http://mirrors.sunsite.dk/qmailwww/%SUBDIR%/ \
1031         http://www.agria.hu/qmail/%SUBDIR%/ \
1032         http://qmail.rhnet.is/%SUBDIR%/ \
1033         http://mirrors.dataloss.nl/www.qmail.org/%SUBDIR%/ \
1034         http://www.math.ntnu.no/mirror/www.qmail.org/%SUBDIR%/ \
1035         http://qmail.netvisao.pt/%SUBDIR%/ \
1036         http://qmail.ipg.sk/%SUBDIR%/ \
1037         http://qmail.omnis.ch/%SUBDIR%/ \
1038         http://qmail.asylog.net/%SUBDIR%/ \
1039         http://qmail.blueyonder.co.uk/%SUBDIR%/ \
1040         http://www.qmail.org/%SUBDIR%/
1041 .endif
1042
1043 .if !defined(IGNORE_MASTER_SITE_QT)
1044 MASTER_SITE_QT+= \
1045         http://download.qt-project.org/%SUBDIR%/ \
1046         http://master.qt-project.org/%SUBDIR%/ \
1047         http://www.mirrorservice.org/sites/download.qt-project.org/%SUBDIR%/ \
1048         http://www.nic.funet.fi/pub/mirrors/download.qt-project.org/%SUBDIR%/ \
1049         http://qtmirror.ics.com/pub/qtproject/%SUBDIR%/ \
1050         http://anychimirror101.mirrors.tds.net/pub/Qt/%SUBDIR%/ \
1051         http://www.las.ic.unicamp.br/pub/qtproject/%SUBDIR%/ \
1052         http://linorg.usp.br/Qt/%SUBDIR%/ \
1053         http://ftp.jaist.ac.jp/pub/qtproject/%SUBDIR%/ \
1054         http://mirrors.neusoft.edu.cn/qt/%SUBDIR%/
1055 .endif
1056
1057 .if !defined(IGNORE_MASTER_SITE_REDHAT_LINUX)
1058 MASTER_SITE_REDHAT_LINUX+= \
1059         http://mirrors.usc.edu/pub/linux/distributions/redhat/redhat/linux/%SUBDIR%/ \
1060         http://www.gtlib.gatech.edu/pub/redhat/linux/%SUBDIR%/ \
1061         ftp://mirror.cs.wisc.edu/pub/mirrors/linux/redhat/%SUBDIR%/ \
1062         ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/%SUBDIR%/ \
1063         ftp://ftp.icm.edu.pl/pub/linux/redhat/linux/%SUBDIR%/ \
1064         ftp://ftp.riken.go.jp/pub/Linux/redhat/linux/%SUBDIR%/ \
1065         ftp://ftp.kddlabs.co.jp/pub/Linux/packages/RedHat/redhat/linux/%SUBDIR%/
1066 .endif
1067
1068 #
1069 # RingServers in Japan
1070 #
1071 #
1072 # Note: If you know which of the RingServers is nearest to you,
1073 # please specify it in your /etc/make.conf. (The server list is
1074 # available at http://www.ring.gr.jp/)
1075 #
1076 # You can choose either http or ftp to access to a server:
1077 #
1078 #       http://<server>/archives/%SUBDIR%/
1079 #       ftp://<server>/pub/%SUBDIR%/
1080 #
1081 # {www,ftp}.dnsbalance.ring.gr.jp redirects requests to one of the
1082 # least busy servers at the moment at the DNS lookup level. (safe to
1083 # use with "fetch -A")
1084 #
1085 # {www,ftp}.t.ring.gr.jp redirects requests to one of the nearest
1086 # servers at the DNS lookup level. (safe to use with "fetch -A")
1087 #
1088 .if !defined(IGNORE_MASTER_SITE_RINGSERVER)
1089 MASTER_SITE_RINGSERVER+= \
1090         http://ring.nict.go.jp/archives/%SUBDIR%/
1091 .endif
1092
1093 .if !defined(IGNORE_MASTER_SITE_RUBY)
1094 MASTER_SITE_RUBY+= \
1095         ftp://ftp.ruby-lang.org/pub/ruby/%SUBDIR%/ \
1096         ftp://ftp.SpringDaemons.com/pub/ruby/ruby/%SUBDIR%/ \
1097         http://www.ibiblio.org/pub/languages/ruby/%SUBDIR%/ \
1098         ftp://xyz.lcs.mit.edu/pub/ruby/%SUBDIR%/ \
1099         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,lang/ruby/&,} \
1100         ftp://ftp.fu-berlin.de/unix/languages/ruby/%SUBDIR%/ \
1101         ftp://ftp.easynet.be/ruby/ruby/%SUBDIR%/ \
1102         ftp://ftp.ntua.gr/pub/lang/ruby/%SUBDIR%/ \
1103         ftp://ftp.kr.FreeBSD.org/pub/ruby/%SUBDIR%/ \
1104         http://mirrors.sunsite.dk/ruby/%SUBDIR%/ \
1105         ftp://ftp.iDaemons.org/pub/mirror/ftp.ruby-lang.org/ruby/%SUBDIR%/
1106 .endif
1107
1108 # See http://rubyforge.org/credits/
1109 .if !defined(IGNORE_MASTER_SITE_RUBYFORGE)
1110 MASTER_SITE_RUBYFORGE+= \
1111         http://files.rubyforge.vm.bytemark.co.uk/%SUBDIR%/
1112 .endif
1113
1114 # See http://rubygems.org/pages/about
1115 .if !defined(IGNORE_MASTER_SITE_RUBYGEMS)
1116 MASTER_SITE_RUBYGEMS+= \
1117         http://production.s3.rubygems.org/gems/%SUBDIR%/ \
1118         http://production.cf.rubygems.org/gems/%SUBDIR%/
1119 .endif
1120
1121 .if !defined(IGNORE_MASTER_SITE_SAMBA)
1122 MASTER_SITE_SAMBA+= \
1123         http://ftp.samba.org/pub/%SUBDIR%/ \
1124         ftp://ca.samba.org/pub/%SUBDIR%/ \
1125         ftp://de.samba.org/pub/%SUBDIR%/ \
1126         ftp://ftp.easynet.be/%SUBDIR%/ \
1127         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/samba/&,}
1128 .endif
1129
1130 # List: http://download.savannah.gnu.org/mirmon/
1131 .if !defined(IGNORE_MASTER_SITE_SAVANNAH)
1132 MASTER_SITE_SAVANNAH+= \
1133         http://nongnu.askapache.com/%SUBDIR%/ \
1134         http://mirror.lihnidos.org/GNU/savannah/%SUBDIR%/ \
1135         http://ftp.twaren.net/Unix/NonGNU/%SUBDIR%/ \
1136         ftp://ftp.twaren.net/Unix/NonGNU/%SUBDIR%/ \
1137         http://gnu.mirrors.pair.com/savannah/savannah/%SUBDIR%/ \
1138         ftp://gnu.mirrors.pair.com/savannah/%SUBDIR%/ \
1139         http://download-mirror.savannah.gnu.org/releases/%SUBDIR%/
1140 .endif
1141
1142 # List:         http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors
1143 # Updated:      2013-03-25
1144 .if !defined(IGNORE_MASTER_SITE_SOURCEFORGE)
1145 .for mirror in heanet sunet iweb switch freefr garr aarnet jaist master \
1146         nchc ncu internode waix hivelocity superb-dca3 ufpr tenet \
1147         netcologne ignum kent kaz
1148 MASTER_SITE_SOURCEFORGE+= \
1149         http://${mirror}.dl.sourceforge.net/project/%SUBDIR%/
1150 .endfor
1151 .endif
1152
1153 .if !defined(IGNORE_MASTER_SITE_SOURCEFORGE_JP)
1154 .for mirror in iij jaist keihanna osdn
1155 MASTER_SITE_SOURCEFORGE_JP+= \
1156         http://${mirror}.dl.sourceforge.jp/%SUBDIR%/
1157 .endfor
1158 .endif
1159
1160 .if !defined(IGNORE_MASTER_SITE_SOURCEWARE)
1161 MASTER_SITE_SOURCEWARE+= \
1162         http://mirrors.kernel.org/sources.redhat.com/%SUBDIR%/ \
1163         http://gd.tuwien.ac.at/gnu/sourceware/%SUBDIR%/ \
1164         http://ftp.cs.pu.edu.tw/Linux/sourceware/%SUBDIR%/ \
1165         ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/%SUBDIR%/
1166 .endif
1167
1168 .if !defined(IGNORE_MASTER_SITE_SUDO)
1169 MASTER_SITE_SUDO+= \
1170         http://www.sudo.ws/sudo/dist/ \
1171         http://ftp.arcane-networks.fr/pub/mirrors/sudo/ \
1172         http://sudo.p8ra.de/sudo/dist/ \
1173         http://sudo.cybermirror.org/ \
1174         http://sudo-ftp.basemirror.de/ \
1175         http://core.ring.gr.jp/archives/misc/sudo/ \
1176         http://www.ring.gr.jp/archives/misc/sudo/ \
1177         http://ftp.twaren.net/Unix/Security/Sudo/ \
1178         ftp://ftp.sudo.ws/pub/sudo/ \
1179         ftp://plier.ucar.edu/pub/sudo/ \
1180         ftp://obsd.isc.org/pub/sudo/ \
1181         ftp://ftp.uwsg.indiana.edu/pub/security/sudo/ \
1182         ftp://ftp.tuwien.ac.at/utils/admin-tools/sudo/ \
1183         ftp://sunsite.ualberta.ca/pub/Mirror/sudo/ \
1184         ftp://zoot.tele.dk/pub/sudo/ \
1185         ftp://ftp.in2p3.fr/pub/sudo/ \
1186         ftp://ftp.arcane-networks.fr/pub/mirrors/sudo/ \
1187         ftp://ftp.usbm.de/pub/sudo/ \
1188         ftp://ftp.cs.tu-berlin.de/pub/misc/sudo/ \
1189         ftp://ftp.informatik.uni-hamburg.de/pub/os/unix/utils/sudo/ \
1190         ftp://ftp.st.ryukoku.ac.jp/pub/security/tool/sudo/ \
1191         ftp://ftp.cin.nihon-u.ac.jp/pub/misc/sudo/ \
1192         ftp://core.ring.gr.jp/pub/misc/sudo/ \
1193         ftp://ftp.ring.gr.jp/pub/misc/sudo/ \
1194         ftp://sunsite.icm.edu.pl/packages/sudo/ \
1195         ftp://mirror.cdmon.com/pub/sudo/ \
1196         ftp://ftp.twaren.net/Unix/Security/Sudo/
1197 .endif
1198
1199 .if !defined(IGNORE_MASTER_SITE_SUNSITE)
1200 MASTER_SITE_SUNSITE+= \
1201         http://www.ibiblio.org/pub/Linux/%SUBDIR%/ \
1202         http://www.gtlib.gatech.edu/pub/Linux/%SUBDIR%/ \
1203         ftp://ftp.cs.tu-berlin.de/pub/linux/Mirrors/sunsite.unc.edu/%SUBDIR%/ \
1204         ftp://ftp.etsimo.uniovi.es/pub/linux/%SUBDIR%/ \
1205         ftp://ftp.lip6.fr/pub/linux/sunsite/%SUBDIR%/ \
1206         ftp://ftp.nluug.nl/pub/metalab/%SUBDIR%/ \
1207         ftp://ftp.nvg.ntnu.no/pub/mirrors/metalab.unc.edu/%SUBDIR%/ \
1208         ftp://ftp.icm.edu.pl/pub/Linux/sunsite/%SUBDIR%/ \
1209         ftp://ftp.cse.cuhk.edu.hk/pub4/Linux/%SUBDIR%/ \
1210         ftp://ftp.kddlabs.co.jp/Linux/metalab.unc.edu/%SUBDIR%/ \
1211         ftp://ftp.chg.ru/pub/Linux/sunsite/%SUBDIR%/ \
1212         ftp://ftp.sun.ac.za/pub/mirrors/sunsite.unc.edu/pub/Linux/%SUBDIR%/
1213 .endif
1214
1215 .if !defined(IGNORE_MASTER_SITE_SUSE)
1216 MASTER_SITE_SUSE+=      \
1217         http://mirrors.usc.edu/pub/linux/distributions/suse/%SUBDIR%/ \
1218         http://mirror.usu.edu/mirrors/suse/%SUBDIR%/ \
1219         ftp://mirror.mcs.anl.gov/pub/suse/%SUBDIR%/ \
1220         ftp://chuck.ucs.indiana.edu/linux/suse/suse/%SUBDIR%/ \
1221         ftp://ftp.oregonstate.edu/pub/suse/suse/%SUBDIR%/ \
1222         ftp://ftp.sunsite.utk.edu/pub/linux/suse/suse/%SUBDIR%/ \
1223         http://sunsite.utk.edu/ftp/pub/linux/suse/suse/%SUBDIR%/ \
1224         http://mirror.tamu.edu/suse/%SUBDIR%/ \
1225         ftp://ftp.empiricalnetworks.com/pub/suse/%SUBDIR%/ \
1226         http://suse.cs.utah.edu/suse/%SUBDIR%/ \
1227         ftp://ftp.belnet.be/linux/suse/suse/%SUBDIR%/ \
1228         http://ftp.unicamp.br/pub/suse/%SUBDIR%/ \
1229         ftp://mirrors.netbg.com/suse/%SUBDIR%/ \
1230         http://ftp.sh.cvut.cz/MIRRORS/SuSE/pub/%SUBDIR%/ \
1231         ftp://ftp.linux.ee/pub/suse/suse/%SUBDIR%/ \
1232         ftp://garbo.uwasa.fi/pub/mirrors/suse/%SUBDIR%/ \
1233         http://fr2.rpmfind.net/linux/SuSE-Linux/%SUBDIR%/ \
1234         http://ftp.iut-bm.univ-fcomte.fr/Suse/suse/%SUBDIR%/ \
1235         ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/%SUBDIR%/ \
1236         ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/suse/%SUBDIR%/ \
1237         ftp://ftp.rz.hu-berlin.de/pub/mirrors/ftp.suse.com/pub/suse/%SUBDIR%/ \
1238         ftp://ftp.tu-chemnitz.de/pub/linux/suse/ftp.suse.com/suse/%SUBDIR%/ \
1239         ftp://ftp.tu-cottbus.de/pub/unix/linux/suse.com/suse/%SUBDIR%/ \
1240         http://ftp.uni-erlangen.de/pub/Linux/MIRROR.suse/pub/suse/%SUBDIR%/ \
1241         http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.suse.com/pub/suse/%SUBDIR%/ \
1242         ftp://ftp.hs.uni-hamburg.de/pub/unix/linux/suse/%SUBDIR%/ \
1243         ftp://ftp.rrzn.uni-hannover.de/pub/mirror/linux/suse/%SUBDIR%/ \
1244         http://ftp.tu-ilmenau.de/Mirrors/ftp.suse.com/%SUBDIR%/ \
1245         ftp://ftp.uni-kassel.de/pub/linux/suse/%SUBDIR%/ \
1246         ftp://ftp.uni-rostock.de/pub/systems/unix/linux/suse/%SUBDIR%/ \
1247         ftp://ftp.mpi-sb.mpg.de/pub/linux/mirror/ftp.suse.com/suse/%SUBDIR%/ \
1248         ftp://ftp.uni-kl.de/pub/linux/suse/%SUBDIR%/ \
1249         ftp://ftp.uni-siegen.de/pub/suse/%SUBDIR%/ \
1250         ftp://ftp.uni-mainz.de/pub/software/Linux/suse/%SUBDIR%/ \
1251         ftp://ftp.uni-heidelberg.de/pub/linux/suse/%SUBDIR%/ \
1252         ftp://ftp.rz.uni-ulm.de/pub/mirrors/suse/%SUBDIR%/ \
1253         ftp://ftp.rz.uni-wuerzburg.de/pub/linux/MIRROR.suse/%SUBDIR%/ \
1254         ftp://ftp.freenet.de/pub/.disk1/ftp.suse.com/pub/suse/%SUBDIR%/ \
1255         ftp://ftp.hu-berlin.de/pub/mirrors/ftp.suse.com/pub/suse/%SUBDIR%/ \
1256         ftp://ftp.rz.uni-kiel.de/pub2/linux/suse/%SUBDIR%/ \
1257         http://mirrors.sth.sze.hu/linux/suse/%SUBDIR%/ \
1258         ftp://ftp.heanet.ie/mirrors/ftp.suse.com/pub/suse/ftp.suse.com/suse/%SUBDIR%/ \
1259         ftp://ftp.unina.it/pub/linux/distributions/SuSE/ftp.suse.com/suse/%SUBDIR%/ \
1260         ftp://ftp.uniroma2.it/Linux/suse/pub/suse/%SUBDIR%/ \
1261         ftp://ftp.riken.jp/Linux/suse/suse/%SUBDIR%/ \
1262         ftp://ftp.kddilabs.jp/Linux/packages/SuSE/suse/%SUBDIR%/ \
1263         ftp://ftp.novell.co.jp/pub/suse/suse/%SUBDIR%/ \
1264         ftp://ftp.kreonet.re.kr/pub/Linux/suse/%SUBDIR%/ \
1265         http://ftp.tpnet.pl/vol/d7/ftp.suse.com/%SUBDIR%/ \
1266         ftp://ftp.icm.edu.pl/packages/linux-suse/%SUBDIR%/ \
1267         http://ftp.idilis.ro/mirrors/ftp.suse.com/pub/suse/%SUBDIR%/ \
1268         ftp://ftp.sunet.se/pub/Linux/distributions/suse/suse/%SUBDIR%/ \
1269         ftp://ftp.solnet.ch/mirror/SuSE/%SUBDIR%/ \
1270         ftp://sunsite.cnlab-switch.ch/mirror/SuSE/suse/%SUBDIR%/ \
1271         http://ftp.isu.edu.tw/pub/Linux/SuSE/%SUBDIR%/ \
1272         ftp://ftp.kde.org/pub/suse/ftp.suse.com/suse/%SUBDIR%/ \
1273         ftp://ftp.suse.com/pub/suse/%SUBDIR%/ \
1274         ftp://ftp.softnet.tuc.gr/pub/linux/suse/suse/%SUBDIR%/ \
1275         http://ftp.softnet.tuc.gr/pub/linux/suse/suse/%SUBDIR%/ \
1276         ftp://ftp.is.co.za/linux/distributions/suse/%SUBDIR%/ \
1277         http://ftp.sun.ac.za/ftp/mirrorsites/suse/%SUBDIR%/ \
1278         ftp://ftp.rediris.es/pub/linux/distributions/suse/pub/suse/%SUBDIR%/ \
1279         ftp://ftp.cb.spb.ru/.1/Linux-Distrib/Suse/%SUBDIR%/ \
1280         ftp://ftp.neva.ru/.1/Linux-Distrib/Suse/%SUBDIR%/ \
1281         ftp://ftp.chg.ru/pub/Linux/SuSE/suse/%SUBDIR%/ \
1282         http://mirror.pacific.net.au/linux/suse/%SUBDIR%/ \
1283         ftp://mirror.aarnet.edu.au/pub/suse/%SUBDIR%/
1284 .endif
1285
1286 .if !defined(IGNORE_MASTER_SITE_TCLTK)
1287 MASTER_SITE_TCLTK+= \
1288         ftp://ftp.tcl.tk/pub/tcl/%SUBDIR%/ \
1289         ftp://sunsite.utk.edu/pub/tcl/%SUBDIR%/ \
1290         ftp://ftp.kddlabs.co.jp/lang/tcl/ftp.scriptics.com/%SUBDIR%/ \
1291         ftp://ftp.mirrorservice.org/sites/ftp.tcl.tk/pub/tcl/%SUBDIR%/ \
1292         ftp://ftp.funet.fi/pub/languages/tcl/tcl/%SUBDIR%/
1293 .endif
1294
1295 .if !defined(IGNORE_MASTER_SITE_TEX_CTAN)
1296 MASTER_SITE_TEX_CTAN+= \
1297         ftp://ctan.unsw.edu.au/tex-archive/%SUBDIR%/ \
1298         ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/ \
1299         ftp://ftp.kddlabs.co.jp/CTAN/%SUBDIR%/ \
1300         ftp://ctan.tug.org/tex-archive/%SUBDIR%/ \
1301         ftp://ftp.dante.de/tex-archive/%SUBDIR%/ \
1302         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,text/CTAN/&,} \
1303         ftp://ftp.chg.ru/pub/TeX/CTAN/%SUBDIR%/ \
1304         ftp://mirror.macomnet.net/pub/CTAN/%SUBDIR%/ \
1305         ftp://ftp.funet.fi/pub/TeX/CTAN/%SUBDIR%/
1306 .endif
1307
1308 .if !defined(IGNORE_MASTER_SITE_THEMES)
1309 MASTER_SITE_THEMES+= \
1310         http://download.freshmeat.net/themes/%SUBDIR%/ \
1311         ftp://gd.tuwien.ac.at/opsys/linux/freshmeat/themes/%SUBDIR%/
1312 .endif
1313
1314 .if !defined(IGNORE_MASTER_SITE_TUCOWS)
1315 .for mirror in ankara blueyonder casemanl chariot clix dataphone dialog epix \
1316         fastweb genotec hellasonline iinets inspirenet latvia mclink netvisao \
1317         ns-linux nyi otenet personainternet pl-task ukms
1318 MASTER_SITE_TUCOWS+= \
1319         http://${mirror}.linux.tucows.com/files/%SUBDIR%/
1320 .endfor
1321 MASTER_SITE_TUCOWS+= \
1322         http://www12.tucows.com/linux/files/%SUBDIR%/ \
1323         http://linux.tucows.gunadarma.ac.id/files/%SUBDIR%/
1324 .endif
1325
1326 # List:         http://www.vim.org/mirrors.php
1327 # Updated:      2013-08-19
1328 .if !defined(IGNORE_MASTER_SITE_VIM)
1329 MASTER_SITE_VIM+= \
1330         http://ftp.vim.org/pub/vim/unix/ \
1331         http://artfiles.org/vim.org/unix/ \
1332         http://ftp.gr.vim.org/pub/vim/unix/ \
1333         http://ftp.stut.edu.tw/vim/unix/ \
1334         http://ftp.tw.vim.org/pub/vim/unix/ \
1335         http://ftp.vim.ossmirror.de/pub/vim/unix/ \
1336         http://ftp2.jp.vim.org/pub/vim/unix/ \
1337         http://ftp2.kr.vim.org/pub/vim/unix/ \
1338         http://ftp2.tw.vim.org/pub/vim/unix/ \
1339         http://ftp2.uk.vim.org/pub/vim/unix/ \
1340         http://servingzone.com/mirrors/vim/unix/ \
1341         http://tweedo.com/mirror/ftp.vim.org/unix/ \
1342         http://vim.cybermirror.org/unix/ \
1343         http://vim.mirror.fr/unix/ \
1344         ftp://ftp.home.vim.org/pub/vim/unix/ \
1345         ftp://artfiles.org/vim.org/unix/ \
1346         ftp://ftp.ar.vim.org/pub/vim/unix/ \
1347         ftp://ftp.ca.vim.org/pub/vim/unix/ \
1348         ftp://ftp.de.vim.org/unix/ \
1349         ftp://ftp.gr.vim.org/pub/vim/unix/ \
1350         ftp://ftp.is.vim.org/pub/vim/unix/ \
1351         ftp://ftp.jp.vim.org/pub/vim/unix/ \
1352         ftp://ftp.pl.vim.org/pub/vim/unix/ \
1353         ftp://ftp.stut.edu.tw/pub/vim/unix/ \
1354         ftp://ftp.uk.vim.org/pub/vim/unix/ \
1355         ftp://ftp.za.vim.org/mirrors/ftp.vim.org/unix/ \
1356         ftp://ftp2.kr.vim.org/pub/vim/unix/ \
1357         ftp://ftp2.tw.vim.org/pub/vim/unix/ \
1358         ftp://ftp2.uk.vim.org/pub/vim/unix/ \
1359         ftp://ftp3.de.vim.org/pub/vim/unix/ \
1360         ftp://vim.tsu.ru/pub/vim/unix/
1361 .endif
1362
1363 .if !defined(IGNORE_MASTER_SITE_WINDOWMAKER)
1364 MASTER_SITE_WINDOWMAKER+= \
1365         ftp://ftp.windowmaker.info/pub/%SUBDIR%/ \
1366         ftp://ftp.uvsq.fr/pub/X11/window-managers/windowmaker/%SUBDIR%/ \
1367         ftp://ftp.dti.ad.jp/pub/X/WindowMaker/%SUBDIR%/
1368 .endif
1369
1370 .if !defined(IGNORE_MASTER_SITE_XCONTRIB)
1371 MASTER_SITE_XCONTRIB+= \
1372         ftp://ftp.gwdg.de/pub/x11/x.org/contrib/%SUBDIR%/ \
1373         ftp://ftp.x.org/contrib/%SUBDIR%/ \
1374         ftp://ftp.sunet.se/pub/X11/ftp.x.org/contrib/%SUBDIR%/ \
1375         ftp://ftp.dti.ad.jp/pub/X/XFree86/mirror/X.Org/contrib/%SUBDIR%/ \
1376         ftp://ftp.kddlabs.co.jp/X11/ftp.x.org/contrib/%SUBDIR%/ \
1377         ftp://ftp2.x.org/contrib/%SUBDIR%/ \
1378         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,X/opengroup/contrib/&,}
1379 .endif
1380
1381 .if !defined(IGNORE_MASTER_SITE_XEMACS)
1382 MASTER_SITE_XEMACS+= \
1383         http://ftp.it.xemacs.org/%SUBDIR%/ \
1384         http://ftp.pt.xemacs.org/%SUBDIR%/ \
1385         http://xemacsftp.hkmirror.org/%SUBDIR%/ \
1386         http://ftp.dti.ad.jp/pub/unix/editor/xemacs/%SUBDIR%/ \
1387         http://ftp.xemacs.org/pub/xemacs/%SUBDIR%/ \
1388         ftp://ftp.be.xemacs.org/xemacs/%SUBDIR%/ \
1389         ftp://ftp.ch.xemacs.org/mirror/xemacs/%SUBDIR%/ \
1390         ftp://ftp.de.xemacs.org/pub/ftp.xemacs.org/tux/xemacs/%SUBDIR%/ \
1391         ftp://ftp.fi.xemacs.org/pub/mirrors/ftp.xemacs.org/pub/tux/xemacs/%SUBDIR%/ \
1392         ftp://ftp.fr.xemacs.org/pub/xemacs/%SUBDIR%/ \
1393         ftp://ftp.gr.xemacs.org/mirrors/XEmacs/ftp/%SUBDIR%/ \
1394         ftp://ftp.heanet.ie/mirrors/ftp.xemacs.org/%SUBDIR%/ \
1395         ftp://ftp.ie.xemacs.org/mirrors/ftp.xemacs.org/pub/xemacs/%SUBDIR%/ \
1396         ftp://ftp.no.xemacs.org/pub/xemacs/%SUBDIR%/ \
1397         ftp://ftp.pasteur.fr/pub/computing/xemacs/%SUBDIR%/ \
1398         ftp://ftp.sa.xemacs.org/pub/xemacs.org/%SUBDIR%/ \
1399         ftp://ftp.se.xemacs.org/pub/gnu/xemacs/%SUBDIR%/ \
1400         ftp://ftp.tw.xemacs.org/Unix/Editors/XEmacs/%SUBDIR%/ \
1401         ftp://ftp.uk.xemacs.org/sites/ftp.xemacs.org/pub/xemacs/%SUBDIR%/ \
1402         ftp://ftp.yz.yamagata-u.ac.jp/pub/misc/xemacs/%SUBDIR%/ \
1403         ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,text/xemacs/&,}
1404 .endif
1405
1406 .if !defined(IGNORE_MASTER_SITE_XFCE)
1407 MASTER_SITE_XFCE+= \
1408         http://mirror.perldude.de/archive.xfce.org/%SUBDIR%/ \
1409         http://mirror.netcologne.de/xfce/%SUBDIR%/ \
1410         http://ftp.udc.es/xfce/%SUBDIR%/ \
1411         http://xfce.mirror.uber.com.au/%SUBDIR%/ \
1412         http://archive.be.xfce.org/%SUBDIR%/ \
1413         http://archive.be2.xfce.org/%SUBDIR%/ \
1414         http://archive.se.xfce.org/%SUBDIR%/ \
1415         http://archive.al-us.xfce.org/%SUBDIR%/ \
1416         http://mirrors.tummy.com/pub/archive.xfce.org/%SUBDIR%/ \
1417         http://mirror.yongbok.net/X11/xfce-mirror/%SUBDIR%/ \
1418         http://xfce.ognisco.com/%SUBDIR%/ \
1419         http://mirror.sinn3r.org/xfce/%SUBDIR%/
1420 .endif
1421
1422 .if !defined(IGNORE_MASTER_SITE_XORG)
1423 MASTER_SITE_XORG+= \
1424         http://xorg.freedesktop.org/releases/%SUBDIR%/ \
1425         http://xorg.mirrors.pair.com/%SUBDIR%/ \
1426         http://mirror.us.leaseweb.net/xorg/%SUBDIR%/ \
1427         http://mirror.csclub.uwaterloo.ca/x.org/%SUBDIR%/ \
1428         http://artfiles.org/x.org/pub/%SUBDIR%/ \
1429         http://ftp.gwdg.de/pub/x11/x.org/pub/%SUBDIR%/ \
1430         http://gd.tuwien.ac.at/X11/%SUBDIR%/ \
1431         http://mi.mirror.garr.it/mirrors/x.org/%SUBDIR%/ \
1432         http://mirror.switch.ch/ftp/mirror/X11/pub/%SUBDIR%/ \
1433         http://mirrors.ircam.fr/pub/x.org/%SUBDIR%/ \
1434         http://www.mirrorservice.org/sites/ftp.x.org/pub/%SUBDIR%/ \
1435         http://www.portal-to-web.de/pub/mirrors/x.org/%SUBDIR%/ \
1436         http://x.cybermirror.org/%SUBDIR%/ \
1437         http://x.europnews.de/pub/%SUBDIR%/ \
1438         http://xorg.mirror.solnet.ch/pub/%SUBDIR%/ \
1439         http://mirror.nl.leaseweb.net/xorg/%SUBDIR%/ \
1440         http://mirror.de.leaseweb.net/xorg/%SUBDIR%/ \
1441         http://mirrors.go-part.com/xorg/%SUBDIR%/ \
1442         http://ftp.yz.yamagata-u.ac.jp/pub/X11/x.org/%SUBDIR%/ \
1443         http://ftp.kaist.ac.kr/x.org/%SUBDIR%/ \
1444         http://x.cs.pu.edu.tw/%SUBDIR%/
1445 .endif
1446
1447 .if !defined(IGNORE_MASTER_SITE_KERNEL_ORG)
1448 MASTER_SITE_KERNEL_ORG+= \
1449         https://www.kernel.org/pub/%SUBDIR%/ \
1450         ftp://ftp.ntu.edu.tw/%SUBDIR%/ \
1451         http://ftp.sunet.se/pub/Linux/kernel.org/%SUBDIR%/ \
1452         http://ftp.yandex.ru/pub/%SUBDIR%/ \
1453         http://ftp.heanet.ie/pub/%SUBDIR%/ \
1454         http://slackware.cs.utah.edu/pub/kernel.org/pub/%SUBDIR%/
1455 .endif
1456
1457 # Macro magic
1458
1459 MASTER_SITES_ABBREVS=   CPAN:PERL_CPAN \
1460                         GH:GITHUB \
1461                         GHC:GITHUB_CLOUD \
1462                         NL:NETLIB \
1463                         SF:SOURCEFORGE \
1464                         SFJP:SOURCEFORGE_JP \
1465                         RG:RUBYGEMS \
1466                         RF:RUBYFORGE
1467 MASTER_SITES_SUBDIRS=   \
1468                         APACHE_JAKARTA:${PORTNAME:S,-,/,}/source \
1469                         BERLIOS:${PORTNAME:tl} \
1470                         CENKES:myports \
1471                         CHEESESHOP:source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:C/(.*)-[0-9].*/\1/} \
1472                         CSME:myports \
1473                         DEBIAN:pool/main/${PORTNAME:C/^((lib)?.).*$/\1/}/${PORTNAME} \
1474                         GCC:releases/${DISTNAME} \
1475                         GITHUB:${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/ \
1476                         GITHUB_CLOUD:${GH_ACCOUNT}/${GH_PROJECT}/ \
1477                         GNOME:sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
1478                         GNU:${PORTNAME} \
1479                         HORDE:${PORTNAME} \
1480                         LOGILAB:${PORTNAME} \
1481                         MATE:${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
1482                         MOZDEV:${PORTNAME:tl} \
1483                         NETLIB:${PORTNAME} \
1484                         PERL_CPAN:${PORTNAME:C/-.*//} \
1485                         PNET:${PNET_MASTER_SITE_SUBDIR} \
1486                         PYTHON:${PYTHON_MASTER_SITE_SUBDIR} \
1487                         RUBY_DBI:${RUBY_DBI_MASTER_SITE_SUBDIR} \
1488                         RUBY_GNOME:${RUBY_GNOME_MASTER_SITE_SUBDIR} \
1489                         SAVANNAH:${PORTNAME:tl} \
1490                         SOURCEFORGE:${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION} \
1491                         RUBYFORGE:${PORTNAME:tl}
1492
1493 .if defined(MASTER_SITES) && ${MASTER_SITES:N*\:/*}
1494
1495 .for _site__ in ${MASTER_SITES}
1496 _site_=${_site__}
1497 .       if ${_site_:M*\:/*}
1498 MASTER_SITES_EXP+=      ${_site_}
1499 MASTER_SITES_EXP:=      ${MASTER_SITES_EXP}
1500 .       else
1501 _site_urlpath_= ${_site_:C@^(.*):[^/:]+$@\1@}
1502 .               if ${_site_urlpath_:M*/*}
1503 _site_url_=             ${_site_urlpath_:C@^([^/]+)/.*$@\1@}
1504 _site_subdir_=  ${_site_urlpath_:S/^${_site_urlpath_:C@^([^/]+)/.*$@\1@}//:S!^/!!:S!/$!!}
1505 .               else
1506 _site_url_=             ${_site_urlpath_}
1507 .undef _site_subdir_
1508 .               endif
1509 _site_group_=   ${_site_:S/^${_site_:C@^(.*):[^/:]+$@\1@}//:S/^://}
1510 .               for _abbrev_ in ${MASTER_SITES_ABBREVS}
1511 .                       if ${_site_url_} == ${_abbrev_:C/:.*//}
1512 _site_url_=     ${_abbrev_:C/.*://}
1513 .                       endif
1514 .               endfor
1515 .               for _subdir_ in ${MASTER_SITES_SUBDIRS}
1516 .                       if ${_site_url_} == ${_subdir_:C/:.*//} && !defined(MASTER_SITE_SUBDIR)
1517 _site_subdir_?= ${_subdir_:C/.*://}
1518 .                       endif
1519 .               endfor
1520 .               ifdef MASTER_SITE_${_site_url_}
1521 .                       ifdef _site_subdir_
1522 MASTER_SITES_EXP+=      ${MASTER_SITE_${_site_url_}:S^%SUBDIR%^${_site_subdir_}^:S/$/:${_site_group_}/:S/:$//}
1523 .                       else
1524 MASTER_SITES_EXP+=      ${MASTER_SITE_${_site_url_}:S/$/:${_site_group_}/:S/:$//}
1525 .                       endif
1526 MASTER_SITES_EXP:=      ${MASTER_SITES_EXP}
1527 .               endif
1528 .       endif
1529 .endfor
1530 MASTER_SITES=   ${MASTER_SITES_EXP}
1531
1532 .endif