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.
40 config MIRROR_BASE_URL
44 default "http://ymorin.is-a-geek.org/mirrors/"
46 This is the base URL searched in for tarballs.
48 I (Yann E. MORIN) have set up such a mirror to host snapshots of
49 some components, when those snapshots are volatile on the upstream
50 servers. The mirror is *slow*, because it is hosted behind an ADSL
51 line. For the time being, I haven't set up bandwidth limitations,
52 but should the mirror be abused, I will. Please avoid using my
53 machine when you can... Also, no guarantee is made as to its
54 availability. Use at your own risks.
56 The mirror is available at:
57 http://ymorin.is-a-geek.org/mirrors/
59 config CONNECT_TIMEOUT
61 prompt "Connection timeout"
65 Maximum time in seconds that you allow the connection to the server to take.
67 The scenario is as follows;
68 - some enterprise networks have firewalls that prohibit FTP traffic, while
70 - most download sites have http:// equivalent for the ftp:// URL
71 - after this number of seconds, it is considered that the connection could
72 not be established, and the next URL in the list is tried, until we reach
73 an URL that will go through the firewall, most probably an http:// URL.
75 If you have a slow network, you'd better set this value higher than the default
76 10s. If you know a firewall is blocking connections, but your network is globally
77 fast, you can try to lower this value to jump more quickly to allowed URLs. YMMV.
79 Note that this value applies equally to wget if you have that installed.
83 prompt "Stop after downloading tarballs"
85 Only download the tarballs. Exit once it done.
87 Useful to pre-retrieve the tarballs before going off-line.
89 endif # ! FORBID_DOWNLOAD