summaryrefslogtreecommitdiff
path: root/config/global
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-31 18:27:27 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-31 18:27:27 (GMT)
commit6bfe4b1550a1d4153c63aa480b37691d57fbd386 (patch)
treeab8c369e9653da603947bdfdd3dd703e8ff57649 /config/global
parentef2e479e1d4540b3a563d6c0099138f3e7932f01 (diff)
Transform LAN_MIRROR into plain MIRROR:
- it does not have to be in the LAN - offer mirror preference over upstream - if selected, the mirror will be scanned before upstream servers - if not selected, upstream servers will be scanned before the mirror - I've set up such an internet-accessible mirror - uClibc snapshot available - MPFR releases available (the MPFR site is down from time to time) - update all samples to use my mirror as a failover /trunk/scripts/functions | 45 16 29 0 +++++-------- /trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-elf/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 8 7 1 0 ++ /trunk/samples/i686-nptl-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/i586-geode-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-405-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-eabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-860-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/config/global/download.in | 42 25 17 0 +++++++----- 27 files changed, 216 insertions(+), 71 deletions(-)
Diffstat (limited to 'config/global')
-rw-r--r--config/global/download.in46
1 files changed, 27 insertions, 19 deletions
diff --git a/config/global/download.in b/config/global/download.in
index 2450cba..910cb21 100644
--- a/config/global/download.in
+++ b/config/global/download.in
@@ -156,7 +156,7 @@ config PROXY_TYPE
default "socks4" if PROXY_TYPE_SOCKS_4
default "socks5" if PROXY_TYPE_SOCKS_5
-menuconfig USE_LAN_MIRROR
+menuconfig USE_MIRROR
bool
prompt "Use LAN mirror"
default n
@@ -171,46 +171,54 @@ menuconfig USE_LAN_MIRROR
Obviously, nothing prevents you from using a mirror that is in fact
*not* on your LAN, for example on another subnet of your company's
network, or a mirror on the Internet.
-
-if USE_LAN_MIRROR
-
-config LAN_MIRROR_USE_PROXY
+
+ I (Yann E. MORIN) have set up such a mirror to host snapshots of
+ some components, when those snapshots are volatile on the upstream
+ servers. The mirror is *slow*, because it is hosted behind an ADSL
+ line. For the time being, I haven't set up bandwidth limitations,
+ but should the mirror be abused, I will. Please avoid using my
+ machine when you can...
+ The mirror is available as (fill in those values in the fields
+ below):
+ host name: ymorin.is-a-geek.org
+ base dir : /mirrors
+
+if USE_MIRROR
+
+config PREFER_MIRROR
bool
- prompt "Use the proxy"
+ prompt "Prefer the LAN mirror"
default n
- depends on USE_PROXY
help
- Say 'Y' here if you need to use the proxy to connect to the LAN mirror.
-
- You'll need to say 'Y' if the LAN mirror is not really on your LAN.
+ Say 'Y' here if you prefer the LAN miror over the upstream sources.
choice
bool
prompt "Server type:"
-config LAN_MIRROR_HTTP
+config MIRROR_HTTP
bool
prompt "http"
-config LAN_MIRROR_FTP
+config MIRROR_FTP
bool
prompt "ftp"
endchoice # Server type
-config LAN_MIRROR_SCHEME
+config MIRROR_SCHEME
string
- default "http" if LAN_MIRROR_HTTP
- default "ftp" if LAN_MIRROR_FTP
+ default "http" if MIRROR_HTTP
+ default "ftp" if MIRROR_FTP
-config LAN_MIRROR_HOSTNAME
+config MIRROR_HOSTNAME
string
prompt "hostname"
default ""
help
Enter here the hostname on your LAN mirror.
-config LAN_MIRROR_BASE
+config MIRROR_BASE
string
prompt "Base directory"
default ""
@@ -223,7 +231,7 @@ config LAN_MIRROR_BASE
where <name> is replaced with the actual package name.
-config LAN_MIRROR_LS_R
+config MIRROR_LS_R
bool
# prompt "Use ls-lR et al."
depends on EXPERIMENTAL
@@ -238,7 +246,7 @@ config LAN_MIRROR_LS_R
find.txt (ditto)
ls-lR
-endif # USE_LAN_MIRROR
+endif # USE_MIRROR
config CONNECT_TIMEOUT
int