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)
This commit is contained in:
Yann E. MORIN" 2012-02-05 23:26:55 +01:00
parent ed33c4967a
commit 4f9ad0f380
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ do_debug_duma_get() {
# Downloading an non-existing file from sourceforge will give you an # Downloading an non-existing file from sourceforge will give you an
# HTML file containing an error message, instead of returning a 404. # HTML file containing an error message, instead of returning a 404.
# Sigh... # Sigh...
CT_GetFile "duma_${CT_DUMA_VERSION}" .tar.gz http://mesh.dl.sourceforge.net/sourceforge/duma/ CT_GetFile "duma_${CT_DUMA_VERSION}" .tar.gz http://kent.dl.sourceforge.net/sourceforge/duma/
# Downloading from sourceforge may leave garbage, cleanup # Downloading from sourceforge may leave garbage, cleanup
CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"* CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"*
} }

View File

@ -62,7 +62,7 @@ do_debug_gdb_get() {
if [ "${do_expat}" = "y" ]; then if [ "${do_expat}" = "y" ]; then
CT_GetFile "expat-${CT_DEBUG_GDB_EXPAT_VERSION}" .tar.gz \ CT_GetFile "expat-${CT_DEBUG_GDB_EXPAT_VERSION}" .tar.gz \
http://mesh.dl.sourceforge.net/sourceforge/expat/expat/${CT_DEBUG_GDB_EXPAT_VERSION} http://kent.dl.sourceforge.net/project/expat/expat/${CT_DEBUG_GDB_EXPAT_VERSION}
fi fi
} }

View File

@ -1,7 +1,7 @@
# Build script for strace # Build script for strace
do_debug_strace_get() { do_debug_strace_get() {
CT_GetFile "strace-${CT_STRACE_VERSION}" http://mesh.dl.sourceforge.net/sourceforge/strace/ CT_GetFile "strace-${CT_STRACE_VERSION}" http://kent.dl.sourceforge.net/sourceforge/strace/
# Downloading from sourceforge leaves garbage, cleanup # Downloading from sourceforge leaves garbage, cleanup
CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"* CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"*
} }