Wireshark-commits: [Wireshark-commits] master-2.6 d9945d9: win-setup.ps1: verify integrity of downl
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d9945d99cf8541b0e3189bd2f4803e2297a156e5
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark
Commits:
d9945d9 by Peter Wu (peter@xxxxxxxxxxxxx):
win-setup.ps1: verify integrity of downloaded files
If for whatever reason a download got corrupted, detect this and
reattempt the download. This protects the developer against server
compromises. Additionally, if an uploaded file was wrong and needs to be
replaced, then this check ensures that the updated file is used.
The -Force option is removed as there is no point in downloading the
same file twice (well, except maybe for verifying that all checksums are
correct, but that can be done with a new destination directory as well).
Change-Id: I770cc8917c49f7fab7209121b2a059dea8f21a58
Reviewed-on: https://code.wireshark.org/review/28954
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
(cherry picked from commit c4d76452d3134ae03e2508471a5c659c77bf7316)
[Peter: adjusted archives arrays to match master-2.6, add GTK+
subdirectory]
Reviewed-on: https://code.wireshark.org/review/31306
Actions performed:
from 9be650b win-setup.ps1: make downloads faster by reusing proxy information
add d9945d9 win-setup.ps1: verify integrity of downloaded files
Summary of changes:
tools/win-setup.ps1 | 181 ++++++++++++++++++++++++++++++++--------------------
1 file changed, 111 insertions(+), 70 deletions(-)