Author: jfrederic.clere(a)jboss.com
Date: 2010-11-25 03:37:40 -0500 (Thu, 25 Nov 2010)
New Revision: 2701
Modified:
trunk/build/unix/build.sh
Log:
Add a backup url for openssl.
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2010-11-23 19:58:46 UTC (rev 2700)
+++ trunk/build/unix/build.sh 2010-11-25 08:37:40 UTC (rev 2701)
@@ -1157,6 +1157,7 @@
APIURLBACK=http://archive.apache.org/dist/apr/apr-iconv-${api_version}.ta...
fi
SSLURL=http://www.openssl.org/source/openssl-${ssl_version}.tar.gz
+SSLURLBACK=ftp://mirror.switch.ch/mirror/openssl/source/openssl-${ssl_version}.tar.gz
ZLIBURL=http://www.zlib.net/zlib-${zlib_version}.tar.gz
ZLIBURLBACK=http://garr.dl.sourceforge.net/project/libpng/zlib/${zlib_ver...
ICONVURL=http://ftp.gnu.org/pub/gnu/libiconv/libiconv-${iconv_version}.ta...
@@ -1175,7 +1176,7 @@
# Note: type of the download (r: rhel, v: internet, t: tag in svn).
if $has_openssl; then
if [ "${ssl_type}" = "v" ]; then
- checkdownload openssl ${ssl_version} $SSLURL "NONE"
+ checkdownload openssl ${ssl_version} $SSLURL "$SSLURLBACK"
elif [ "${ssl_type}" = "r" ]; then
if [ "x${ssl_version}" = "x" ]; then
tag=trunk