From 69261095d7b80609ed4fc67fee75e47a7e2e548b Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Tue, 30 Aug 2016 09:38:22 +0200 Subject: [PATCH] gtest: Hotfix to prevent download failure gtest-1.7.0.zip (md5=2d6ec8ccdf5c46b05ba54a9fd1d130d7) is gone from: https://googletest.googlecode.com/files/gtest-1.7.0.zip So let's switch to a mirrored file: http://pkgs.fedoraproject.org/repo/pkgs/gtest/gtest-1.7.0.zip/2d6ec8ccdf5c46b05ba54a9fd1d130d7/gtest-1.7.0.zip Note, now upstream project moved to: https://github.com/google/googletest/archive/release-1.7.0.zip But archive structure is different (configure is missing), so a additional works are needed, maybe it worth to be done on latest release instead (1.8.0 ATM). Change-Id: Ib1cf308fb2d3a15bdf69246cccfd379234bbce22 Bug: https://jira.iotivity.org/browse/IOT-820 Origin: https://gerrit.iotivity.org/gerrit/#/c/11119/ Signed-off-by: Philippe Coval Reviewed-on: https://gerrit.iotivity.org/gerrit/11119 Tested-by: jenkins-iotivity Reviewed-by: Jaehong Jo Reviewed-by: Jihun Ha Reviewed-by: Jaewook Jung Reviewed-by: Uze Choi --- extlibs/gtest/SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extlibs/gtest/SConscript b/extlibs/gtest/SConscript index d29c324..9e17973 100644 --- a/extlibs/gtest/SConscript +++ b/extlibs/gtest/SConscript @@ -1,3 +1,4 @@ +# -*- mode: python; python-indent-offset: 4; indent-tabs-mode: nil -*- ## # 'googletest' script to check if Google Unit Test library is installed. # If not, get it and install it @@ -17,7 +18,7 @@ gtest_dir = os.path.join(src_dir, 'extlibs', 'gtest', 'gtest-1.7.0') gtest_lib_dir = os.path.join(gtest_dir,'lib') gtest_dotlib_dir = os.path.join(gtest_lib_dir, '.libs') gtest_zip_file = os.path.join(src_dir, 'extlibs', 'gtest', 'gtest-1.7.0.zip') -gtest_url = 'https://googletest.googlecode.com/files/gtest-1.7.0.zip' +gtest_url = 'http://pkgs.fedoraproject.org/repo/pkgs/gtest/gtest-1.7.0.zip/2d6ec8ccdf5c46b05ba54a9fd1d130d7/gtest-1.7.0.zip' if target_os in targets_need_gtest: print '*** Checking for installation of google unit test 1.7.0 ***' -- 2.7.4