Wireshark-commits: [Wireshark-commits] master 1404605: Start moving win-setup to PowerShell.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 14 Apr 2015 19:09:34 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1404605513cedd34070154aa355663b8e4734bc4
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

1404605 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Start moving win-setup to PowerShell.
    
    Add win-setup.ps1, which duplicates the following tasks performed by
    config.nmake + Makefile.nmake + win-setup.sh:
    
    - Create the windows library directory.
    - Download files.
    - Download and unpack zip files.
    - Check and set current-tag.txt
    
    Don't verify applications or libraries. CMakeLists.txt does that.
    
    Update the Developer's Guide.
    
    Have POWERSHELL_COMMAND use dot sourcing instead of "-File", which
    appears to be a synonym for "-IgnoreTheExitStatusReturnedByThisScript".
    
    This removes our dependencies on unzip and wget and reduces our dependency
    on bash.
    
    Change-Id: Ia9def24acbe183d81b9d477fa42e655e4a3a6614
    Reviewed-on: https://code.wireshark.org/review/7990
    Reviewed-by: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
    Petri-Dish: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  311758a   openSAFETY: Replace deprecated API
    adds  1404605   Start moving win-setup to PowerShell.


Summary of changes:
 CMakeLists.txt                                     |   39 ++-
 cmake/modules/FindPowerShell.cmake                 |    5 +-
 docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc |    8 +-
 docbook/wsdg_src/WSDG_chapter_tools.asciidoc       |   12 +-
 tools/win-setup.ps1                                |  279 ++++++++++++++++++++
 5 files changed, 323 insertions(+), 20 deletions(-)
 create mode 100644 tools/win-setup.ps1