Commit Graph

97 Commits

Author SHA1 Message Date
Maxim Ivanov
a79bb7b608
[curl] Fix SSL on iOS (#26060)
* Fix SSL on iOS

Enables secure transport SSL backend on iOS.

When CURL_CA_BUNDLE is set (defaults to /etc/ssl/cert.pem) curl sets it as CA for every request, but on iOS this file is missing and curl's `sectransp` SSL implementation can't deal with it, failing the request completely.

This change makes CURL_CA_BUNDLE to be unset, much like CURL_CA_PATH so that `sectransp` uses system CA store.

* Update versions/c-/curl.json

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
2022-08-02 23:20:19 -07:00
Kai Pastor
3b537144f7
[curl] Update to 7.84.0 (#25515)
* Update to 7.84.0

* Update versions

* Ignore libpsl system lib

* ENABLE_DEBUG only affects debug build

* Remove obsolete variables

* Update versions

* Remove obsolete CURL_STATICLIB variable

* Drop obsolete Perl option

* Update versions
2022-07-05 14:57:47 -07:00
Billy O'Neal
0a6002ef25
[curl] Don't try to include OpenSSL headers when OpenSSL backends aren't selected. (#24766)
Fixes regression introduced in https://github.com/microsoft/vcpkg/pull/24348
2022-05-17 23:56:02 -07:00
elms
fe2d25fa90
[new port] Add wolfSSL projects (#24348)
* Add wolfSSL port

* Add wolfMQTT

* Add wolfTPM

* Update ci.baseline.txt for wolfSSL, wolfMQTT, wolfTPM

* curl: Add wolfSSL feature

* wolfSSL: Always build out of tree and enable DES3

* wolfssl: support !uwp and use PORT variable for copyright install

* curl: use `VCPKG_TARGET_IS_WINDOWS` instead of triplet and `MATCHES`

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* curl[wolfssl]: add DES_ECB and add patch to resolve ntlm includes

* Fix version database.

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-05-17 11:13:39 -07:00
Thomas1664
8d25063dbf
[curl] Update to 7.83.1 (#24687)
* [curl] Update to 7.83.1

* version
2022-05-12 17:09:09 -07:00
Kai Pastor
ba4aef9454
[curl] Update to 7.83.0 (#24519)
* Update to 7.83.0

* Update curl
2022-05-04 18:34:58 -07:00
Kai Pastor
2c0fb4f820
[curl] Update to 7.82.0 (#23523)
* Update to 7.82.0

* Update versions
2022-03-18 14:44:22 -07:00
Kai Pastor
08bb6e106e
[curl] Update to 7.81.0 (#22445)
* Update to 7.81.0

* Revise curl wrapper, fix `COMPONENTS`

* Update versions

* Add fix for multi-ssl config

* [skip actions] CI feature test

* Refactor lib export fixup

Handle Debug/Release/IMPORTED_*...

* Fix libssh2 lookup

* Fix libidn2.pc for windows

* Fix libidn2 import

* Fix mbedtls import

* Simplify options

* [skip actions] CI feature test

* Revert CI feature test configuration

* Update versions

* Limit import lib fixup to WIN32

* Update versions
2022-01-19 09:15:16 -08:00
Kai Pastor
d320e1a2d6
[curl] Update to 7.80, fix exported config (#21554)
* Update to 7.80

* Add 'lib' prefix to exported config for windows

* Update versions

* Export static dependencies as -l<name>

* Update versions
2021-11-22 15:44:48 -08:00
pastdue
69521af149
[curl] Update to 7.79.1 (#20291)
* [curl] Update to 7.79.1

* Run x-add-version curl
2021-09-23 17:51:23 -07:00
pastdue
5d734efcef
[curl] Update to 7.79.0 (#20175)
* [curl] Update to 7.79.0

* Run x-add-version curl
2021-09-15 21:21:41 -07:00
Kai Pastor
6a9ecfd57f
[curl] Update (#18971)
* Modernize portfile

* Don't export implicit link libraries

* Revise osx framework handling

* Fix exported per-config location of dependencies

* Move curl-config to tools, incl. debug variant

* Update to 7.77.0

* Add WinIDN support and default IDN selection

* Use pkgconfig for libidn2 configuration

* Update to 0.78.0

* Remove obsolete nghttp2 staticlib patch

* Fix libs duplication in pc file

* Resolve transitive deps for pc file/curl-config

* x-add-version

* Fix winssl dependencies

* Add winldap feature, not default

* Update git-tree

Co-authored-by: past-due <30942300+past-due@users.noreply.github.com>
2021-08-11 19:38:08 -07:00
Kai Pastor
ab3a2b5e09
[curl] Fix linker flags in curl-config and libcurl.pc for osx (#17790)
* Fix exported framework linker flags for osx

* x-add-version

* Remove cmake version check

* Update git-tree
2021-07-01 07:22:56 -07:00
Alexander Neumann
0de461216d
[vcpkg.cmake] Cleanup every special case in the find_package override (#18047)
* move boost out of the toolchain

* move icu out of the toolchain

* remove CURL from the toolchain (was already unreachable?)

* remove gsl from toolchain

* remove grpc from toolchain

* version stuff

* fix indent and missing endif()

* version stuff

* Revert changes to vcpkg.cmake

* push port version

* version stuff
2021-05-28 10:00:20 -07:00
pastdue
6608a9cc60
[curl] Fix mingw to default to winssl (matching windows builds) (#18024)
* [curl] Fix mingw to default to winssl (matching windows builds)

* Run x-add-version curl
2021-05-24 15:15:23 -07:00
ras0219
e6dcc079c8
[curl] Fix android builds. Greatly simplify pkgconfig handling. (#17418)
* [curl] Fix android builds. Greatly simplify pkgconfig handling.

* [curl] Fix permissions on curl-config

* [curl] Fix missing assigment in replacement

* [curl] Update version

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-05-13 14:00:32 -07:00
Ahmed Yarub Hani Al Nuaimi
fe25e8ede8
[aws-cpp-sdk] [zlib] [openssl] [curl] Fix zlib, OpenSSL, curl and AWS SDK for Android (#15725)
* Fix Android build

* Add versioning support

* Disable building tests for cURL

* Fix patch file

* Fix patch file

* Fix patch file

* Fix versioning

* Fix patch file

* [aws-sdk-cpp] Update patch

* update baseline

* Fix dependencies

* Simplify Android configuration

* Simplify Android configuration

* Simplify Android configuration
Add alternative Git CMake script

* Bump port version

* Bump version files

* Remove redundant file

* Bump port version

* Fix version files

* Do not build curl, zlib and OpenSSL

* Typo de pkgconfig script

* Fix cURL build for Android

* Add required flags

* Revert macro change

* Fix curl build for other platforms

* Fix curl build for other platforms

* [vcpkg baseline][gsoap] Update to 2.8.111

* Update versions

* [ktx/otl] Update download hash

* update version record

* Fix curl build for other platforms

* Update ports/aws-sdk-cpp/portfile.cmake

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

* Update ports/aws-sdk-cpp/portfile.cmake

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

* Remove FingGit

* Fix configuration step

* Bump cURL port version

* Bump cURL port version

* Bump AWS SDK C++ version

* Bump AWS SDK C++ version

* Bump AWS SDK C++ version

* Bump AWS SDK C++ version

* Update ports/curl/CONTROL

* Update ports/curl/portfile.cmake

* update baseline record

* Fix Git

* update version record

* Typo

* Fix cross-platform builds of OpenSSL on MinGW/Windows

* Update version

* Fix version

* update doc

* Update ports/aws-sdk-cpp/portfile.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Update ports/aws-sdk-cpp/portfile.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Add debug libraries to curl for Android
Simplify OpenSSL patch for curl
Update OpenSSL's port version

* Update aws-sdk-cpp, curl, and OpenSSL versions

* Fix libssh after latest update

* Update libssh version

* Update libssh version

* Update ports/libssh/portfile.cmake

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

* Update ports/curl/portfile.cmake

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

* Update ports/libssh/portfile.cmake

* Apply suggestions from code review

* Use correct variables for OpenSSL libraries when building curl for Android
Fix zlib building for Android
Remove redundant patch comments

* Bump zlib's port version

* Update zlib, libssh, and curl versions

* [vcpkg baseline][popsift] Fix vcpkg_find_cuda.cmake path

* update version record

* Update versions/o-/openssl.json

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

Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-04-19 17:08:51 -07:00
Don Venable
3942db83e1
[curl] Fix/android curl debug bin (#15941)
* Add android to targets that need to nuke `debug/bin`

* Bumped port version number

* Bumped version SHA for curl
2021-02-08 18:17:32 -08:00
Adam Johnson
1a4c54f1f1
[vcpkg baseline][poppler] Fix issue with using libcurl. (#15491)
* [poppler] Fix issue with using libcurl.

* [curl] Ensure CMake policy is set for the libcurl config file.

Otherwise, ports using old (eg pre-2.8) CMake minimums might fail when
they import the package.

* [poppler] Add curl feature to test curl vcpkg-cmake-wrapper.
2021-01-08 11:07:00 -08:00
Jack·Boos·Yu
3efce9a5c9
[curl] Add feature idn2 (#14807)
Thanks for fixing phantom dependencies!
2020-12-22 23:19:50 -08:00
Jorge López Fueyo
6e7f2868cf
[curl] Update to 7.74.0 (#15041) 2020-12-10 10:17:16 -08:00
Matioupi
256c8d6ac6
[curl] Fixes pkgconfig file (#14715)
* Fix pkgconfig for windows debug build. Re-allow tool feature on non windows platforms

* Fix tool feature

* Modified debug/release prvate libs according to https://github.com/microsoft/vcpkg/pull/14350#discussion_r520444862
Added vcpkg_fixup_pkgconfig() according to https://github.com/microsoft/vcpkg/pull/14350#discussion_r520435718

* Delete portfile.cmake.orig

* Fix pkgconfig

* Revert "Fix pkgconfig"

This reverts commit cb4da8bcc5.

* Bump port version to 3

* add missing system libs for windows. made case type coherent for ws2_32

* Fix build on x64-linux triplet

* Reverted ws2_32 to Ws2_32 as discudssed in https://github.com/microsoft/vcpkg/pull/14350#discussion_r525893479

* More fixes for Linux build with features

* Fix for feature c-ares

* Formatting

* First fix attemps for https://github.com/microsoft/vcpkg/issues/14681

* More fix for https://github.com/microsoft/vcpkg/issues/14681 (Windows only for now)

* Add brotli dependcy when brotli feature is enabled

* Fixed indentation

Co-authored-by: Phoebe Ma <v-phma@microsoft.com>
2020-11-23 15:26:38 -08:00
Matioupi
878d7ea830
[curl] Fixes pkgconfig configuration file (#14350)
* Fix pkgconfig for windows debug build. Re-allow tool feature on non windows platforms

* Fix tool feature

* Modified debug/release prvate libs according to https://github.com/microsoft/vcpkg/pull/14350#discussion_r520444862
Added vcpkg_fixup_pkgconfig() according to https://github.com/microsoft/vcpkg/pull/14350#discussion_r520435718

* Delete portfile.cmake.orig

* Fix pkgconfig

* Revert "Fix pkgconfig"

This reverts commit cb4da8bcc5.

* Bump port version to 3

* add missing system libs for windows. made case type coherent for ws2_32

* Fix build on x64-linux triplet

* Reverted ws2_32 to Ws2_32 as discudssed in https://github.com/microsoft/vcpkg/pull/14350#discussion_r525893479

* More fixes for Linux build with features

* Fix for feature c-ares

* Formatting

Co-authored-by: Phoebe Ma <v-phma@microsoft.com>
2020-11-20 12:18:17 -08:00
Jack·Boos·Yu
8a33418aa5
[curl] Enable feature tool and install curl-config on non-Windows (#14473)
* [curl] Enable feature tool and install curl-config on non-Windows

* Update ports/curl/portfile.cmake

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-11-12 12:33:02 -08:00
Kevin Lalumiere
93eed24259
[curl] Fix #14049 (#14051) 2020-10-20 11:29:51 -07:00
Kevin Lu
70f192e073
[curl] Update to 7.73.0 (#14035) 2020-10-15 15:40:57 -07:00
Kevin Lu
3a7899deb7
[curl] Update to 7.22.0 (#13045) 2020-09-04 21:18:37 -07:00
NancyLi1013
dea76199aa
[curl] Fix static build (#12800)
* [curl] Fix static build

* Add static patch
2020-08-12 10:23:44 -07:00
NancyLi1013
23fcc57ad1
[curl] Fix tools (#12758) 2020-08-07 16:15:20 -07:00
NancyLi1013
f12d986e6a
[curl] Update to 7.71.0 (#12141)
* [curl] Update to 7.71.0

* Update to 7.71.1
2020-07-06 13:23:44 -07:00
siposcsaba89
cb8cdc2721
[curl] Fix cmake configure error in othertests.cmake check_type_size call, CMAKE_TRY_COMPILE_TARGET_TYPE was set to STATIC_LIBRARY (#10659) 2020-04-16 13:31:08 -07:00
Robert Schumacher
6b0b9c3612 [curl] Use openssl for UWP since SSPI is unsupported 2020-03-10 09:59:38 -07:00
Jack·Boos·Yu
d4c6627acd
[curl] Set non-http as default feature (#9613)
* [curl] Set non-http as default feature

* [curl] rebuild code

* [curl] Add error info, disable uwp build when selecting feature winssl,sspi,tool

* [curl] Remove deprecated function

* [curl] Fix openssl dependency check in config.cmake
2020-02-04 14:40:19 -08:00
Kevin Lu
5440c40f02 [curl] Update to 7.68.0 (#9589)
* Bump version

* fix UWP patch
2020-01-10 10:26:10 -08:00
Phoebe
8101b5adaf [curl] Disable export of Curl::curl targets when building 'tool' feature (#8973)
* [curl]Disable export Curl::curl targets when build tool feature

* Update patch
2020-01-06 15:09:13 -08:00
JackBoosY
d3a7830335 [curl]Fix tools depends zlib. (#8739) 2019-10-25 14:28:11 -07:00
past-due
67a9305c75 [curl] Update to 7.66.0 (#7331)
* [curl] Update to 7.65.3

* [curl] Remove USAGE

(Use auto-generated message about exported config.)

* Add wrapper

* [curl] Update to 7.66.0

* Add wrapper to curl

* drop parent_scope

* add change that didn't make it

* Populate CURL_LIBRARY

* Fix transitive dependency

* try to actually set LIBRARIES

* get .libs

* fix curlpp and dynamic builds on linux

* add @cenit's suggestion and fix typo in curlpp

* modify PDAL patch
2019-09-26 21:31:33 -07:00
Kevin Lu
5a41488a51 [curl] Update to 7.65.2 (#7093) 2019-07-18 00:19:08 -07:00
NancyLi1013
042d7d368f [curl] Add features. (#7156) 2019-07-07 23:11:01 -07:00
Robert Schumacher
db0c6043dc
[curl] Revert revert of -imp suffix removal. (#6698)
* [curl] Revert revert of `-imp` suffix removal.

* [idevicerestore][libideviceactivation] Simplify dependency on curl

* [curl] Trivial change to provoke rebuild
2019-06-26 11:49:39 -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
Phoebe
0ec60d1f90 [Curl] Fix cmake target name (#6649)
* Update patch and portfile
* Fix case issue in curl, related issue #6643
2019-05-28 15:32:31 -07:00
Phoebe
9ffac4d56e [Curl] Upgrades 2019.05.08 (#6429)
* [Curl] Upgrades 2019.05.08

* merge changes from master

* Fix cpr failure

* Fix the case issue in Linux

* Update patch and portfile

* Update the portfile that changed by my mistake

* [curl] Update to 7.65.0 to skip USE_DARWINSSL regression. Disable PERL since we don't build the manual anyway.

* Rename DARWINSSL to SECTRANSP

* Update the name and error detect
2019-05-26 16:53:41 -07:00
Alexander Neumann
0413c73fd7 [CURL] Remove unnecessary renaming. (#6386)
* removed unnecessary renaming.

CMake updated its module file for FindCURL. so the renaming is not required anymore.

* bump control

* fix curl in static builds

* fix gdal regression

* fix typo

* fixed alignment

* fix libideviceactivation regression

* fix idevicerestore regression
2019-05-13 08:57:55 -07:00
past-due
2112801aba Expose darwinssl as an option when building curl (updated) (#6124)
* expose darwinssl as an option

* Fix typo

* add an error in case darwinssl is used on a non darwin system

* [curl] add darwinssl to curl[ssl] osx default

* [curl] Bump CONTROL version
2019-04-17 14:27:48 -07:00
past-due
0caaf64b90 [curl] Bump CONTROL version (#6012) 2019-04-09 09:53:45 -07:00
past-due
c2790cd23e [google-cloud-cpp] Fix libcurl linkage (#5968)
* [google-cloud-cpp] Fix libcurl linkage

* [curl] Fix libcurl exported CMake target config (Windows)
2019-04-08 23:54:07 -07:00
past-due
6240fe128b [curl] Fix tool feature (#5971)
- Use appropriate EXECUTABLE_SUFFIX to support non-Windows platforms
- Fixup `curl-target-release.cmake` to point to the new executable location (fixing the CURL::curl target)
2019-04-08 23:53:10 -07:00
JackBoosY
b2ad980029 [curl]Add the dependency of the curl feature [ssh] to solve the lnk2019 error. (#5682) 2019-03-14 22:31:07 -07:00