From 0ab41c8fade6628428435e9ec0f1dce937da4ee8 Mon Sep 17 00:00:00 2001 From: Xiaoyin Liu Date: Tue, 4 Aug 2020 20:04:20 +0800 Subject: [PATCH 1/2] Update URL of cdt-8.6.0.zip The old URL (http://www.eclipse.org/downloads/download.php?r=1&protocol=https&file=/tools/cdt/releases/8.6/cdt-8.6.0.zip) redirects to http://archive.eclipse.org/tools/cdt/releases/8.6/cdt-8.6.0.zip, which supports HTTPS. To avoid unencrypted HTTP, let's use https://archive.eclipse.org/tools/cdt/releases/8.6/cdt-8.6.0.zip directly. --- DevGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevGuide.md b/DevGuide.md index 4f36994e3f..3e9d3fe707 100644 --- a/DevGuide.md +++ b/DevGuide.md @@ -198,7 +198,7 @@ Download `cdt-8.6.0.zip` from The Eclipse Foundation, and place it in: ```bash cd ~/Downloads # Or wherever -curl -OL 'http://www.eclipse.org/downloads/download.php?r=1&protocol=https&file=/tools/cdt/releases/8.6/cdt-8.6.0.zip' +curl -OL 'https://archive.eclipse.org/tools/cdt/releases/8.6/cdt-8.6.0.zip' curl -o 'cdt-8.6.0.zip.sha512' -L --retry 3 'https://www.eclipse.org/downloads/sums.php?type=sha512&file=/tools/cdt/releases/8.6/cdt-8.6.0.zip' shasum -a 512 -c 'cdt-8.6.0.zip.sha512' mkdir -p ~/git/ghidra/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/build/ From c0a79b6e3324c80f1f3c51440f6234e1f0a1a163 Mon Sep 17 00:00:00 2001 From: Xiaoyin Liu Date: Thu, 13 Aug 2020 22:15:15 +0800 Subject: [PATCH 2/2] fetchDependencies.gradle: Update cdt URL to HTTPS --- gradle/support/fetchDependencies.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/support/fetchDependencies.gradle b/gradle/support/fetchDependencies.gradle index 76d4ef33f4..03f64d4c27 100644 --- a/gradle/support/fetchDependencies.gradle +++ b/gradle/support/fetchDependencies.gradle @@ -54,7 +54,7 @@ ext.AXML_ZIP = 'https://storage.googleapis.com/google-code-archive-downloads/v2/ ext.HFS_ZIP = 'https://sourceforge.net/projects/catacombae/files/HFSExplorer/0.21/hfsexplorer-0_21-bin.zip' ext.YAJSW_ZIP = 'https://sourceforge.net/projects/yajsw/files/yajsw/yajsw-stable-12.12/yajsw-stable-12.12.zip' ext.PYDEV_ZIP = 'https://sourceforge.net/projects/pydev/files/pydev/PyDev%206.3.1/PyDev%206.3.1.zip' -ext.CDT_ZIP = 'http://www.eclipse.org/downloads/download.php?r=1&protocol=https&file=/tools/cdt/releases/8.6/cdt-8.6.0.zip' +ext.CDT_ZIP = 'https://archive.eclipse.org/tools/cdt/releases/8.6/cdt-8.6.0.zip' // The SHA-256s for each of the dependencies ext.DEX_SHA_256 = '7907eb4d6e9280b6e17ddce7ee0507eae2ef161ee29f70a10dbc6944fdca75bc' @@ -366,4 +366,4 @@ def cleanup() { //if (DOWNLOADS_DIR.exists()) { // FileUtils.deleteDirectory(DOWNLOADS_DIR) //} -} \ No newline at end of file +}