Commit Graph

25 Commits

Author SHA1 Message Date
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
Matthieu Penant
9ab06a4def
[lz4] update to 1.9.3 (#16860)
* [lz4] update to 1.9.3

- Update lz4 to 1.9.3 https://github.com/lz4/lz4/releases/tag/v1.9.3
- tested as an install dependency for libarchive on x86-windows and x64-windows.

* forgot baseline / version
2021-04-09 10:25:45 -07:00
Alexander Neumann
3e2409f47d
[VTK/vtk-m] Update VTK to 9.0 and add vtk-m (#11148)
* [vtk-m] new port vtk-m

* [VTK] Update to 9.0

* include local buildtree changes

* [pcl] disable VTK due to API changes in VTK 9.0

* [vtk-m] add supports field to be only x64

* [vtk-dicom] add python executable.

* fix vtkm dependency

* [vtk-dicom] fix missing std:: namespace

* [vtk-m] add uwp to unsupported triplets

* [vtk] add pegtl include patch, reenable IOMotionFX

* remove hdf5 changes for testing

* use different pgetl patch which redirects to the installed config of pegtl

* [pegtl-2] version file needs renaming too

* [vtk] change dependency to pgetl-2 and fix the patch

* [vtk] put in hdf5 fix again and correct manually installed include files

* remove deprecated function to retrigger CI

* [lz4] correctly lowercase the lz4 config

* [vtk] remove unnecessary code

* [pegtl-2] add homepage

* [pegtl] modernize portfiles

* [vtk-dicom] add homepage

* [vtk-dicom] modernize portfile

* [vtk-m] remove empty build depends

* [vtk] try fixing the permission issue

* bump control

* Update FindHDF5.cmake

* Update pegtl.patch

* Update ports/vtk/pegtl.patch

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* [vtk] refactor portfile, added a few deps on [core] and added feature cuda

* [vtk] pegtl.patch: Add additional found message

* [vtk-m] add more documentation comments

* [vtk] fix string replacement

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-11 13:39:50 -07:00
here-mikelley
f68088b9ec
[lz4] Fix for building Linux shared libraries (#10452)
* [lz4] Fix for building Linux shared libraries

* [lz4] Changes requested by maintainer
2020-04-16 13:42:29 -07:00
Ehsan
d926adaa9d [lz4] Update library to 1.9.2 (#7860) 2019-08-23 08:30:32 -07:00
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
JackBoosY
e633c4c45e [lz4]Fix conflict file xxhash.h (#6735)
* [lz4]Fix conflict file xxhash.h

* [lz4]Use xxhash dependency to install xxhash.h
2019-06-05 11:15:11 -07:00
Stefano Sinigardi
69e86fd201 [lz4, flann] port patches from #5169 (#6294)
* [lz4, flann] port patches from #5169

* [lz4] use vcpkg_fixup_cmake_targets

* [flann] improve target handling

* [lz4] remove unnecessary debug message

* [openmvg] many many fixes to build it on windows

* [pcl] use official FLANN cmake config file instead of custom module

* [pcl] fix patch for flann targets

* [pcl] Bump CONTROL version
2019-05-18 22:58:03 -07:00
Robert Schumacher
223d5d82ac
[many ports] Updates 2019.05.07 (#6338)
* [many ports] Updates 2019.05.07

* Undo assimp and gdcm2 changes since they caused regressions
2019-05-08 17:51:44 -07:00
Robert Schumacher
516d10bb68 [many ports] Updates 2019.04.19 (#6155)
* [many ports] Updates 2019.04.19
2019-04-30 09:20:18 -07:00
Robert Schumacher
64a7483a4a Upgrades 2018.09.18 2018-09-19 14:13:12 -07:00
yurybura
7d261fbbc3 Merge branch 'master' of https://github.com/yurybura/vcpkg 2018-05-11 13:34:43 +03:00
yurybura
50e5ee1e40 [lz4] fix version number
[zstd] update to 1.3.4
2018-05-11 13:31:12 +03:00
Koby Kahane
4c32ca6541 [lz4] update to 1.8.2 2018-05-10 23:15:00 +03:00
Yury Bura
ffb7725355 Update versions 2018-03-12 22:44:59 +03:00
yurybura
cc3d12b16b [rocksdb] Fix build and use debug suffix 'd'
[gtest] Fix issue #2373
2018-03-12 19:16:43 +03:00
Koby Kahane
27ada0615c [lz4] update to 1.8.1.2 2018-01-22 15:13:16 +02:00
Alexander Karatarakis
26516fe485 vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7) 2017-09-09 00:12:54 -07:00
codicodi
1b304fff8c [lz4] update to 1.8.0 2017-08-18 20:07:56 +02:00
Martin Müller
1c70d26ad1 Force LF line endings for patch files 2017-05-05 11:45:04 +02:00
codicodi
058c8a825e [lz4] update to 1.7.5 2017-02-25 15:46:19 +01:00
codicodi
bf559d51ec add lz4 2016-12-30 13:31:33 +01:00