From 6e65a05261ff839f3c287baf007ca8f539262d66 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Sun, 19 Aug 2012 01:09:40 -0700 Subject: scripts: use generic urls for sourceforge For expat, duma, and strace, use the generic url and 302 to the mirror instead of trying to download a file from a downed mirror and failing. Signed-off-by: Bryan Hundven Message-Id: diff --git a/scripts/build/debug/200-duma.sh b/scripts/build/debug/200-duma.sh index 99ff6aa..aa722cb 100644 --- a/scripts/build/debug/200-duma.sh +++ b/scripts/build/debug/200-duma.sh @@ -3,7 +3,7 @@ do_debug_duma_get() { local dl_base - dl_base="http://dfn.dl.sourceforge.net/project/duma/duma" + dl_base="http://downloads.sourceforge.net/project/duma/duma" dl_base+="/${CT_DUMA_VERSION//_/.}" # Downloading an non-existing file from sourceforge will give you an diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index c2f0eab..61d1f5b 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -62,7 +62,7 @@ do_debug_gdb_get() { if [ "${do_expat}" = "y" ]; then CT_GetFile "expat-${CT_DEBUG_GDB_EXPAT_VERSION}" .tar.gz \ - http://kent.dl.sourceforge.net/project/expat/expat/${CT_DEBUG_GDB_EXPAT_VERSION} + http://downloads.sourceforge.net/project/expat/expat/${CT_DEBUG_GDB_EXPAT_VERSION} fi } diff --git a/scripts/build/debug/500-strace.sh b/scripts/build/debug/500-strace.sh index f0cfe7f..f71a1b7 100644 --- a/scripts/build/debug/500-strace.sh +++ b/scripts/build/debug/500-strace.sh @@ -1,7 +1,7 @@ # Build script for strace do_debug_strace_get() { - local base_url="http://kent.dl.sourceforge.net/project/strace/strace" + local base_url="http://downloads.sourceforge.net/project/strace/strace" CT_GetFile "strace-${CT_STRACE_VERSION}" "${base_url}/${CT_STRACE_VERSION}" # Downloading from sourceforge leaves garbage, cleanup CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"* -- cgit v0.10.2-6-g49f6