diff options
author | Kefu Chai <kchai@redhat.com> | 2018-04-18 06:26:02 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2018-04-20 19:17:35 +0200 |
commit | 19aee456c0db78760c6c003f3e69c10629220ac7 (patch) | |
tree | 7f7eef6237a9617c88306a805b9d9fcb227e893a /cmake | |
parent | cmake: use CMP0028 NEW (diff) | |
download | ceph-19aee456c0db78760c6c003f3e69c10629220ac7.tar.xz ceph-19aee456c0db78760c6c003f3e69c10629220ac7.zip |
cmake,make-dist: use sha256 instead of md5 for checksum
the boost's download page offers the SHA256 hash, so it'd be easier to
verify the hash this way.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/BuildBoost.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/BuildBoost.cmake b/cmake/modules/BuildBoost.cmake index 1bc28ad0f82..90fac55370d 100644 --- a/cmake/modules/BuildBoost.cmake +++ b/cmake/modules/BuildBoost.cmake @@ -140,7 +140,7 @@ function(do_build_boost version) # NOTE: If you change this version number make sure the package is available # at the three URLs below (may involve uploading to download.ceph.com) set(boost_version 1.66.0) - set(boost_md5 b2dfbd6c717be4a7bb2d88018eaccf75) + set(boost_256 5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9) string(REPLACE "." "_" boost_version_underscore ${boost_version} ) set(boost_url https://dl.bintray.com/boostorg/release/${boost_version}/source/boost_${boost_version_underscore}.tar.bz2) @@ -152,7 +152,7 @@ function(do_build_boost version) endif() set(source_dir URL ${boost_url} - URL_MD5 ${boost_md5}) + URL_HASH SHA256=${boost_sha256}) if(CMAKE_VERSION VERSION_GREATER 3.1) list(APPEND source_dir DOWNLOAD_NO_PROGRESS 1) endif() |