autoantwort
|
7d02e810e7
|
[lz4] don't install xxhash header (#28748)
|
2023-01-08 22:04:15 -08:00 |
|
Koby Kahane
|
623771ee43
|
[lz4] update to 1.9.4. (#28348)
|
2023-01-04 14:47:07 -08:00 |
|
Eddy Pronk
|
2666deec0c
|
[lz4] Patch for CVE-2021-3520 (#25421)
* [lz4] Patch for CVE-2021-3520
See https://nvd.nist.gov/vuln/detail/CVE-2021-3520 for more details
This is the upstream patch by Jasper Lievisse Adriaanse.
"Fix potential memory corruption with negative memmove() size"
https://github.com/lz4/lz4/pull/972
* Added license to lz4/vcpkg.json
|
2022-06-29 12:40:29 -07:00 |
|
Kai Pastor
|
845a5fda11
|
[libarchive,lz4] Fix pc file, modernize portfile (#20146)
* Fix pc file
* Modernize portfile
* OpenSSL unused on 'Darwin'
* x-add-version
* More port cleanup (CR requests)
* Revise wrapper, using find_package
* Don't use pkgconfig modules for windows openssl
* Update versions
* Use namespaced variables for custom lzo lookup
* Wrapper needs CMP0012
* Skip dependencies if not LibArchive_FOUND
* Update versions
* Fix liblz4.pc debug lib fixup
* Update versions
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
|
2021-09-24 12:06:17 -07:00 |
|
Kai Pastor
|
35c086d050
|
[lz4] Install pc file, cleanup (#20108)
* Drop unused xxhash dependency
* Modernize portfile
* Install pc file
* x-add-version
* Switch to 'version' field
* Update versions
* Fix liblz4 pc file name
* Update versions
|
2021-09-13 13:25:29 -07: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 |
|