[buildroot][patch] point to list of sourceforge mirrors in help text

Bernhard Fischer rep.nop at aon.at
Sat Sep 17 18:18:52 UTC 2005


Hi,

Point to the list of available sourceforge mirrors in buildroot's help
text.


PS: It is not feasable to automagically list the current ones as we
cannot reliably rely on an external program to dump them, i'd say.
Something like this

lynx --dump --source \
  "http://prdownloads.sourceforge.net/index-sf.html?download" \
  | awk  'BEGIN{FS=">"};{if(/form\.submit/){print $NF}}'

might work to build an option-list, but i think that if such an
automatically generated option list is desired, we should provide a
simple C client to fetch the main list in order not to rely on external
programs. This may not be worthwhile, though.

thanks,
Bernhard
-------------- next part --------------
diff -X excl -rduNp buildroot.oorig/Config.in buildroot/Config.in
--- buildroot.oorig/Config.in	2005-08-15 11:43:13.000000000 +0200
+++ buildroot/Config.in	2005-09-17 20:05:57.000000000 +0200
@@ -116,6 +116,9 @@ config BR2_SOURCEFORGE_MIRROR
 	    available.  This option allows you to select your preferred Sourceforge
 	    mirror site.
 
+	    The list of mirrors is available here:
+	    http://prdownloads.sourceforge.net/index-sf.html?download
+
 config BR2_STAGING_DIR
 	string "Toolchain and header file location?"
 	default "$(BUILD_DIR)/staging_dir"


More information about the busybox mailing list