This repository has been archived by the owner on Jun 24, 2022. It is now read-only.
forked from EddyPronk/gub
/
mirrors.py
93 lines (57 loc) · 4.67 KB
/
mirrors.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
gtk = 'ftp://ftp.gtk.org/pub/gtk/v%(gtk_version)s/%(name)s-%(version)s.tar.%(format)s'
gnome_213 ='http://ftp.gnome.org/pub/GNOME/platform/2.13/2.13.90/sources/%(name)s-%(version)s.tar.%(format)s'
gnome_214 ='http://ftp.gnome.org/pub/GNOME/platform/2.14/2.14.3/sources/%(name)s-%(version)s.tar.%(format)s'
gnome_216 ='http://ftp.gnome.org/pub/GNOME/platform/2.16/2.16.2/sources/%(name)s-%(version)s.tar.%(format)s'
gnome_218 ='http://ftp.gnome.org/pub/GNOME/platform/2.18/2.18.1/sources/%(name)s-%(version)s.tar.%(format)s'
gnome_222 ='http://ftp.gnome.org/pub/GNOME/platform/2.22/2.22.0/sources/%(name)s-%(version)s.tar.%(format)s'
gnubase = 'http://ftp.gnu.org/pub/gnu'
# FIXME: find complete GNU mirror
# base = 'ftp://dl.xs4all.nl/pub/mirror/gnu'
# base = 'ftp://sunsite.dk/pub/gnu'
gnu = gnubase + '/%(name)s/%(name)s-%(version)s.tar.%(format)s'
gcc = gnubase + '/%(name)s/%(name)s-%(version)s/%(name)s-%(version)s.tar.%(format)s'
glibc = gnubase + '/glibc/%(name)s-%(version)s.tar.%(format)s'
alphabase = 'ftp://alpha.gnu.org/pub/gnu'
alpha = alphabase + '/%(name)s/%(name)s-%(version)s.tar.%(format)s'
nongnu_savannah = 'http://download.savannah.nongnu.org/releases/%(name)s/%(name)s-%(version)s.tar.%(format)s'
nongnu = 'http://ftp.gnu.org/pub/gnu/non-gnu/%(name)s/%(name)s-%(version)s.tar.%(format)s'
freetype = 'http://download.savannah.gnu.org/releases/freetype/%(name)s-%(version)s.tar.%(format)s'
fontconfig = 'http://www.fontconfig.org/release/%(name)s-%(version)s.tar.%(format)s'
lilypondorg = 'http://lilypond.org/downloads/gub-sources/%(name)s-%(version)s.tar.%(format)s'
lilypondorg_deb = 'http://lilypond.org/downloads/gub-sources/%(name)s_%(version)s_%%(package_arch)s.%(format)s'
jantien = 'http://www.xs4all.nl/~jantien/%(name)s-%(version)s.tar.%(format)s'
opendarwin = 'http://www.opendarwin.org/downloads/%(name)s-%(version)s.tar.%(format)s'
# mesh is broken today
#'http://mesh.dl.sourceforge.net/sourceforge/%(name)s/%(name)s-%(version)s.tar.%(format)s'
sf = 'http://surfnet.dl.sourceforge.net/sourceforge/%(name)s/%(name)s-%(version)s.tar.%(format)s'
libpng = 'http://surfnet.dl.sourceforge.net/sourceforge/%(name)s/%(name)s-%(version)s-config.tar.%(format)s'
mingw = 'http://surfnet.dl.sourceforge.net/sourceforge/mingw/%(name)s-%(version)s.tar.%(format)s'
lp = 'http://lilypond.org/mingw/uploads/%(name)s/%(name)s-%(version)s-src.tar.%(format)s'
zlib = 'http://www.zlib.net/%(name)s-%(version)s.tar.%(format)s'
sourceforge = sf
sourceforge_homepage = 'http://%(name)s.sourceforge.net/%(name)s-%(version)s.tar.%(format)s'
fondu = 'http://%(name)s.sourceforge.net/%(name)s_src-%(version)s.tgz'
python = 'https://www.python.org/ftp/python/%(version)s/Python-%(version)s.tar.%(format)s'
cygwin_bin = 'http://mirrors.kernel.org/sourceware/cygwin/release/%(name)s/%(name)s-%(version)s.tar.%(format)s'
# FIXME: s/nl/%(gps-location)s/
linux_2_4 = 'http://www.nl.kernel.org/pub/linux/kernel/v2.4/linux-%(version)s.tar.%(format)s'
linux_2_5 = 'http://www.nl.kernel.org/pub/linux/kernel/v2.5/linux-%(version)s.tar.%(format)s'
linux_2_6 = 'http://www.nl.kernel.org/pub/linux/kernel/v2.6/linux-%(version)s.tar.%(format)s'
cygwin = 'http://mirrors.kernel.org/sourceware/cygwin/release/%(name)s/%(name)s-%(version)s-src.tar.%(format)s'
cygwin_gcc = 'http://mirrors.kernel.org/sourceware/cygwin/release/gcc/%(name)s/%(name)s-%(version)s-src.tar.%(format)s'
# FIXME: %(version)s should probably be %(version)s for download,
# to include possible '-xyz' version part.
cups = 'http://ftp.easysw.com/pub/%(name)s/%(version)s/espgs-%(version)s-source.tar.%(format)s'
jpeg = 'ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz'
freebsd_ports = 'ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/local-distfiles/lioux/%(name)s-%(version)s.tar.%(format)s'
freedesktop = 'https://%(name)s.freedesktop.org/releases/%(name)s-%(version)s.tar.%(format)s'
glibc_deb = 'http://ftp.debian.org/debian/pool/main/g/glibc/%(name)s_%(version)s_%%(package_arch)s.%(format)s'
lkh_deb = 'http://ftp.debian.org/debian/pool/main/l/linux-kernel-headers/%(name)s_%(version)s_%%(package_arch)s.%(format)s'
libdbi_deb = 'http://ftp.debian.org/debian/pool/main/libd/libdbi/%(name)s_%(version)s_%%(package_arch)s.%(format)s'
gcc_41 = 'ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-%(version)s/gcc-%(version)s.tar.bz2'
gcc_snap = 'ftp://ftp.fu-berlin.de/unix/languages/gcc/snapshots/%(version)s/gcc-%(version)s.tar.bz2'
gnucvs = ':pserver:anoncvs@cvs.sv.gnu.org:/cvsroot/%(name)s'
redhat_snapshots = 'ftp://sources.redhat.com/pub/%(name)s/snapshots/%(name)s-%(version)s.tar.%(format)s'
#glibc_2_3_snapshots = redhat_snapshots
glibc_2_3_snapshots = lilypondorg
berlios = 'http://download.berlios.de/%(name)s/%(name)s-%(version)s.tar.%(format)s'