Bump version to 0.36.9
[cygport.git] / data / mirrors
blobf2c48bb6ec1bc269a2a6898ca6d932921959d280
1 ################################################################################
3 # mirrors - default list for mirror:// URI resolution
5 # Part of cygport - Cygwin packaging application
6 # Copyright (C) 2006-2020 Cygport authors
7 # Provided by the Cygwin project <https://cygwin.com/>
9 # cygport is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation, either version 3 of the License, or
12 # (at your option) any later version.
14 # cygport is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with cygport.  If not, see <https://www.gnu.org/licenses/>.
22 ################################################################################
24 #****** Downloading/Mirrors
25 #  INTRODUCTION
26 #  Many large software projects and hosting sites provide multiple download
27 #  mirrors for their projects, allowing users to choose a site closer to them
28 #  and to help distribute the bandwidth demands around the world.
30 #  Within cygport, the mirror:// notation can be used in SRC_URI and PATCH_URI
31 #  to allow package maintainers both the ability to choose their favourite
32 #  mirrors and use an abbreviated URI for common sites.
34 #  The default mirrors are usually the central download site or a redirector.
35 #  Users can select their favourite mirrors by redefining the mirror_*
36 #  variables listed below (as a string containing one or more mirror sites)
37 #  in their cygport.conf.
38 #  HINT
39 #  Custom per-package "mirrors" can also be defined in a .cygport file.  This
40 #  can be useful if SRC_URI or PATCH_URI contain a large number of long URIs.
41 #  NOTE
42 #  Mirror providers change frequently.  If you define your own default mirror,
43 #  you may experience errors or delays downloading if your mirror goes offline.
44 #****
46 #****d* Mirrors/mirror_apache
47 #  DESCRIPTION
48 #  Apache Software Foundation project hosting
49 #  SYNOPSIS
50 #  SRC_URI="mirror://apache/projectname/${P}.tar.bz2"
51 #  DEFAULT MIRROR
52 #  https://downloads.apache.org
53 #  MIRROR LIST
54 #  https://www.apache.org/mirrors/index.html
55 #****
56 # grep -h '^  <TD ALIGN="RIGHT"><A HREF=' index.html \
57 # | sed -e 's#<TD ALIGN="RIGHT"><A HREF="\(.*\)/">.*#\1#g' \
58 # | cut -d '"' -f 1 | sed -e 's#^  #\t#g' -e 's#/$##g'
59 mirror_apache+=" https://downloads.apache.org"
62 #****d* Mirrors/mirror_cpan
63 #  DESCRIPTION
64 #  Comprehensive Perl Archive Network
65 #  SYNOPSIS
66 #  SRC_URI="mirror://cpan/authors/id/A/AU/AUTHOR/${ORIG_PN}-${PV}.tar.gz"
67 #  DEFAULT MIRROR
68 #  https://cpan.metacpan.org
69 #  MIRROR LIST
70 #  https://www.cpan.org/SITES.html
71 #  SEE ALSO
72 #  perl.cygclass
73 #****
74 # cat SITES.html | grep -E '^ *<A HREF=.*(CPAN|cpan).*(ht|f)tp:' | \
75 #   sed -e 's! *<A HREF="!\t!g' -e 's!">.*!!g' -e 's!/$!!g'
76 mirror_cpan+=" https://cpan.metacpan.org"
79 #****d* Mirrors/mirror_cran
80 #  DESCRIPTION
81 #  Comprehensive R Archive Network
82 #  SYNOPSIS
83 #  SRC_URI="mirror://cran/src/contrib/${ORIG_PN}_${PV/_/-}.tar.gz"
84 #  DEFAULT MIRROR
85 #  https://cran.r-project.org/
86 #  MIRROR LIST
87 #  https://cran.r-project.org/mirrors.html
88 #  SEE ALSO
89 #  R.cygclass
90 #****
91 # grep -P '^http.*\n</a>' mirrors.html \
92 #   | sed -e '/<\/a>/d' -e 's#^#\t#g' -e 's#/$##g'
93 mirror_cran+=" https://cran.r-project.org"
96 #****d* Mirrors/mirror_ctan
97 #  DESCRIPTION
98 #  Comprehensive TeX Archive Network
99 #  SYNOPSIS
100 #  SRC_URI="mirror://ctan/macros/latex/contrib/${ORIG_PN}.zip"
101 #  DEFAULT MIRROR
102 #  http://mirror.ctan.org/
103 #  MIRROR LIST
104 #  http://mirror.ctan.org/tex-archive/CTAN.sites
105 #  SEE ALSO
106 #  texlive.cygclass
107 #****
108 # grep -E 'URL: (f|ht)tp:' CTAN.sites | sed -e 's| *URL: |\t|g' -e 's|/$||g'
109 mirror_ctan+=" http://mirror.ctan.org/"
112 #****d* Mirrors/mirror_debian
113 #  DESCRIPTION
114 #  Debian package pool
115 #  SYNOPSIS
116 #  SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.orig.tar.gz"
117 #  DEFAULT MIRROR
118 #  https://deb.debian.org/debian
119 #  MIRROR LIST
120 #  https://www.debian.org/mirror/list
121 #****
122 # grep '^  <td><a href' list  | sed -e 's#.*"\(.*\)/".*#\t\1#g'
123 mirror_debian+=" http://deb.debian.org/debian"
126 #****d* Mirrors/mirror_gcc
127 #  DESCRIPTION
128 #  GCC releases and snapshots
129 #  SYNOPSIS
130 #  SRC_URI="mirror://gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2"
131 #  DEFAULT MIRROR
132 #  https://gcc.gnu.org/pub/gcc/
133 #  MIRROR LIST
134 #  https://gcc.gnu.org/mirrors.html
135 #  SEE ALSO
136 #  mirror_gnu
137 #****
138 # grep '^<li>' mirrors.html | sed -e 's|.*<a href="\([^"]*\).*|\1|g' -e 's|/$||g'
139 mirror_gcc+="
140         https://gcc.gnu.org/pub/gcc
141         ftp://gcc.gnu.org/pub/gcc
142         "
145 #****d* Mirrors/mirror_gentoo
146 #  DESCRIPTION
147 #  Gentoo Linux distfiles
148 #  SYNOPSIS
149 #  SRC_URI="mirror://gentoo/${P}.tar.bz2"
150 #  DEFAULT MIRROR
151 #  https://gentoo.osuosl.org/distfiles
152 #  MIRROR LIST
153 #  https://www.gentoo.org/downloads/mirrors/
154 #  SEE ALSO
155 #  mirror_portage
156 #****
157 # grep -E '^<a href="(ht|f)tp:.*</a><br>$' mirrors.xml | \
158 #       sed -e 's#<a href="\(.*\)".*</a>.*#\t\1#' -e 's#/$##' -e 's#$#/distfiles#'
159 mirror_gentoo+=" https://gentoo.osuosl.org/distfiles"
162 #****d* Mirrors/mirror_gnome
163 #  DESCRIPTION
164 #  GNOME FTP
165 #  SYNOPSIS
166 #  SRC_URI="mirror://gnome/sources/${PN}/${PV}/${P}.tar.bz2"
167 #  DEFAULT MIRROR
168 #  https://download.gnome.org/
169 #  MIRROR LIST
170 #  http://ftp.gnome.org/pub/GNOME/MIRRORS
171 #  SEE ALSO
172 #  gnome.org.cygclass
173 #****
174 # cat MIRRORS | grep 'tp:' | sed -e 's!/$!!g'
175 mirror_gnome+="
176         https://download.gnome.org
177 "   # mirror_gnome
180 #****d* Mirrors/mirror_gnu
181 #  DESCRIPTION
182 #  GNU projects FTP hosting
183 #  SYNOPSIS
184 #  SRC_URI="mirror://gnu/projectname/${P}.tar.gz"
185 #  DEFAULT MIRROR
186 #  https://ftpmirror.gnu.org/
187 #  MIRROR LIST
188 #  https://www.gnu.org/prep/ftp.html
189 #****
190 # cat ftp.html | grep '<li><a' | \
191 #   sed -e 's!.*<li><a href="!\t!g' -e 's!">.*!!g' -e 's!/$!!g'
192 mirror_gnu+="
193         https://ftpmirror.gnu.org
194         https://ftp.gnu.org/gnu
195 "   # mirror_gnu
198 #****id* Mirrors/mirror_gnustep
199 #  DESCRIPTION
200 #  GNUstep packages
201 #  SYNOPSIS
202 #  SRC_URI="mirror://gnustep/usr-apps/${ORIG_PN}-${PV}.tar.gz"
203 #  DEFAULT MIRROR
204 #  http://ftp.gnustep.org/pub/gnustep
205 #  MIRROR LIST
206 #  http://www.gnustep.org/resources/sources.html
207 #****
208 mirror_gnustep+="
209         http://ftp.gnustep.org/pub/gnustep
210         ftp://ftp.gnustep.org/pub/gnustep
211 "       # mirror_gnustep
214 #****d* Mirrors/mirror_kde
215 #  DESCRIPTION
216 #  KDE FTP
217 #  SYNOPSIS
218 #  SRC_URI="mirror://kde/stable/${PV}/src/${P}.tar.bz2"
219 #  DEFAULT MIRROR
220 #  https://download.kde.org/
221 #  MIRROR LIST
222 #  https://download.kde.org/?mirrorstats
223 #  SEE ALSO
224 #  kde.org.cygclass
225 #****
226 # cat mirrors | grep '<td><a' | \
227 #   sed -e 's!.*<td><a href="!\t!g' -e 's!">.*!!g' -e 's!/$!!g'
228 mirror_kde+=" https://download.kde.org"
231 #****d* Mirrors/mirror_mplayer
232 #  DESCRIPTION
233 #  MPlayer releases and skins
234 #  SYNOPSIS
235 #  SRC_URI="mirror://mplayer/releases/${P}.tar.bz2"
236 #  DEFAULT MIRROR
237 #  https://www1.mplayerhq.hu/MPlayer
238 #  MIRROR LIST
239 #  http://www.mplayerhq.hu/dload.html
240 #  NOTE
241 #  MPlayer releases are often outdated; using a SVN checkout is recommended.
242 #****
243 mirror_mplayer+=" http://www1.mplayerhq.hu/MPlayer"
246 #****d* Mirrors/mirror_mysql
247 #  DESCRIPTION
248 #  MySQL server and connector downloads
249 #  SYNOPSIS
250 #  SRC_URI="mirror://mysql/Downloads/MySQL-5.1/${P}.tar.gz"
251 #  DEFAULT MIRROR
252 #  https://mirrors.dotsrc.org/mysql
253 #  MIRROR LIST
254 #  https://dotsrc.org/mirrors/
255 #****
256 #  grep '^  <td><a' mirrors.html | sed -e 's|.*href="\(.*\)">.*|\t\1|g' -e 's|/$||g'
257 #  List primary mirrors first
258 mirror_mysql+="
259         https://mirrors.dotsrc.org/mysql
260         ftp://mirrors.dotsrc.org/mysql
261         https://ftp.gwdg.de/pub/misc/mysql
262         ftp://ftp.gwdg.de/pub/misc/mysql
263         https://www.mirrorservice.org/sites/ftp.mysql.com
264         ftp://ftp.mirrorservice.org/sites/ftp.mysql.com
265 "       # mirror_mysql
268 #****d* Mirrors/mirror_portage
269 #  DESCRIPTION
270 #  Gentoo Linux Portage tree (via GitWeb)
271 #  SYNOPSIS
272 #  PATCH_URI="mirror://portage/cat-egory/packagename/files/${P}-whatever.patch"
273 #  DEFAULT MIRROR
274 #  https://gitweb.gentoo.org/repo/gentoo.git/plain
275 #  MIRROR LIST
276 #  None
277 #  SEE ALSO
278 #  mirror_gentoo
279 #****
280 mirror_portage+=" https://gitweb.gentoo.org/repo/gentoo.git/plain"
283 #****d* Mirrors/mirror_savannah
284 #  DESCRIPTION
285 #  Savannah GNU project hosting
286 #  SYNOPSIS
287 #  SRC_URI="mirror://savannah/projectname/${P}.tar.gz"
288 #  DEFAULT MIRROR
289 #  https://download.savannah.nongnu.org/releases
290 #  MIRROR LIST
291 #  http://download.savannah.gnu.org/mirmon/savannah/
292 #****
293 #  sed -e 's|.* \(.*\)/|\t\1|g' 00_MIRRORS.txt
294 mirror_savannah+=" https://download.savannah.nongnu.org/releases"
297 #****d* Mirrors/mirror_sourceforge
298 #  DESCRIPTION
299 #  SourceForge project hosting
300 #  SYNOPSIS
301 #  SRC_URI="mirror://sourceforge/projectname/${P}.tar.bz2"
302 #  DEFAULT MIRROR
303 #  http://downloads.sourceforge.net
304 #  MIRROR LIST
305 #  https://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors
306 #****
307 mirror_sourceforge+=" http://downloads.sourceforge.net"
310 #****d* Mirrors/mirror_sourceware
311 #  DESCRIPTION
312 #  Sourceware.org (aka sources.redhat.com) hosting
313 #  SYNOPSIS
314 #  SRC_URI="mirror://sourceware/projectname/${P}.tar.bz2"
315 #  DEFAULT MIRROR
316 #  https://ftp.sourceware.org/pub
317 #  MIRROR LIST
318 #  https://sourceware.org/mirrors.html
319 #****
320 mirror_sourceware+="
321         https://ftp.sourceware.org/pub
322         ftp://ftp.sourceware.org/pub
326 #****d* Mirrors/mirror_qt
327 #  DESCRIPTION
328 #  Qt, QtCreator, and PySide downloads
329 #  SYNOPSIS
330 #  SRC_URI="mirror://qt/offical_releases/qt/${VERSION%.*}/${VERSION}/qt-everywhere-opensource-src-${VERSION}.tar.gz"
331 #  DEFAULT MIRROR
332 #  http://download.qt-project.org/
333 #  MIRROR LIST
334 #  http://download.qt-project.org/static/mirrorlist/
335 #****
336 mirror_qt+=" http://download.qt-project.org"
338 # curl https://tug.org/texlive/mirmon/ \
339 #   | sed -n -e 's|^  <TD ALIGN=RIGHT><A HREF="\([^"]*\)/".*|\1|p'
340 mirror_tlpretest+="
341         http://ftp.math.utah.edu/pub/texlive/tlpretest
342         ftp://ftp.math.utah.edu/pub/texlive/tlpretest
343         http://ftp.cstug.cz/pub/tex/local/tlpretest
344         ftp://ftp.cstug.cz/pub/tex/local/tlpretest
345         http://ctan.ijs.si/mirror/tlpretest
348 #****id* Mirrors/mirror_trolltech
349 #  NOTE
350 #  This mirror is deprecated and remains only for backwards compatibility.
351 #  New code should use mirror_qt.
352 #****
353 mirror_trolltech+=" ${mirror_qt}"
356 #****d* Mirrors/mirror_vim
357 #  DESCRIPTION
358 #  Vim downloads
359 #  SYNOPSIS
360 #  SRC_URI="mirror://vim/unix/${P}.tar.bz2 mirror://vim/extra/${P}-extra.tar.gz"
361 #  DEFAULT MIRROR
362 #  http://ftp.vim.org/pub/vim
363 #  MIRROR LIST
364 #  http://vim.sourceforge.net/mirrors.php
365 #****
366 # cat mirrors.php | grep -E '^  <a href="(ht|f)tp:' | \
367 #       sed -e 's#  <a.*>\(.*\)</a>.*#\t\1#' -e 's#/$##'
368 mirror_vim+=" http://ftp.vim.org/pub/vim"
371 #****d* Mirrors/mirror_xfce
372 #  DESCRIPTION
373 #  Xfce sources
374 #  SYNOPSIS
375 #  SRC_URI="mirror://xfce/src/xfce/${PN}/${PV[1]}.${PV[2]}/${P}.tar.bz2"
376 #  DEFAULT MIRROR
377 #  https://archive.xfce.org
378 #  MIRROR LIST
379 #  https://www.xfce.org/download/
380 #  SEE ALSO
381 #  xfce4.cygclass
382 #****
383 mirror_xfce+=" https://archive.xfce.org"