scripts: fix download from sourceforge 1.14
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Sun Feb 05 23:26:55 2012 +0100 (2012-02-05)
branch1.14
changeset 286982f3da5d402e
parent 2865 f4a934f1734f
child 2870 dcd4c1773e7f
scripts: fix download from sourceforge

It seems sourceforge changed yet again the way to download files.
This time, no longer use their 'mesh' thingy, and hard-code the
server to use in the URL... Sigh... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from ef6dad58ab1cd38946258552a3ee624a6339f54c)
scripts/build/debug/200-duma.sh
scripts/build/debug/300-gdb.sh
scripts/build/debug/500-strace.sh
     1.1 --- a/scripts/build/debug/200-duma.sh	Wed Feb 01 00:19:04 2012 +0100
     1.2 +++ b/scripts/build/debug/200-duma.sh	Sun Feb 05 23:26:55 2012 +0100
     1.3 @@ -4,7 +4,7 @@
     1.4      # Downloading an non-existing file from sourceforge will give you an
     1.5      # HTML file containing an error message, instead of returning a 404.
     1.6      # Sigh...
     1.7 -    CT_GetFile "duma_${CT_DUMA_VERSION}" .tar.gz http://mesh.dl.sourceforge.net/sourceforge/duma/
     1.8 +    CT_GetFile "duma_${CT_DUMA_VERSION}" .tar.gz http://kent.dl.sourceforge.net/sourceforge/duma/
     1.9      # Downloading from sourceforge may leave garbage, cleanup
    1.10      CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"*
    1.11  }
     2.1 --- a/scripts/build/debug/300-gdb.sh	Wed Feb 01 00:19:04 2012 +0100
     2.2 +++ b/scripts/build/debug/300-gdb.sh	Sun Feb 05 23:26:55 2012 +0100
     2.3 @@ -62,7 +62,7 @@
     2.4  
     2.5      if [ "${do_expat}" = "y" ]; then
     2.6          CT_GetFile "expat-${CT_DEBUG_GDB_EXPAT_VERSION}" .tar.gz    \
     2.7 -                   http://mesh.dl.sourceforge.net/sourceforge/expat/expat/${CT_DEBUG_GDB_EXPAT_VERSION}
     2.8 +                   http://kent.dl.sourceforge.net/project/expat/expat/${CT_DEBUG_GDB_EXPAT_VERSION}
     2.9      fi
    2.10  }
    2.11  
     3.1 --- a/scripts/build/debug/500-strace.sh	Wed Feb 01 00:19:04 2012 +0100
     3.2 +++ b/scripts/build/debug/500-strace.sh	Sun Feb 05 23:26:55 2012 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # Build script for strace
     3.5  
     3.6  do_debug_strace_get() {
     3.7 -    CT_GetFile "strace-${CT_STRACE_VERSION}" http://mesh.dl.sourceforge.net/sourceforge/strace/
     3.8 +    CT_GetFile "strace-${CT_STRACE_VERSION}" http://kent.dl.sourceforge.net/sourceforge/strace/
     3.9      # Downloading from sourceforge leaves garbage, cleanup
    3.10      CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"*
    3.11  }