1 # Options specific to downloading and extracting packages
7 prompt "Force downloads"
10 Force downloading tarballs, even if one already exists.
12 Usefull if you suspect a tarball to be damaged.
16 prompt "Stop after downloading tarballs"
19 Only download the tarballs. Exit once it done.
21 Usefull to pre-retrieve the tarballs before going off-line.
28 config PROXY_TYPE_NONE
32 Select this option if you have a direct connection to the internet,
33 or if you already set the environment adequately.
35 config PROXY_TYPE_HTTP
39 Use an HTTP proxy to connect to to the internet.
40 Only the http and ftp protocols will be tunneled through this
43 Alternatively to setting this option, you can set and export the
44 following variables in your environment:
45 ftp_proxy=http://user:passwd@proxy.server:port/
46 http_proxy=http://user:passwd@proxy.server:port/
47 https_proxy=http://user:passwd@proxy.server:port/
49 # Haha! Here is an interesting feature/bug of mconf!
50 # The following config entries will be shown out-side the
52 # To add a third entry in the choice menu, add it after the
53 # if...endif conditional below, and so on for a fourth entry...
73 endif # USE_HTTP_PROXY
75 config PROXY_TYPE_SOCKS
77 prompt "SOCKS 4/5 proxy (EXPERIMENTAL)"
78 depends on EXPERIMENTAL
80 Use a Socks 4/5 proxy to connect to the internet.
81 All protocols can get tunneled through this kind of proxy (depending
82 on your proxy configuration, so;e do not allow all protocols, but
83 chances are that protocols needed by crosstool-NG are allowed).
85 Alternatively to setting this option, you can set and export the
86 following variable in your environment:
87 LD_PRELOAD=/path/to/your/tsocks-library.so
89 In any case, wether you set this option or you export the aforementionned
90 variable, you will _have_ to configure the /etc/tsocks.conf file
91 accordingly to your network setup.
93 This option makes use of the tsocks library. You will have to have tsocks
94 installed on your system, of course.
96 If you think you do not know what tsocks is, or how to configure it,
97 chances are that you do not need to set this option.
104 default PROXY_TYPE_SOCKS_SYS
106 config PROXY_TYPE_SOCKS_SYS
108 prompt "Use system settings"
110 Use that if your system is already configured to
111 connect to SOCKS 4/5 proxies.
113 config PROXY_TYPE_SOCKS_AUTO
117 crosstool-NG will attempt to guess what type of
118 SOCKS version the proxy speaks.
120 config PROXY_TYPE_SOCKS_4
124 config PROXY_TYPE_SOCKS_5
130 if ! PROXY_TYPE_SOCKS_SYS
132 comment "THIS IS HIGHLY EXPERIMENTAL!!!"
151 endif # ! PROXY_TYPE_SOCKS_SYS
153 endif # USE_SOCKS_PROXY
159 default "none" if PROXY_TYPE_NONE
160 default "http" if PROXY_TYPE_HTTP
161 default "sockssys" if PROXY_TYPE_SOCKS_SYS
162 default "socksauto" if PROXY_TYPE_SOCKS_AUTO
163 default "socks4" if PROXY_TYPE_SOCKS_4
164 default "socks5" if PROXY_TYPE_SOCKS_5
166 # Force restore indentation
177 prompt "Force extractions"
180 Force extraction of already exctracted tarballs.
182 Usefull if you suspect a previous extract did not complete (eg. broken
183 tarball), or you added a new set of patches for this component.
187 prompt "Stop after extracting tarballs"
190 Exit after unpacking and patching tarballs.
192 Usefull to look at the code before doing the build itself.
194 endif # ! ONLY_DOWNLOAD