Skip to content

Commit

Permalink
AU: 3 updated - cmake cmake.install cmake.portable
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Jan 15, 2018
1 parent 597f920 commit fdb051b
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion automatic/cmake.install/cmake.install.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"3.8": "3.8.2",
"3.9": "3.9.6",
"3.10": "3.10.1"
"3.10": "3.10.1.20180115"
}
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.9.6</version>
<version>3.10.1.20180115</version>
<packageSourceUrl>https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/cmake.install</packageSourceUrl>
<owners>chocolatey, 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://cmake.org/files/v3.9/cmake-3.9.6-win32-x86.msi>
64-Bit software: <https://cmake.org/files/v3.9/cmake-3.9.6-win64-x64.msi>
32-Bit software: <https://cmake.org/files/v3.10/cmake-3.10.1-win32-x86.msi>
64-Bit software: <https://cmake.org/files/v3.10/cmake-3.10.1-win64-x64.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: A9519EBD0ED18D81E4C36D26C6FBA3569F5901E56AD3A75BDEAF049455C516C6
checksum64: 2E18D1D59B9FF769F838CCA80AF918C3829103771E16A9024684ACC0B9AB3F51
checksum32: 2D3B18344D476A64FF4AD151B186C1FF9AA533129821AFD80E6CEFFB9BB28680
checksum64: 23FE84A5CEC997E1B8A7725713CF8B0934071F5B25B53C51ACF51490DFF4E468

The file 'LICENSE.txt' has been obtained from <https://gitlab.kitware.com/cmake/cmake/blob/master/Copyright.txt>
6 changes: 3 additions & 3 deletions automatic/cmake.install/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ $toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
file = "$toolsPath\cmake-3.9.6-win32-x86.msi"
file64 = "$toolsPath\cmake-3.9.6-win64-x64.msi"
file = "$toolsPath\cmake-3.10.1-win32-x86.msi"
file64 = "$toolsPath\cmake-3.10.1-win64-x64.msi"
softwareName = 'CMake'
silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($env:chocolateyPackageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
validExitCodes = @(0, 3010, 1641)
}

Install-ChocolateyInstallPackage @packageArgs

Get-ChildItem $toolsPath\*.msi | % { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" } }
Get-ChildItem $toolsPath\*.msi | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" } }
2 changes: 1 addition & 1 deletion automatic/cmake.portable/cmake.portable.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"3.8": "3.8.2",
"3.9": "3.9.6",
"3.10": "3.10.1"
"3.10": "3.10.1.20180115"
}
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.9.6</version>
<version>3.10.1.20180115</version>
<packageSourceUrl>https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/cmake.portable</packageSourceUrl>
<owners>chocolatey, 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://cmake.org/files/v3.9/cmake-3.9.6-win32-x86.zip>
64-Bit software: <https://cmake.org/files/v3.9/cmake-3.9.6-win64-x64.zip>
32-Bit software: <https://cmake.org/files/v3.10/cmake-3.10.1-win32-x86.zip>
64-Bit software: <https://cmake.org/files/v3.10/cmake-3.10.1-win64-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: sha256
checksum32: 8DD4B6C35AFA8E0C044789B55645327CC4BB75276F87C6758F9997C08F559256
checksum64: FA667BF658FA526E4E2489A9704F83F851E5DED66A18904424BA1B8505FD4DC0
checksum32: 6FE010CCE1201D884CD7A9535DB8A1F16D98B8965341251FDE8F1C5069EE58C0
checksum64: 8251F70C85B58F3CA1F24E4A3B0637E2D609B5E4A341D00B70E02E89244D5029

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.9.6-win32-x86.zip"
file64 = "$toolsPath\cmake-3.9.6-win64-x64.zip"
file = "$toolsPath\cmake-3.10.1-win32-x86.zip"
file64 = "$toolsPath\cmake-3.10.1-win64-x64.zip"
destination = $toolsPath
}

Expand Down
2 changes: 1 addition & 1 deletion automatic/cmake/cmake.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"3.8": "3.8.2",
"3.9": "3.9.6",
"3.10": "3.10.1"
"3.10": "3.10.1.20180115"
}
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.9.6</version>
<version>3.10.1.20180115</version>
<packageSourceUrl>https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/cmake</packageSourceUrl>
<owners>chocolatey, dtgm</owners>
<title>CMake</title>
Expand Down Expand Up @@ -44,7 +44,7 @@ For example: `choco install cmake --installargs 'ADD_CMAKE_TO_PATH=""User""'`
* [News](https://blog.kitware.com/tag/CMake/)
* [Changelog](https://www.cmake.org/download/#latest)</releaseNotes>
<dependencies>
<dependency id="cmake.install" version="[3.9.6]" />
<dependency id="cmake.install" version="[3.10.1.20180115]" />
</dependencies>
</metadata>
<files />
Expand Down

0 comments on commit fdb051b

Please sign in to comment.