Commit Graph

120 Commits

Author SHA1 Message Date
talregev
35d0bcc29c
[curl] fix idn2 dependency (#38160)
<!-- If your PR fixes issues, please note that here by adding "Fixes
#NNNNNN." for each fixed issue on separate lines. -->

<!-- If you are still working on the PR, open it as a Draft:
https://github.blog/2019-02-14-introducing-draft-pull-requests/. -->


- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.

When you install curl[tool,idn2] with vcpkg, and the you do:
```
curl --version
```
You can see the lib that it install with, and even you install the
feature idn2, it missing. I fix it.
It should look similar to that:
```
curl 8.7.0-DEV (Linux) libcurl/8.7.0-DEV ... libidn2/2.3.4  ...
```
2024-04-15 13:43:14 -04:00
Kai Pastor
1921ac8524
[curl] Update to 8.7.1 (#37751) 2024-03-28 22:59:27 -07:00
Kai Pastor
d5551b8e6e
[curl] General LDAP support, test port (#37152) 2024-03-13 15:48:53 -07:00
Frank
fce5c633c8
[curl] Update version to 8.6.0 (#36630)
* [curl] Update version to 36597

* version
2024-02-08 22:56:57 -08:00
Kai Pastor
c268e9fc37
[curl] Fix android API < 24 (#36156) 2024-01-16 11:24:32 -08:00
Cheney Wang
8b8ba993a6
[curl] update to 8.5.0 (#35806) 2024-01-02 14:32:00 -08:00
Mark Sinkovics
1bb45db72f
[curl] fix config on iOS (#35662) 2023-12-18 13:15:04 -08:00
Billy O'Neal
b40de44891
[curl] Update to 8.4.0. (#34405)
This fixes a HIGH severity vulnerability: https://daniel.haxx.se/blog/2023/10/11/curl-8-4-0/

See also: https://daniel.haxx.se/blog/2023/10/11/how-i-made-a-heap-overflow-in-curl/

Resolves: https://github.com/microsoft/vcpkg/issues/34281
2023-10-11 11:10:58 -07:00
Kai Pastor
08a6cdd73b
[curl] Update to 8.3.0 (#33924)
* [curl] Update to 8.3.0

* Add explicit usage

* Fix CMake 3.7 compatibility

* Update copyright

* Update vcpkg-cmake-wrapper
2023-09-26 00:09:06 -07:00
Lily Wang
679df196c1
[curl] Update to 8.2.1 (#32869)
* [curl] Update to 8.2.1

* update version
2023-08-02 08:59:01 -07:00
JonLiu1993
864c70b836
[curl] update to 8.2.0 (#32656) 2023-07-21 08:46:53 -07:00
Theodore Tsirpanis
17fc556532
[curl] Add zstd feature. (#32533) 2023-07-13 11:24:11 -07:00
Kai Pastor
b25f6bffd4
[curl] Update libssh2/brotli/c-ares dependencies (#32287)
* [curl] Fix libssh2 dependency

* Revise dependencies patching

* Fix pc file

* Cleanup
2023-07-07 10:09:39 -07:00
Kai Pastor
d8e5ba9b45
[curl] Update (#31710) 2023-06-01 11:07:32 -07:00
Kai Pastor
b3a0f916ac
[curl] Update to 8.0.1 (#30363)
* [curl] Update to 8.0.1

* Trace [skip actions]

* Revert Trace
2023-03-29 16:26:06 -07:00
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
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