]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
make-dist,cmake: move boost tarball location to download.ceph.com
authorSage Weil <sage@redhat.com>
Tue, 26 Sep 2017 21:15:17 +0000 (17:15 -0400)
committerKefu Chai <kchai@redhat.com>
Sat, 30 Dec 2017 03:45:34 +0000 (11:45 +0800)
Sourceforge is down.  Also, we can hammer our servers instead of
theirs.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 19987549e0ce526e353e24adddc7df8b1f165aab)

cmake/modules/BuildBoost.cmake
make-dist

index 2b5f87740a65150d9151c686c98e174992cc032b..3dc6bdff52f4030880baa2386335fbc8adea9151 100644 (file)
@@ -86,7 +86,7 @@ function(do_build_boost version)
     set(boost_version 1.63.0)
     set(boost_md5 1c837ecd990bb022d07e7aab32b09847)
     string(REPLACE "." "_" boost_version_underscore ${boost_version} )
-    set(boost_url http://downloads.sourceforge.net/project/boost/boost/${boost_version}/boost_${boost_version_underscore}.tar.bz2)
+    set(boost_url https://download.ceph.com/qa/boost_${boost_version_underscore}.tar.bz2)
     set(source_dir
       URL ${boost_url}
       URL_MD5 ${boost_md5})
index 7bc2c096cbc1306c4a5f067998719906ffedeee4..d7a157bdea724a2766b3cf0e334970016dd46716 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -27,7 +27,7 @@ download_boost() {
     boost_fname=boost_${boost_version_underscore}.tar.bz2
     echo "downloading boost_$boost_version..."
     wget --no-verbose -O $boost_fname \
-         https://downloads.sourceforge.net/project/boost/boost/$boost_version/$boost_fname
+         https://download.ceph.com/qa/$boost_fname
     if [ $? != 0 -o ! -e $boost_fname ]; then
         echo "Error: failed to download boost."
         exit 1