Skip to content

Commit

Permalink
AU: 4 updated - chromium cmake cmake.install cmake.portable
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Jun 13, 2023
1 parent 9de5c99 commit 62dda19
Show file tree
Hide file tree
Showing 15 changed files with 36 additions and 33 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.5828.0-snapshots",
"snapshots": "116.0.5829.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.5828.0-snapshots</version>
<version>116.0.5829.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/1156159/mini_installer.exe>
64-Bit software: <https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1156174/mini_installer.exe>
32-Bit software: <https://storage.googleapis.com/chromium-browser-snapshots/Win/1156382/mini_installer.exe>
64-Bit software: <https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1156389/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: D015744B2B477F745772649C7A9F5644B329A781B8D27B1E0B16F0AA64F06117
checksum64: 0DC544368C360BD33420538F52E6C87DD460199F735171AE0A0B1277E817D428
checksum32: AB06C8F3694787CF35424F3F1AE4136D5A7B0C54A1445C3EFF71AB3C4308E2AB
checksum64: 87474CCF71847F6E05B3FA06AF2061CC4DB96D4DC266B9EBED73335BF64EBE69

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.5828.0-snapshots"
$version = "116.0.5829.0-snapshots"
$hive = "hkcu"
$chromium_string = "\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Chromium"
$Chromium = $hive + ":" + $chromium_string
Expand Down
3 changes: 2 additions & 1 deletion automatic/cmake.install/cmake.install.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"3.23": "3.23.5",
"3.24": "3.24.4",
"3.25": "3.25.3",
"3.26": "3.26.4"
"3.26": "3.26.4",
"3.27": "3.27.0-rc2"
}
2 changes: 1 addition & 1 deletion automatic/cmake.install/cmake.install.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>cmake.install</id>
<version>3.26.4</version>
<version>3.27.0-rc2</version>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/cmake.install</packageSourceUrl>
<owners>chocolatey-community, dtgm</owners>
<title>CMake (Install)</title>
Expand Down
8 changes: 4 additions & 4 deletions automatic/cmake.install/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ location on <https://cmake.org/download/>
and can be verified by doing the following:

1. Download the following:
32-Bit software: <https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4-windows-i386.msi>
64-Bit software: <https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4-windows-x86_64.msi>
32-Bit software: <https://github.com/Kitware/CMake/releases/download/v3.27.0-rc2/cmake-3.27.0-rc2-windows-i386.msi>
64-Bit software: <https://github.com/Kitware/CMake/releases/download/v3.27.0-rc2/cmake-3.27.0-rc2-windows-x86_64.msi>
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: A7D76CBF44999EF73926984A275418BFDB98EBC4D99C2374E2148F2EC9106DC9
checksum64: 566FED3FA51A274609677717D0A0F38BA69AB0B3D987DF53C05392A13FC211C4
checksum32: 347FEBD0821DDF13FF68C1D912796B21387B6AA56F8A377F731F6EC33A532D6E
checksum64: 43E509570D689DA6B31866367FD43DF7172B50A759A40B1F2B2B35F2CE7CA151

The file 'LICENSE.txt' has been obtained from <https://gitlab.kitware.com/cmake/cmake/blob/master/Copyright.txt>
4 changes: 2 additions & 2 deletions automatic/cmake.install/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ $toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
file = "$toolsPath\cmake-3.26.4-windows-i386.msi"
file64 = "$toolsPath\cmake-3.26.4-windows-x86_64.msi"
file = "$toolsPath\cmake-3.27.0-rc2-windows-i386.msi"
file64 = "$toolsPath\cmake-3.27.0-rc2-windows-x86_64.msi"
softwareName = 'CMake'
silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($env:chocolateyPackageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
validExitCodes = @(0, 3010, 1641)
Expand Down
3 changes: 2 additions & 1 deletion automatic/cmake.portable/cmake.portable.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"3.23": "3.23.5",
"3.24": "3.24.4",
"3.25": "3.25.3",
"3.26": "3.26.4"
"3.26": "3.26.4",
"3.27": "3.27.0-rc2"
}
2 changes: 1 addition & 1 deletion automatic/cmake.portable/cmake.portable.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>cmake.portable</id>
<version>3.26.4</version>
<version>3.27.0-rc2</version>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/cmake.portable</packageSourceUrl>
<owners>chocolatey-community, dtgm</owners>
<title>CMake (Portable)</title>
Expand Down
8 changes: 4 additions & 4 deletions automatic/cmake.portable/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ location on <https://cmake.org/download/>
and can be verified by doing the following:

1. Download the following:
32-Bit software: <https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4-windows-i386.zip>
64-Bit software: <https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4-windows-x86_64.zip>
32-Bit software: <https://github.com/Kitware/CMake/releases/download/v3.27.0-rc2/cmake-3.27.0-rc2-windows-i386.zip>
64-Bit software: <https://github.com/Kitware/CMake/releases/download/v3.27.0-rc2/cmake-3.27.0-rc2-windows-x86_64.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: sha256
checksum32: 342CA44F494985F8EF43676EB8A0404B2C68321036E28AA221CEAB51D377B158
checksum64: 62C35427104A4F8205226F72708D71334BD36A72CF72C60D0E3A766D71DCC78A
checksum32: 723BF57A599CE950F817EE43371B5B4940DD642C123D9A16A2320383829C1789
checksum64: 8C0672C97E4EB4E4F1464582C8E96D23B3F9099FC7C7640CFBC0CCEB1F69E38D

The file 'LICENSE.txt' has been obtained from <https://gitlab.kitware.com/cmake/cmake/blob/master/Copyright.txt>
4 changes: 2 additions & 2 deletions automatic/cmake.portable/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ $toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition

$packageArgs = @{
packageName = $env:ChocolateyPackageName
file = "$toolsPath\cmake-3.26.4-windows-i386.zip"
file64 = "$toolsPath\cmake-3.26.4-windows-x86_64.zip"
file = "$toolsPath\cmake-3.27.0-rc2-windows-i386.zip"
file64 = "$toolsPath\cmake-3.27.0-rc2-windows-x86_64.zip"
destination = $toolsPath
}

Expand Down
3 changes: 2 additions & 1 deletion automatic/cmake/cmake.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"3.23": "3.23.5",
"3.24": "3.24.4",
"3.25": "3.25.3",
"3.26": "3.26.4"
"3.26": "3.26.4",
"3.27": "3.27.0-rc2"
}
4 changes: 2 additions & 2 deletions automatic/cmake/cmake.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>cmake</id>
<version>3.26.4</version>
<version>3.27.0-rc2</version>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/cmake</packageSourceUrl>
<owners>chocolatey-community, dtgm</owners>
<title>CMake</title>
Expand Down Expand Up @@ -44,7 +44,7 @@ For example: `choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'`
* [News](https://blog.kitware.com/tag/CMake/)
* [Changelog](https://www.cmake.org/download/#latest)</releaseNotes>
<dependencies>
<dependency id="cmake.install" version="[3.26.4]" />
<dependency id="cmake.install" version="[3.27.0-rc2]" />
</dependencies>
</metadata>
<files />
Expand Down
14 changes: 7 additions & 7 deletions automatic/cmake/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ function global:au_SearchReplace {
function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing

$allMsis = $download_page.Links | ? href -match '\.msi$' | select -expand href
$allZips = $download_page.Links | ? href -match '\.zip$' | select -expand href
$allMsis = $download_page.Links | Where-Object href -match '\.msi$' | Select-Object -expand href
$allZips = $download_page.Links | Where-Object href -match '\.zip$' | Select-Object -expand href

$streams = @{ }

$re32 = '(win32\-x86|windows-i386)'
$re64 = '(win64-x64|windows-x86_64)'

$allMsis | ? { $_ -match "\-x86.m|\-i386.m" } | % {
$version = ($_ -split '\/' | select -last 1 -skip 1).TrimStart('v')
$url64 = $allMsis | ? { $_ -match "$version-$re64" }
$allMsis | Where-Object { $_ -match "\-x86.m|\-i386.m" } | ForEach-Object {
$version = ($_ -split '\/' | Select-Object -last 1 -skip 1).TrimStart('v')
$url64 = $allMsis | Where-Object { $_ -match "$version-$re64" }
$versionTwopart = $version -replace '^([\d]+\.[\d]+).*$', '$1'

$url32_portable = $allZips | ? { $_ -match "$version-$re32" }
$url64_portable = $allZips | ? { $_ -match "$version-$re64" }
$url32_portable = $allZips | Where-Object { $_ -match "$version-$re32" }
$url64_portable = $allZips | Where-Object { $_ -match "$version-$re64" }

$streams.Add($versionTwopart, @{
Version = $version
Expand Down

0 comments on commit 62dda19

Please sign in to comment.