27 Commits

Author SHA1 Message Date
Paweł Wegner
9cf4835a54
curl: fix consuming curl via find_package. (#29741)
The commit [1] broke consuming curl for downstream projects:

CMake Error at cmake-build-debug/vcpkg_installed/x64-windows-static/share/curl/CURLTargets.cmake:61 (set_target_properties):
  The link interface of target "CURL::libcurl" contains:

    c-ares::cares

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

[1]: c9eb3bd14e
2023-03-01 10:58:55 -08:00
Frank
f31841cc46
[curl] Update version to 7.88.1 to fix incomplete read/writes. (#29641)
* [curl]

* update version

* update version to 7.88.1

* vdb
2023-02-21 08:17:13 -08:00
Lily Wang
c9eb3bd14e
[curl] Use find_package c-ares provided by vcpkg (#29350)
* [curl] Use find_package c-ares provided by vcpkg

* update version

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-02-02 16:52:18 -08:00
Mark Roszko
30016cf1d1
[curl] update to 7.87.0 (#28836)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-27 07:25:13 -08:00
Kai Pastor
b9152d18a0
[curl] Avoid targets in CURL_LIBRARIES (#29061)
* [curl] Avoid targets in CURL_LIBRARIES

* [libarchive] Don't mix targets and paths in LibArchive_LIBRARIES
2023-01-20 22:12:40 -08:00
autoantwort
02da7d7659
[curl] use supports expressions (#28030)
Co-authored-by: Jonliu1993 <13720414433@163.com>
2022-11-30 09:32:47 -08:00
Lova Widmark
b224213946
[curl] Update to 7.86.0 (#27778)
* [curl] Update to 7.86.0

* [azure-core-cpp] Add missing Ws2_32.lib.

Filed upstream as https://github.com/Azure/azure-sdk-for-cpp/pull/4127

* [aws-sdk-cpp] Lock the selected curl features.

Co-authored-by: FrankXie <v-frankxie@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-11-21 09:13:49 -08:00
Alexander Rozdaybeda
f4b909297a
[curl] Add Unicode support (#25865)
* Add Unicode support to Curl

* fix curl version

* increase port

* Update ports/curl/vcpkg.json

Co-authored-by: autoantwort <41973254+autoantwort@users.noreply.github.com>

* fix hash

* remove error message

* removed condition for windows

* add ENABLE_UNICODE for windows

Co-authored-by: alexander.rozdaybeda <alexander.rozdaybeda@avanquest.com>
Co-authored-by: autoantwort <41973254+autoantwort@users.noreply.github.com>
2022-09-02 13:46:16 -07:00
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
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00