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