summaryrefslogtreecommitdiff
path: root/config/global/download.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-04-19 16:58:21 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-04-19 16:58:21 (GMT)
commit9643bcbb5562b9c343add3b8f182263656c32687 (patch)
tree2b35c6b7b2c13b463bd3693b066cfc656be7b1e3 /config/global/download.in
parent2c4722fe111f9559dcfd0395ab38676d1baecd61 (diff)
Simplify the mirror settings.
-------- diffstat follows -------- /trunk/scripts/functions | 7 3 4 0 ++--- /trunk/config/global/download.in | 60 14 46 0 +++++++++++----------------------------------- 2 files changed, 17 insertions(+), 50 deletions(-)
Diffstat (limited to 'config/global/download.in')
-rw-r--r--config/global/download.in60
1 files changed, 14 insertions, 46 deletions
diff --git a/config/global/download.in b/config/global/download.in
index f571632..184d4ee 100644
--- a/config/global/download.in
+++ b/config/global/download.in
@@ -42,65 +42,33 @@ menuconfig USE_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.
-
- 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 "Prefer the LAN mirror"
+ prompt "Prefer the mirror"
default n
help
Say 'Y' here if you prefer the LAN miror over the upstream sources.
-choice
- bool
- prompt "Server type:"
-
-config MIRROR_HTTP
- bool
- prompt "http"
-
-config MIRROR_FTP
- bool
- prompt "ftp"
-
-endchoice # Server type
-
-config MIRROR_SCHEME
+config MIRROR_BASE_URL
string
- default "http" if MIRROR_HTTP
- default "ftp" if MIRROR_FTP
-
-config MIRROR_HOSTNAME
- string
- prompt "hostname"
- default ""
- help
- Enter here the hostname on your LAN mirror.
-
-config MIRROR_BASE
- string
- prompt "Base directory"
+ prompt "Base URL"
default ""
help
- This is the base directory searched for for tarballs. If you enter
- /mirror, then the search is performed in the following directories
- on the server:
- /mirror/<name>/
- /mirror/
+ This is the base URL searched in for tarballs.
+
+ 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... Also, no guarantee is made as to its
+ availability. Use at your own risks.
- where <name> is replaced with the actual package name.
+ The mirror is available at:
+ http://ymorin.is-a-geek.org/mirrors/
config MIRROR_LS_R
bool