Commit Graph

62 Commits

Author SHA1 Message Date
ghidravore
c19b492655 Merge remote-tracking branch 'origin/GT-2750_Dan_PR-359_gnomon_UseEclipseMirrorsTransparentlyForCDT' 2019-04-16 14:46:19 -04:00
ghidravore
9d338c1c8d Merge remote-tracking branch 'origin/GT-2748_Dan_PR-Errata' 2019-04-16 14:45:30 -04:00
Ben Zanin
89f4b88503 Change CDT 8.6.0 d/l to use auto mirrors + checksums
Per https://bugs.eclipse.org/bugs/show_bug.cgi?id=134634#c3 this
mirror redirection feature is not well known, but it works and it
removes a decision point from an otherwise copy-and-paste set of
steps.

The `r=1` query fragment causes Eclipse.org's download.php to pass
a redirect directly back to the client rather than a mirror list:
https://git.eclipse.org/c/www.eclipse.org/downloads.git/tree/download.php#n97

Sadly it appears that including the `protocol=https` query element
is wasted effort since that value is unconditionally overridden:
https://git.eclipse.org/c/www.eclipse.org/downloads.git/tree/download.php#n173

Add CDT 8.6.0 checksum verification (via HTTPS)

Per https://wiki.eclipse.org/CBI/How_to_check_integrity_of_downloads_from_the_Eclipse_Foundation
the Eclipse Foundation mirror system offers the ability to retrieve
checksums for mirrored packages to provide an additional degree of
certainty about the absence of tampering in transit, since mirrored
files are provided via HTTP.  (The link cites performance concerns
as the reason for transferring mirrored files unencrypted, but that
concern, while common, is well known to be less worrisome than has
been the case even recently, [eg.][1] )

The `sums.php` [source][2] shows three checkum types may be used as
valid options: md5, sha1, and sha512.  We'll prefer sha512.  We'll
also assume that the `sha512sum` tool is available and supports the
`-c`/`--check` invocation option.

I have observed these three checksum values for `cdt-8.6.0.zip` as
returned by the Eclipse Foundation mirror, and I'm noting them here
rather than in `DevGuide.md` directly on the assumption that it is
a better idea to let `sha512sum` do the verification instead of the
user following the guide:

| Type   | Value |
| ------ | ----- |
| md5    | `8e9438a6e3947d614af98e1b58e945a2` |
| sha1   | `6363c3eece78277cc6b6748bb4eba0166db30a6a` |
| sha512 | `2b8bb498146aa29995e807c5b4e9d5dab0f6afe89a5ce256978b7b2c478677a0cb5a0f15913a32bd99cb7b4bb31230521f70b9c26cdef1cb983dfcea599737c0` |

[1]: https://istlsfastyet.com

[2]: https://git.eclipse.org/c/www.eclipse.org/downloads.git/tree/sums.php
2019-04-11 16:56:31 -04:00
LRFLEW
253ded250b
Fix platform mislabeling in DevGuide.md 2019-04-04 18:29:15 -06:00
d-millar
2b3c61b8e1
Update DevGuide.md
looks like `gradle eclipse` needs to be run after `gradle prepDev`
2019-04-04 15:31:46 -04:00
Dan
c41cda4a7e Fixing typos in DevGuide.md. 2019-04-02 15:59:13 -04:00
Dan
9cb8e07ccb Added GDT/FIDDB instructions and point to ghidra-data repo. 2019-04-02 15:27:40 -04:00
Dan
cfa2b7d350 Updated documentation for building natives. 2019-03-29 11:40:04 -04:00
Dan
56786a9ac0 A silly typo. 2019-03-28 18:15:08 -04:00
Dan
381e7e9f49 Many updates to the Development Guide 2019-03-28 17:29:54 -04:00
Dan
05ad1aa9f3 Updating DevGuide.md and README.md 2019-03-27 13:55:16 -04:00
Dan
79d8f164f8 Candidate release of source code. 2019-03-26 13:46:51 -04:00