build: Download gtest 1.7.0 from upstream source
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Thu, 23 Mar 2017 09:58:37 +0000 (10:58 +0100)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Mon, 3 Apr 2017 19:59:19 +0000 (19:59 +0000)
Fedora mirror was used before, as fallback to googlecode repo.
Then upstream relocated to github, and changed (its tarball form),
so it was changed in iotivity's Sconscripts,
but not in that prep.sh scriptlet.

Now everything is aligned to upstream,
and will not be downloaded twice in different forms
(2d one is scons' puller).

Bug: https://jira.iotivity.org/browse/IOT-1745
Change-Id: I0778499e96121124df0da536623155d9b049bb2f
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18127
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
extlibs/gtest/prep.sh

index 5fb4209..2aed330 100644 (file)
@@ -21,7 +21,7 @@ set -e
 
 package="gtest"
 packageRevision='1.7.0'
-packageUrl='http://pkgs.fedoraproject.org/repo/pkgs/gtest/gtest-1.7.0.zip/2d6ec8ccdf5c46b05ba54a9fd1d130d7/gtest-1.7.0.zip'
+packageUrl='https://github.com/google/googletest/archive/release-1.7.0.zip'
 packageArchive=$(basename -- "${packageUrl}")
 packageDir="extlibs/${package}/${package}-${packageRevision}"
 packageSourceFile="${packageDir}/CMakeLists.txt"