tis-wireshark 2.0.1-2

  • package : tis-wireshark
  • version : 2.0.1-2
  • description : Wireshark TCP Packets analyzer (Wireshark development team)
  • maintainer : Hubert TOUVET, Amelie LE JEUNE
  • date : 2018-02-27 19:09:52
  • Depends :

setup.py

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = ['Wireshark']

dlversion1 = '1.12.8'

dlversion2 = '2.0.1'

def install():
    # if you want to modify the keys depending on environment (win32/win64... params..)


 if platform.win32_ver()[0]=='XP' or platform.win32_ver()[0]=='2003Server':
        #1.12.8 is the last supported version on winXP
        if iswin64():
            install_exe_if_needed('Wireshark-win64-%s.exe'%dlversion1,'/S /quicklaunchicon=no','Wireshark',killbefore='wireshark')
        else:
            install_exe_if_needed('Wireshark-win32-%s.exe'%dlversion1,'/S /quicklaunchicon=no','Wireshark',killbefore='wireshark')

 else:
    if iswin64():
        install_exe_if_needed('Wireshark-win64-%s.exe'%dlversion2,'/S /quicklaunchicon=no','Wireshark',killbefore='wireshark')
    else:
        install_exe_if_needed('Wireshark-win64-%s.exe'%dlversion2,'/S','Wireshark',killbefore='wireshark')

""" def update_package():
    import glob
    for exe in glob.glob('Wireshark-*.exe'):
        remove_file(exe)
    wget('https://1.na.dl.wireshark.org/win32/all-versions/Wireshark-win32-%s.exe'%dlversion,'Wireshark-win32-%s.exe'%dlversion)
    wget('https://1.na.dl.wireshark.org/win64/all-versions/Wireshark-win64-%s.exe'%dlversion,'Wireshark-win64-%s.exe'%dlversion)

if __name__ == '__main__':
    update_package()
"""
    

Changelog

No changelog
    

manifest.sha256

[["WAPT/icon.png", "95852c4695a4c1220e886256b2297ab1984c83954128ae4bffe316da15cbe4e6"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["WAPT/wapt.psproj", "df0b280a4dff05ccc3b6185cf1dd39ac9a0aeca883450cc1836a4004baee2567"], ["Wireshark-win32-2.0.1.exe", "03a1d405bdcace6d64d9c743bf544079b4e2eeb1f79c87440c38b5790950beb1"], ["Wireshark-win64-1.12.8.exe", "8945593e10a527a70eb073539aca82ca459c88be58f7e2c6254d4185f4066dcb"], ["WAPT/control", "3b510478430ea7cb945dd784d8d49392b455a5a6a4e716fb1b9c340e1b607575"], ["Wireshark-win32-1.12.8.exe", "a0629a441078ff9c8b22274ecd6a94fd90be9aad8cbd3b81e2f3307334eb5898"], ["setup.py", "adbd823c8d8d4ac373ec9dca22cbbd49a2fec2b8a40fdc5f7a35c7e1b6c5ce53"], ["Wireshark-win64-2.0.1.exe", "5c5c9668d0254d183ef94eaaab2ca35e1376ae1bac3f10b21ccf5e14eaafb045"]]