Add a "NOTE" in the proxy settings help, telling it might not cover all possible proxy configurations.
/trunk/config/global/download.in | 4 4 0 0 ++++
1 file changed, 4 insertions(+)
1 # Options specific to downloading packages
7 prompt "Force downloads"
10 Force downloading tarballs, even if one already exists.
12 Usefull if you suspect a tarball to be damaged.
19 Say 'Y' here if you need to use a proxy to connect to the internet.
21 You can then choose between an HTTP or a SOCKS 4/5 proxy.
24 The settings below may not cover all possible proxy configurations!
25 You'd be better off setting proxy in the environment!
33 config PROXY_TYPE_HTTP
37 Use an HTTP proxy to connect to to the internet.
38 Only the http and ftp protocols will be tunneled through this
41 Alternatively to setting this option, you can set and export the
42 following variables in your environment:
43 ftp_proxy=http://user:passwd@proxy.server:port/
44 http_proxy=http://user:passwd@proxy.server:port/
45 https_proxy=http://user:passwd@proxy.server:port/
47 # Haha! Here is an interesting feature/bug of mconf!
48 # The following config entries will be shown out-side the
50 # To add a third entry in the choice menu, add it after the
51 # if...endif conditional below, and so on for a fourth entry...
71 endif # USE_HTTP_PROXY
73 config PROXY_TYPE_SOCKS
75 prompt "SOCKS 4/5 proxy"
77 Use a Socks 4/5 proxy to connect to the internet.
78 All protocols can get tunneled through this kind of proxy (your
79 proxy configuration may not allow all protocols, but chances are
80 that protocols needed by crosstool-NG are allowed).
82 Alternatively to setting this option, you can configure tsocks
83 system-wide, and set and export the following variable in your
85 LD_PRELOAD=/path/to/your/tsocks-library.so
87 This option makes use of the tsocks library. You will have to have tsocks
88 installed on your system, of course.
90 If you think you do not know what tsocks is, or how to configure it,
91 chances are that you do not need to set this option.
98 default PROXY_TYPE_SOCKS_SYS
100 config PROXY_TYPE_SOCKS_SYS
102 prompt "Use system settings"
104 Use that if tsocks is already configured on your system.
106 config PROXY_TYPE_SOCKS_AUTO
110 crosstool-NG will attempt to guess what type of SOCKS version
113 config PROXY_TYPE_SOCKS_4
117 config PROXY_TYPE_SOCKS_5
123 if ! PROXY_TYPE_SOCKS_SYS
142 endif # ! PROXY_TYPE_SOCKS_SYS
144 endif # USE_SOCKS_PROXY
152 default "none" if ! USE_PROXY
153 default "http" if PROXY_TYPE_HTTP
154 default "sockssys" if PROXY_TYPE_SOCKS_SYS
155 default "socksauto" if PROXY_TYPE_SOCKS_AUTO
156 default "socks4" if PROXY_TYPE_SOCKS_4
157 default "socks5" if PROXY_TYPE_SOCKS_5
159 menuconfig USE_LAN_MIRROR
161 prompt "Use LAN mirror"
164 If you have a machine on your LAN that mirrors some of the needed
165 tarballs, you can say 'Y' here, and configure adequate values in
166 the following options.
168 Tarballs will be be preferably fetched from the LAN mirror, and if
169 not found there, standard places will be searched for.
171 Obviously, nothing prevents you from using a mirror that is in fact
172 *not* on your LAN, for example on another subnet of your company's
173 network, or a mirror on the Internet.
177 config LAN_MIRROR_USE_PROXY
179 prompt "Use the proxy"
183 Say 'Y' here if you need to use the proxy to connect to the LAN mirror.
185 You'll need to say 'Y' if the LAN mirror is not really on your LAN.
189 prompt "Server type:"
191 config LAN_MIRROR_HTTP
195 config LAN_MIRROR_FTP
199 endchoice # Server type
201 config LAN_MIRROR_SCHEME
203 default "http" if LAN_MIRROR_HTTP
204 default "ftp" if LAN_MIRROR_FTP
206 config LAN_MIRROR_HOSTNAME
211 Enter here the hostname on your LAN mirror.
213 config LAN_MIRROR_BASE
215 prompt "Base directory"
218 This is the base directory searched for for tarballs. If you enter
219 /mirror, then the search is performed in the following directories
224 where <name> is replaced with the actual package name.
226 config LAN_MIRROR_LS_R
228 # prompt "Use ls-lR et al."
229 depends on EXPERIMENTAL
232 If the tarball was not found at the above location, see if the server
233 has a ls-lr.gz (or similar) file, and use that file to see if the
234 tarball is listed somewhere in that file.
236 Common file names looked for are:
237 ls-lrRt.txt (used at ftp.gnu.org)
241 endif # USE_LAN_MIRROR
243 config CONNECT_TIMEOUT
245 prompt "connection timeout"
248 From the curl manual:
249 Maximum time in seconds that you allow the connection to the server to take.
251 The scenario is as follows;
252 - some enterprise networks have firewalls that prohibit FTP traffic, while
254 - most download sites have http:// equivalent for the ftp:// URL
255 - after this number of seconds, it is considered that the connection could
256 not be established, and the next URL in the list is tried, until we reach
257 an URL that will go through the firewall, most probably an http:// URL.
259 If you have a slow network, you'd better set this value higher than the default
260 10s. If you know a firewall is blocking connections, but your network is globally
261 fast, you can try to lower this value to jump more quickly to allowed URLs. YMMV.
263 Note that this value applies equally to wget if you have that installed.
265 Of course, you'd be better off to use a proxy, as offered by the previous
270 prompt "Stop after downloading tarballs"
273 Only download the tarballs. Exit once it done.
275 Usefull to pre-retrieve the tarballs before going off-line.