Commit Graph

23 Commits

Author SHA1 Message Date
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
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
myd7349
cb537a2aee
[licensepp] Add new port (#11711)
* [licensepp] Add new port

* [cryptopp-pem] Update to a newer version that will make lincensepp happy

* Revert "[cryptopp-pem] Update to a newer version that will make lincensepp happy"

This reverts commit 726e3ce3d2.

This version can not compile with cryptopp.

* [licensepp] Finish it

* [licensepp] Fix interface include directory

* [licensepp] Fixup cmake targets

* [licensepp] -O3 is not recognised by msvc

* [licensepp] Fix _iterator_debug_level value mismatch

* [licensepp] Update patch file

* [licensepp] Fail fast on UWP

* [licensepp] Simplify patch file

* [licensepp] Tabs -> Spaces
2020-06-11 01:00:07 -07:00
Tatsuro Shibamura
11b8872c97 [cryptopp] Fixed build error on ARM32/ARM64 Windows (#9633)
* [cryptopp] Fixed build error on ARM64 Windows

* [cryptopp] Update ci.baseline.txt

* Update version

* Use VCPKG_TARGET_IS_OSX variable
2020-01-22 12:44:54 -08:00
Ehsan
0c16ce6ea5 [cryptopp] Update library to 8.2.0 (#7854) 2019-08-23 08:29:41 -07:00
Stefano Sinigardi
47d206e149 [many ports] improvements for linux/wsl (#6730)
* [many ports] improve compatibility with WSL and mixed case filesystems

* [treehopper] express dependency on libusb, which was not working on non-win32 platforms and is still broken there

* [libharu] add compatibility with non-win32 platforms

* [geogram] fix openblas on linux
[clapack] better integration with linux environment
[visit-struct] put cmake config file in the expected folder
[geogram] remove trailing underscore to enable compatibility with OpenBLAS

* [openblas] playing with underscore, without success

* [openblas/lapack] fix library integration

* [clapack] improve target handling in cmake module

* [openblas] promote self-generated config to default cmake module, otherwise internal ones thinks wrongly that openblas can also solve lapack libs

* [clapack,openblas] improve libraries integration

* [many ports] fix cmake unnecessary target paths, wrong config paths, empty default dependencies, unnecessary [core] tags

* [suitesparse] improve integration with new lapack/openblas mechanism

* [suitesparse] add no underscore postfix also for linux

* [ceres] fix integration with newer openblas/lapack configs

* [aws-c-event-stream] fix regression

* [systemc] fix regression

* [libwebp,geogram] trigger rebuild

* [libwebp,pthread4w] fix regressions

* [glbinding] fix cmake module installation

* [globjects] disentangle unnecessary dependency from qt5

* [jasper] remove broken and unnecessary patches

* [libwebp] fix regression

* [many ports] avoid using BUILD_SHARED_LIBS which is uninitialized in port files

* [clapack] correctly find dlls

* [clapack] use a generic blas as dependency

* [fizz,g2o] restore expected version

* fix mistake

* [many ports] remove WIN32, APPLE and UNIX (again, they keep creeping in) from ports since they are broken and usually break non-win32 ports

* [libressl,openssl] do not try to build one if the other is already installed

* [itk] update ref and patch to avoid regression

* [libressl,openssl] implement full strategy to fix CI

* [libwebp] disable components that are broken on macOS

* [ogre] enable macOS build

* [freeimage,jxrlib,ogre,openexr,protobuf] port patches from #5169

* [ogre] add missing install command

* [ffmpeg] enable wrapper for cmake module

* [ffmpeg] add avresample module finder

* [ffmpeg] improve module detection and exported symbols

* [ffmpeg] add variables to cache

* [thrift] remove unnecessary build option

* [allegro5] fix shared/static inversion

* [protobuf] cleanup

* [libressl] cleanup

* [moos-core] cleanup

* commented features must not be separated from other features, otherwise vcpkg complains

* [itk] fix regression

* [shogun,itk] fix regressions

* [ogre] fix regression

* [opusfile] add compatibility with non-win32

* [itk] fix regression

* [sndfile,libsndfile] remove duplicate, redirect sndfile to libsndfile

* add missing dependencies

* [ismrmrd] fix regression

* [ffmpeg] trigger rebuild

* [clapack,openblas,libogg] fix regressions on macOS

* [libtins] fix regression

* force rebuild windows regressions, unable to reproduce locally

* [mosquitto] enable non-win32 builds

* [json-dto] force rebuild, unable to reproduce regression locally

* [many ports] uniform naming and path length requests

* fix regression

* fix regression

* [ffmpeg] fixes for downstream projects

* clean up - thanks to reviewers

* trigger rebuild of regressions on macOS

* trigger rebuild of regressions on macOS - part2

* Add core back

* Use VCPKG_CONCURRENCY

* Add core back to suitesparse

* Add core back to curl

* Add core back to magnum

* Add core back to magnum

* Add core back to magnum

* Add core back to cgal
2019-06-20 19:11:54 -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
Jon Spencer
e2d5324c57 [cryptopp] fix build by disabling assembly on osx (#6821)
* [cryptopp] fix build by disabling assembly on osx

* [cryptopp] Bump control version
2019-06-08 18:35:37 -07:00
NancyLi1013
d00223cbb9 [cryptopp] Update the version to 8.1.0(Fix #3260) (#6010)
* allow building "ffmpeg.exe" 

add new feature "ffmpeg" which allows to build "ffmpeg.exe" - ex. : vcpkg install ffmpeg[x264,gpl,nonfree,ffplay,ffprobe,openssl,lzma,opencl,ffmpeg]:x64-windows-static --recurse

* allow building "ffmpeg.exe" 

add new feature "ffmpeg" which allows to build "ffmpeg.exe" - ex. : vcpkg install ffmpeg[x264,gpl,nonfree,ffplay,ffprobe,openssl,lzma,opencl,ffmpeg]:x64-windows --recurse

* fix static build of ffmpeg-executables

build ffplay.exe etc. failed because we tried to link ".a"-libraries

* allow building "ffmpeg.exe" 

add new feature "ffmpeg" which allows to build "ffmpeg.exe" - ex. : vcpkg install ffmpeg[x264,gpl,nonfree,ffplay,ffprobe,openssl,lzma,opencl,ffmpeg]:x64-windows-static --recurse

* allow building "ffmpeg.exe" 

add new feature "ffmpeg" which allows to build "ffmpeg.exe" - ex. : vcpkg install ffmpeg[x264,gpl,nonfree,ffplay,ffprobe,openssl,lzma,opencl,ffmpeg]:x64-windows --recurse

* fix static build of ffmpeg-executables

build ffplay.exe etc. failed because we tried to link ".a"-libraries

* Remove duplicate feature entries

* [clapack] Fix linux build

* [openblas] Remove restriction of build static lib on Linux

* Update ports/openblas/portfile.cmake

Co-Authored-By: kafeg <v31337@gmail.com>

* [ffmpeg] bump control version number

* [ffmpeg] switch to vcpkg_extract_source_archive_ex

* add parallel-hashmap package

* update version of package

* Check scripts/cmake/* and buildsystems/vcpkg.cmake for changes when hashing

* [cryptopp] Update the version to 8.1.0(Fix #3260)

* [darknet] add compatibility with OpenCV 4 (#6018)

* [curl] Bump CONTROL version (#6012)

* [sdl1]Fix sdl1 conflict with sdl2 (#6011)

* Use Opus CMake #4875 (#6007)

* Print what port installed confliciting files

* Revert "Print what port installed confliciting files"

This reverts commit 79682317c9.

* Complete revert of accidental merge b1b7ec5c0b

* [activemq-cpp] Add activemq-cpp library (#6017)

* [fix][ffmpeg] changing $PATH separator for Linux (#6015)

* [fix][ffmpeg] changing $PATH separator for Linux

Using a semicolon in $PATH might break on some flavors of Linux, eg Docker based on Ubuntu 18.04.

* Enable openssl:arm64-windows

* Add missing dependency for static Qt builds

* Enable pcre:arm64-windows

Update sljitConfigInternal.h for ARM64, resolve error C2375: 'FlushInstructionCache': redefinition; different linkage

* Enable pcre:arm64-windows

Update format

* Enable pcre2:arm64-windows

Update sljitConfigInternal.h for ARM64

* partial update for testing

* add git hash

* Revert "add git hash"

This reverts commit 1a3b388a91.

* Revert "partial update for testing"

This reverts commit 880181892e.

* [openssl-windows] Bump version number

* [pcre2] Bump version number

* [openvdb] Fix openvdb[tools] build failures (#6028)

* Update CONTROL

Bump the version in CONTROL file

* Update CONTROL

Bump the version in CONTROL file

* Update CONTROL

Revert version number since @grdowns already bumps version number

* Add --no-recurse switch to depend-info command.

* Add -allowAppleClang option to bootstrap.sh. (fixes #4698) (#5915)

* Add -allowAppleClang option to bootstrap.sh. (fixes #4698)

* [vcpkg-bootstrap] Simplify appleclang changes and reformat

* [vcpkg-bootstrap] Remove enviroment variable VCPKG_ALLOW_APPLE_CLANG

* [distorm, scylla_wrapper, devicenameresolver] init (#4170)

* distorm init

* scylla wrapper init

* devicenameresolver init

* [devicenameresolver][distorm][scylla-wrapper] Cleanup and mark libraries as dll-only.

* Bumb version number for qt5-base port

* [devil/libcopp/spaceland] stable cmake config (#6046)

* [darknet] sync with community expected version, add fixes for downstream projects (#6047)

* Print what port installed confliciting files (#6037)

* [PEGTL] Upgrade to 2.8.0

Migration guide:
https://github.com/taocpp/PEGTL/blob/master/doc/Migration-Guide.md#version-280

* [docs] Add VCPKG_CMAKE_SYSTEM_VERSION (#6061)

* Add help entry for depend-info

* [jsoncons] add port

* Bump version numbers, fix system name check

* [libpqxx]Update to version 6.4.3

* Add missing compiler flags
2019-04-12 08:42:59 -07:00
Owen Rudge
82e19b3804 [cryptopp] Update to 8.0.0 (#5328) 2019-02-07 12:17:36 -08:00
Koby Kahane
0fe909718c [cryptopp] update to 7.0 (#4346)
* [cryptopp] update to 7.0

* [cryptopp] Fix Linux builds
2018-10-17 11:51:09 -07:00
Robert Schumacher
ca58367c9a [cryptopp] Fix UWP builds 2018-03-29 18:34:38 -07:00
Koby Kahane
2e4d839dc5 [cryptopp] Update to 6.1.0 (#3171)
* [cryptopp] Update to 6.1.0

The CMake files for CryptoPP that were previously built into the project are now available separately in cryptopp-cmake, so we pick them up from there.

* [cryptopp] USe ninja, fixup_cmake_targets
2018-03-29 10:57:32 -07: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
Alexander Karatarakis
cadee66ca2 If portfile is not static-enabled yet, warn and then build dynamic
The opposite if portfile is not dynamic enabled
2016-11-08 14:38:47 -08:00
Alexander Karatarakis
1808d461b0 triplet is now automatically included before portfiles.
Also remove trailing whitespaces from portfiles
2016-11-08 14:25:47 -08:00
Alexander Karatarakis
e9a17729ec [cryptopp] Fail when trying to build dll 2016-10-26 12:18:53 -07:00
Stephan Kaiser
b9495bab4b add port for Crypto++ 2016-10-25 11:26:35 +02:00