Skip to content

Commit

Permalink
AU: 5 updated - chromium googlechromebeta php thunderbird vim
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Jun 8, 2023
1 parent b0f595d commit 7c7eb4a
Show file tree
Hide file tree
Showing 17 changed files with 192 additions and 192 deletions.
2 changes: 1 addition & 1 deletion automatic/chromium/chromium.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"snapshots": "116.0.5817.0-snapshots",
"snapshots": "116.0.5819.0-snapshots",
"stable": "114.0.5735.91"
}
2 changes: 1 addition & 1 deletion automatic/chromium/chromium.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>chromium</id>
<version>116.0.5817.0-snapshots</version>
<version>116.0.5819.0-snapshots</version>
<title>Chromium Snapshots</title>
<owners>chocolatey-community</owners>
<authors>The Chromium Authors</authors>
Expand Down
8 changes: 4 additions & 4 deletions automatic/chromium/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ location on <https://github.com/henrypp/chromium/releases/> (the listed mirrors
and can be verified by doing the following:

1. Download the following:
32-Bit software: <https://storage.googleapis.com/chromium-browser-snapshots/Win/1154014/mini_installer.exe>
64-Bit software: <https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1154027/mini_installer.exe>
32-Bit software: <https://storage.googleapis.com/chromium-browser-snapshots/Win/1154561/mini_installer.exe>
64-Bit software: <https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1154602/mini_installer.exe>
2. Get the checksum using one of the following methods:
- Using powershell function 'Get-FileHash'
- Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

checksum type: sha256
checksum32: 9887E9A548477F7024898F814A53A726AABDF414906FCDC470532523A1FD8611
checksum64: 29839EED508BF9680F4DE69292E203493FA1E97E1A221036253E74A38C7BD00D
checksum32: 68B99B334FB1870CA1E4C9FE9EF838FBC48C6AF68D549156AF5991E71CBA192F
checksum64: 17B84EC121D7BE7DA4F2C5AAE24AF417D61060AFA062CCD10C9281B075AC8CBF

The file 'LICENSE.txt' has been obtained from <https://chromium.googlesource.com/chromium/src.git/+/master/LICENSE>
2 changes: 1 addition & 1 deletion automatic/chromium/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
$scriptDir=$toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
. (Join-Path $scriptDir 'helper.ps1')

$version = "116.0.5817.0-snapshots"
$version = "116.0.5819.0-snapshots"
$hive = "hkcu"
$chromium_string = "\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Chromium"
$Chromium = $hive + ":" + $chromium_string
Expand Down
2 changes: 1 addition & 1 deletion automatic/googlechromebeta/googlechromebeta.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>googlechromebeta</id>
<version>115.0.5790.13-beta</version>
<version>115.0.5790.24-beta</version>
<title>Google Chrome Beta</title>
<owners>chocolatey-community,nsleigh</owners>
<authors>Google Inc.</authors>
Expand Down
6 changes: 3 additions & 3 deletions automatic/googlechromebeta/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1

$version = '115.0.5790.13-beta'
$version = '115.0.5790.24-beta'
if ($version -eq (Get-ChromeBetaVersion)) {
Write-Host "Google Chrome Beta $version is already installed."
return
Expand All @@ -12,8 +12,8 @@ $packageArgs = @{
fileType = 'MSI'
url = 'https://dl.google.com/tag/s/dl/chrome/install/beta/googlechromebetastandaloneenterprise.msi'
url64bit = 'https://dl.google.com/tag/s/dl/chrome/install/beta/googlechromebetastandaloneenterprise64.msi'
checksum = '14b7430f10d69688146dff5d6dfc325e05efaaf685affb71355d9aac3b185b1e'
checksum64 = 'aa1f833a9869362be03f6c3e7b4ade8032b8c2938d9082521b982bc795be0d1b'
checksum = 'e368475848470385825eb3ac9c86773e8b21ebb9b7b96b369b598d14e985c7c5'
checksum64 = '93159a463c5bbc29f6049875b38c44fb47c77e9fd48c61aeb9ce784ab6ac6201'
checksumType = 'sha256'
checksumType64 = 'sha256'
silentArgs = "/quiet /norestart /l*v `"$($env:TEMP)\$($env:chocolateyPackageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
Expand Down
16 changes: 8 additions & 8 deletions automatic/php/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ location on <http://windows.php.net/download>
and can be verified by doing the following:

1. Download the following:
32-Bit software (threadsafe): <http://windows.php.net/downloads/releases/php-8.1.19-Win32-vs16-x86.zip>
64-Bit software (threadsafe): <http://windows.php.net/downloads/releases/php-8.1.19-Win32-vs16-x64.zip>
32-Bit software (non-threadsafe): <http://windows.php.net/downloads/releases/php-8.1.19-nts-Win32-vs16-x86.zip>
64-Bit software (non-threadsafe): <http://windows.php.net/downloads/releases/php-8.1.19-nts-Win32-vs16-x64.zip>
32-Bit software (threadsafe): <http://windows.php.net/downloads/releases/php-8.0.29-Win32-vs16-x86.zip>
64-Bit software (threadsafe): <http://windows.php.net/downloads/releases/php-8.0.29-Win32-vs16-x64.zip>
32-Bit software (non-threadsafe): <http://windows.php.net/downloads/releases/php-8.0.29-nts-Win32-vs16-x86.zip>
64-Bit software (non-threadsafe): <http://windows.php.net/downloads/releases/php-8.0.29-nts-Win32-vs16-x64.zip>
2. Get the checksum using one of the following methods:
- Using powershell function 'Get-FileHash'
- Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

checksum type:
checksum32 (threadsafe): 33886D5D505B3D3FF84672EEBF383539491BA56A128C3019BC6B0B5EFC7680A5
checksum64 (threadsafe): 950C3AC358853DE46BD722B755AA37A49EC3C689F8D289BA5615DE73E0822ED9
checksum32 (non-threadsafe): 9D4749B021665F44595596121F9AA20371332BB260E32185E0CED836710D08E7
checksum64 (non-threadsafe): 5CD43461A23C1966FFE0444762A4EBCE8E4FD0C3A11EC96B64549CB12AE7F5F0
checksum32 (threadsafe): 55DA5EE31BBB3454DD65BB23011F3C0E0209E0E832F592F9CBCA1F73ACB66ADF
checksum64 (threadsafe): 7FBECC489E7FD67EA66CBECCBA3B983249F861778BDA4117B31491976FF83A63
checksum32 (non-threadsafe): B0C424B5E870A90C726E85CDB0581A70749E3EA57FB52539D684F08304137536
checksum64 (non-threadsafe): 0E85A7B30306581625E9FCF72561C508B4CC467AA9EE5EEB49A84770CFA85223

The file 'LICENSE.txt' has been obtained from <http://www.php.net/license/3_01.txt>
2 changes: 1 addition & 1 deletion automatic/php/php.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"7.2": "7.2.34",
"7.3": "7.3.33",
"7.4": "7.4.33",
"8.0": "8.0.28",
"8.0": "8.0.29",
"8.1": "8.1.19",
"8.2": "8.2.6"
}
4 changes: 2 additions & 2 deletions automatic/php/php.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>php</id>
<title>PHP (Hypertext Preprocessor)</title>
<version>8.1.19</version>
<version>8.0.29</version>
<authors>PHP Authors</authors>
<owners>chocolatey-community, Rob Reynolds</owners>
<summary>PHP – widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.</summary>
Expand All @@ -29,7 +29,7 @@ For example: `choco install php --package-parameters='"/ThreadSafe ""/InstallDir
<tags>php development programming foss cross-platform admin</tags>
<licenseUrl>http://us.php.net/license/</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>https://www.php.net/ChangeLog-8.php#8.1.19</releaseNotes>
<releaseNotes>https://www.php.net/ChangeLog-8.php#8.0.29</releaseNotes>
<iconUrl>https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@4e147ce52b1a2a7ac522ffbce6d176f257de6ac1/icons/php.svg</iconUrl>
<bugTrackerUrl>https://bugs.php.net/</bugTrackerUrl>
<docsUrl>https://secure.php.net/docs.php</docsUrl>
Expand Down
8 changes: 4 additions & 4 deletions automatic/php/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ if ($installLocation) {
$pp = Get-PackageParameters

$filesInfo = @{
filets32 = "$toolsPath\php-8.1.19-Win32-vs16-x86.zip"
filets64 = "$toolsPath\php-8.1.19-Win32-vs16-x64.zip"
filents32 = "$toolsPath\php-8.1.19-nts-Win32-vs16-x86.zip"
filents64 = "$toolsPath\php-8.1.19-nts-Win32-vs16-x64.zip"
filets32 = "$toolsPath\php-8.0.29-Win32-vs16-x86.zip"
filets64 = "$toolsPath\php-8.0.29-Win32-vs16-x64.zip"
filents32 = "$toolsPath\php-8.0.29-nts-Win32-vs16-x86.zip"
filents64 = "$toolsPath\php-8.0.29-nts-Win32-vs16-x64.zip"
}

if ($pp.ThreadSafe) {
Expand Down
46 changes: 23 additions & 23 deletions automatic/php/update.ps1
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
import-module au
import-module au

$releases = 'http://windows.php.net/download'

function global:au_BeforeUpdate {
rm -Recurse -Force "$PSScriptRoot\tools\*.zip"
Remove-Item -Recurse -Force "$PSScriptRoot\tools\*.zip"
# threadsafe
$Latest.FileNameTS32 = $Latest.URLTS32 -split '/' | select -Last 1
iwr $Latest.URLTS32 -OutFile tools\$($Latest.FileNameTS32)
$Latest.ChecksumTS32 = Get-FileHash tools\$($Latest.FileNameTS32) | % Hash
$Latest.FileNameTS32 = $Latest.URLTS32 -split '/' | Select-Object -Last 1
Invoke-WebRequest $Latest.URLTS32 -OutFile tools\$($Latest.FileNameTS32)
$Latest.ChecksumTS32 = Get-FileHash tools\$($Latest.FileNameTS32) | ForEach-Object Hash

$Latest.FileNameTS64 = $Latest.URLTS64 -split '/' | select -Last 1
iwr $Latest.URLTS64 -OutFile tools\$($Latest.FileNameTS64)
$Latest.ChecksumTS64 = Get-FileHash tools\$($Latest.FileNameTS64) | % Hash
$Latest.FileNameTS64 = $Latest.URLTS64 -split '/' | Select-Object -Last 1
Invoke-WebRequest $Latest.URLTS64 -OutFile tools\$($Latest.FileNameTS64)
$Latest.ChecksumTS64 = Get-FileHash tools\$($Latest.FileNameTS64) | ForEach-Object Hash

# non-threadsafe
$Latest.FileNameNTS32 = $Latest.URLNTS32 -split '/' | select -Last 1
iwr $Latest.URLNTS32 -OutFile tools\$($Latest.FileNameNTS32)
$Latest.ChecksumNTS32 = Get-FileHash tools\$($Latest.FileNameNTS32) | % Hash
$Latest.FileNameNTS32 = $Latest.URLNTS32 -split '/' | Select-Object -Last 1
Invoke-WebRequest $Latest.URLNTS32 -OutFile tools\$($Latest.FileNameNTS32)
$Latest.ChecksumNTS32 = Get-FileHash tools\$($Latest.FileNameNTS32) | ForEach-Object Hash

$Latest.FileNameNTS64 = $Latest.URLNTS64 -split '/' | select -Last 1
iwr $Latest.URLNTS64 -OutFile tools\$($Latest.FileNameNTS64)
$Latest.ChecksumNTS64 = Get-FileHash tools\$($Latest.FileNameNTS64) | % Hash
$Latest.FileNameNTS64 = $Latest.URLNTS64 -split '/' | Select-Object -Last 1
Invoke-WebRequest $Latest.URLNTS64 -OutFile tools\$($Latest.FileNameNTS64)
$Latest.ChecksumNTS64 = Get-FileHash tools\$($Latest.FileNameNTS64) | ForEach-Object Hash
}

function global:au_SearchReplace {
Expand Down Expand Up @@ -53,14 +53,14 @@ function global:au_SearchReplace {
function Get-Dependency() {
param($url)

$dep = $url -split '\-' | select -last 1 -skip 1
$dep = $url -split '\-' | Select-Object -last 1 -skip 1

$result = @{
'vs16' = @{ Id = 'vcredist140'; Version = '14.28.29325.2' }
'vc15' = @{ Id = 'vcredist140'; Version = '14.16.27012.6' }
'vc14' = @{ Id = 'vcredist140'; Version = '14.0.24215.1' }
'vc11' = @{ Id = 'vcredist2012'; Version = '11.0.61031' }
}.GetEnumerator() | ? Key -eq $dep | select -first 1 -expand Value
}.GetEnumerator() | Where-Object Key -eq $dep | Select-Object -first 1 -expand Value

if (!$result) {
throw "VC Redistributable version was not found. Please check the script."
Expand All @@ -75,8 +75,8 @@ function CreateStream {
Version = $version
URLNTS32 = 'http://windows.php.net' + $url32bit
URLNTS64 = 'http://windows.php.net' + $url64bit
URLTS32 = 'http://windows.php.net' + ($url32bit | % { $_ -replace '\-nts', '' })
URLTS64 = 'http://windows.php.net' + ($url64bit | % { $_ -replace '\-nts', '' })
URLTS32 = 'http://windows.php.net' + ($url32bit | ForEach-Object { $_ -replace '\-nts', '' })
URLTS64 = 'http://windows.php.net' + ($url64bit | ForEach-Object { $_ -replace '\-nts', '' })
ReleaseNotes = "https://www.php.net/ChangeLog-$($version.Major).php#${version}"
Dependency = Get-Dependency $url32Bit
}
Expand All @@ -95,14 +95,14 @@ function CreateStream {
function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing

$url32Bits = $download_page.links | ? href -match 'nts.*x86\.zip$' | ? href -notmatch 'debug|devel' | select -expand href
$url64Bits = $download_page.links | ? href -match 'nts.*x64\.zip$' | ? href -notmatch 'debug|devel' | select -expand href
$url32Bits = $download_page.links | Where-Object href -match 'nts.*x86\.zip$' | Where-Object href -notmatch 'debug|devel' | Select-Object -expand href
$url64Bits = $download_page.links | Where-Object href -match 'nts.*x64\.zip$' | Where-Object href -notmatch 'debug|devel' | Select-Object -expand href

$streams = @{ }

$url32Bits | sort | % {
$version = $_ -split '-' | select -first 1 -Skip 1
$url64Bit = $url64Bits | ? { $_ -split '-' | select -first 1 -skip 1 | ? { $_ -eq $version } }
$url32Bits | Sort-Object | ForEach-Object {
$version = $_ -split '-' | Select-Object -first 1 -Skip 1
$url64Bit = $url64Bits | Where-Object { $_ -split '-' | Select-Object -first 1 -skip 1 | Where-Object { $_ -eq $version } }

$streams.Add((Get-Version $version).ToString(2), (CreateStream $_ $url64Bit $version))

Expand Down
2 changes: 1 addition & 1 deletion automatic/thunderbird/thunderbird.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>thunderbird</id>
<version>102.11.2</version>
<version>102.12.0</version>
<title>Mozilla Thunderbird</title>
<owners>chocolatey-community</owners>
<authors>Mozilla</authors>
Expand Down
Loading

0 comments on commit 7c7eb4a

Please sign in to comment.