Commit Graph

12 Commits

Author SHA1 Message Date
Mengna Li
8e214e8be1
[cryptopp] update to 8.9.0 (#34322) 2023-10-13 11:28:34 -07:00
Frank
0632df00a2
[cryptopp] Update version to 8.8.0 (#32544) 2023-07-13 11:23:47 -07:00
Aleksi Sapon
ffd75fe389
[cryptopp] Update CMake build script (#29404) 2023-02-03 14:02:18 -08:00
Long Huan
d9ebadf17c
[cryptopp] Avoid redownloading source code (#28701)
* Avoid redownloading source code

* x-add-version
2023-01-04 12:22:36 -08:00
MonicaLiu
17dd9f8bb9
[cryptopp] Support for Release-only build (#28338)
* update cryptopp

* update version

* update cryptopp

* update version

* update cryptopp

* update version

* Simplify the code

* update version

Co-authored-by: Monica <v-liumonica@microsoft.com>
2022-12-16 11:32:12 -08:00
Mengna Li
1b3bb826e3
[cryptopp] update to v8.7.0 (#27710)
* update to 8.7.0

* update
2022-11-09 10:27:04 -08:00
Aleksi Sapon
e80f5365af
Allow disabling Crypto++ ASM using a triplet file (#27361)
Crypto++ checks the host machine instead of the target machine
when deciding which harware extensions it can use. This breaks
cross-compilation in most cases. For example compiling x64 binaries
on Apple Silicon doesn't work.

This change allows users to disable hardware specific instructions
using triplet files if they're trying to cross-compile, by adding

if(PORT STREQUAL "cryptopp")
    set(CRYPTOPP_DISABLE_ASM "ON")
endif()
2022-10-21 15:36:03 -07:00
GPUCode
c1f48cbfbe
[cryptopp]: Fix compilation with clang-cl (#26151)
* cryptopp: Fix compilation with clang-cl

* Add clang-cl 12.0+ to supported configurations
* Use MSVC path to detect CRYPTOPP_CXX17_UNCAUGHT_EXCEPTIONS

* cryptopp: Update port version

* cryptopp: Fix clang-cl SIMD flag detection

* Patch CheckCompileLinkOption to use try_compile on all platforms
* Use GNU path when detecing SSE options with clang-cl
2022-08-05 23:33:42 -07:00
Igor Kostenko
964f2fa145
[cryptopp] Update to version 8.6.0 to fix CVE-2021-40530 (#23324)
* [cryptopp] Update to version 8.6.0

* Update ports/cryptopp/vcpkg.json

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* regenerate versions

* retrigger agent

* retrigger agent

* [crypto] modify patch according upsteam PR, modify version field

* update deprecated functions

* Update versions/c-/cryptopp.json

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Igor Kostenko <ikostenko@perforce.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2022-03-03 12:29:38 -08:00
Billy O'Neal
b295670e4b
Bulk convert control files. (#19986)
```
function Convert-Control {
    Param($full)
    .\vcpkg.exe format-manifest $full
    $root = $full.Substring(0, $full.Length - 7) # CONTROL
    $new = $root + 'vcpkg.json'
    $content = Get-Content -Raw $new
    $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100
    $oldVersion = $asJson['port-version']
    if ($null -eq $oldVersion) {
        $oldVersionFull = $asJson['version-string']
        Write-Host "Got version $oldVersionFull"
        $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$')
        if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) {
            $newFullVersion = [string]$match.Groups[1].Value
            $oldVersion = [int]$match.Groups[2].Value
            Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion"
            $newVersion = $oldVersion + 1
            $asJson['version-string'] = $newFullVersion
            Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion"
        } else {
            Write-Host "No previous version for $full -- setting 1"
            $newVersion = 1
        }
    } else {
        $newVersion = [int]$oldVersion + 1
        Write-Host "New version for $full : $newVersion"
    }

    $asJson['port-version'] = $newVersion

    $content = ConvertTo-Json $asJson -Depth 100
    Set-Content -Path $new -Value $content
    .\vcpkg.exe format-manifest $new
}

Get-ChildItem ports\CONTROL -Recurse | Foreach-Object {
    Convert-Control $_.FullName
}

git commit -am "this message"
.\vcpkg.exe x-add-version -all
git commit -a --amend
```
2021-09-09 01:24:04 -07:00
Owen Rudge
2a4749e8ad
[cryptopp] Update to 8.5.0 (#17533)
* [cryptopp] Update to 8.5.0

* [cryptopp] Update versions

* Update versions/c-/cryptopp.json

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2021-05-06 13:54:57 -07:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00