Get rid of the proxy settings, once and for all.
They have nothing to do in here, just let the user
configure his/her system appropriately.
-------- diffstat follows --------
/trunk/scripts/build/libc/eglibc.sh | 1 0 1 0 -
/trunk/scripts/functions | 100 0 100 0 -----------------------------
/trunk/config/global/download.in | 148 0 148 0 -------------------------------------------
3 files changed, 249 deletions(-)
1 # Options specific to downloading packages
7 prompt "Forbid downloads"
10 Normally, crosstool-NG will try to download missing tarballs (or
11 checkout from CVS/SVN...).
12 If you do not have network connectivity when you run crosstool-NG,
13 and some files are missing, it can be a long time before crosstool-NG
16 Saying 'y' here will prevent crosstool-NG from downloading missing
17 files, thus failing early so that you don't get stuck.
23 prompt "Force downloads"
26 Force downloading tarballs, even if one already exists.
28 Usefull if you suspect a tarball to be damaged.
32 prompt "Use LAN mirror"
35 If you have a machine on your LAN that mirrors some of the needed
36 tarballs, you can say 'Y' here, and configure adequate values in
37 the following options.
39 Tarballs will be be preferably fetched from the LAN mirror, and if
40 not found there, standard places will be searched for.
42 Obviously, nothing prevents you from using a mirror that is in fact
43 *not* on your LAN, for example on another subnet of your company's
44 network, or a mirror on the Internet.
46 I (Yann E. MORIN) have set up such a mirror to host snapshots of
47 some components, when those snapshots are volatile on the upstream
48 servers. The mirror is *slow*, because it is hosted behind an ADSL
49 line. For the time being, I haven't set up bandwidth limitations,
50 but should the mirror be abused, I will. Please avoid using my
51 machine when you can...
52 The mirror is available as (fill in those values in the fields
54 host name: ymorin.is-a-geek.org
61 prompt "Prefer the LAN mirror"
64 Say 'Y' here if you prefer the LAN miror over the upstream sources.
78 endchoice # Server type
82 default "http" if MIRROR_HTTP
83 default "ftp" if MIRROR_FTP
85 config MIRROR_HOSTNAME
90 Enter here the hostname on your LAN mirror.
94 prompt "Base directory"
97 This is the base directory searched for for tarballs. If you enter
98 /mirror, then the search is performed in the following directories
103 where <name> is replaced with the actual package name.
107 # prompt "Use ls-lR et al."
108 depends on EXPERIMENTAL
111 If the tarball was not found at the above location, see if the server
112 has a ls-lr.gz (or similar) file, and use that file to see if the
113 tarball is listed somewhere in that file.
115 Common file names looked for are:
116 ls-lrRt.txt (used at ftp.gnu.org)
122 config CONNECT_TIMEOUT
124 prompt "connection timeout"
127 From the curl manual:
128 Maximum time in seconds that you allow the connection to the server to take.
130 The scenario is as follows;
131 - some enterprise networks have firewalls that prohibit FTP traffic, while
133 - most download sites have http:// equivalent for the ftp:// URL
134 - after this number of seconds, it is considered that the connection could
135 not be established, and the next URL in the list is tried, until we reach
136 an URL that will go through the firewall, most probably an http:// URL.
138 If you have a slow network, you'd better set this value higher than the default
139 10s. If you know a firewall is blocking connections, but your network is globally
140 fast, you can try to lower this value to jump more quickly to allowed URLs. YMMV.
142 Note that this value applies equally to wget if you have that installed.
146 prompt "Stop after downloading tarballs"
149 Only download the tarballs. Exit once it done.
151 Usefull to pre-retrieve the tarballs before going off-line.
153 endif # ! FORBID_DOWNLOAD