1 # Options specific to downloading packages
7 prompt "Forbid downloads"
9 Normally, crosstool-NG will try to download missing tarballs (or
10 checkout from CVS/SVN...).
11 If you do not have network connectivity when you run crosstool-NG,
12 and some files are missing, it can be a long time before crosstool-NG
15 Saying 'y' here will prevent crosstool-NG from downloading missing
16 files, thus failing early so that you don't get stuck.
22 prompt "Force downloads"
24 Force downloading tarballs, even if one already exists.
26 Useful if you suspect a tarball to be damaged.
32 If you have a machine on your LAN that mirrors some of the needed
33 tarballs, you can say 'Y' here, and configure adequate values in
34 the following options.
36 Obviously, nothing prevents you from using a mirror that is in fact
37 *not* on your LAN, for example on another subnet of your company's
38 network, or a mirror on the Internet.
44 prompt "Prefer the mirror"
46 Say 'Y' here if you prefer the LAN mirror over the upstream sources.
48 config MIRROR_BASE_URL
51 default "http://ymorin.is-a-geek.org/mirrors/"
53 This is the base URL searched in for tarballs.
55 I (Yann E. MORIN) have set up such a mirror to host snapshots of
56 some components, when those snapshots are volatile on the upstream
57 servers. The mirror is *slow*, because it is hosted behind an ADSL
58 line. For the time being, I haven't set up bandwidth limitations,
59 but should the mirror be abused, I will. Please avoid using my
60 machine when you can... Also, no guarantee is made as to its
61 availability. Use at your own risks.
63 The mirror is available at:
64 http://ymorin.is-a-geek.org/mirrors/
68 config CONNECT_TIMEOUT
70 prompt "Connection timeout"
74 Maximum time in seconds that you allow the connection to the server to take.
76 The scenario is as follows;
77 - some enterprise networks have firewalls that prohibit FTP traffic, while
79 - most download sites have http:// equivalent for the ftp:// URL
80 - after this number of seconds, it is considered that the connection could
81 not be established, and the next URL in the list is tried, until we reach
82 an URL that will go through the firewall, most probably an http:// URL.
84 If you have a slow network, you'd better set this value higher than the default
85 10s. If you know a firewall is blocking connections, but your network is globally
86 fast, you can try to lower this value to jump more quickly to allowed URLs. YMMV.
88 Note that this value applies equally to wget if you have that installed.
92 prompt "Stop after downloading tarballs"
94 Only download the tarballs. Exit once it done.
96 Useful to pre-retrieve the tarballs before going off-line.
98 endif # ! FORBID_DOWNLOAD