Skip to content

Commit

Permalink
(wireshark) delete 32bit starting from v4
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevenaar committed Oct 24, 2022
1 parent 3197713 commit e61f824
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions automatic/wireshark/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ The installer have been downloaded from their official download link listed on <
and can be verified like this:

1. Download the following installers:
32-Bit: <https://1.na.dl.wireshark.org/win32/Wireshark-win32-3.6.8.exe>
64-Bit: <https://1.na.dl.wireshark.org/win64/Wireshark-win64-3.6.8.exe>
2. You can use one of the following methods to obtain the checksum
- Use powershell function 'Get-Filehash'
- Use chocolatey utility 'checksum.exe'

checksum type: sha256
checksum32: 332AFF4889F73EE1DAF656E3411554685796A51F8059E2CD531BB60FB754799C
checksum64: 17CE19DEF77592D4C0FB0B680E77E4712DD6C8C4AF79C6D58A281EB509A4F34B

File 'LICENSE.txt' is obtained from <https://gitlab.com/wireshark/wireshark/-/blob/master/COPYING>
1 change: 0 additions & 1 deletion automatic/wireshark/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
file = "$toolsDir\Wireshark-win32-3.6.8.exe"
file64 = "$toolsDir\Wireshark-win64-3.6.8.exe"
softwareName = 'Wireshark*'
silentArgs = '/S /quicklaunchicon=no'
Expand Down
5 changes: 0 additions & 5 deletions automatic/wireshark/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ function global:au_GetLatest {
$re64 = '(http[s]?|[s]?)(:\/\/)([^\s,]+)\/win64\/[Ww]ire[Ss]hark-win64-[\d\.]+\.exe$'
$url64 = $version_page.links | Where-Object href -match $re64 | Select-Object -First 1 -expand href
$version = $url64 -split '-|.exe' | Select-Object -Last 1 -Skip 1
$url32 = $url64 -replace "win64", "win32"

return @{
URL32 = $url32
URL64 = $url64
Version = $version
FileType = 'exe'
Expand All @@ -26,15 +24,12 @@ function global:au_GetLatest {
function global:au_SearchReplace {
return @{
".\tools\chocolateyInstall.ps1" = @{
"(?i)(^\s*file\s*=\s*`"[$]toolsDir\\).*" = "`${1}$($Latest.FileName32)`""
"(?i)(^\s*file64\s*=\s*`"[$]toolsDir\\).*" = "`${1}$($Latest.FileName64)`""
}
".\legal\VERIFICATION.txt" = @{
"(?i)(listed on\s*)\<.*\>" = "`${1}<$($version_page)>"
"(?i)(32-Bit.+)\<.*\>" = "`${1}<$($Latest.URL32)>"
"(?i)(64-Bit.+)\<.*\>" = "`${1}<$($Latest.URL64)>"
"(?i)(checksum type:).*" = "`${1} $($Latest.ChecksumType32)"
"(?i)(checksum32:).*" = "`${1} $($Latest.Checksum32)"
"(?i)(checksum64:).*" = "`${1} $($Latest.Checksum64)"
}
}
Expand Down

0 comments on commit e61f824

Please sign in to comment.