vcpkg/ports/curl/vcpkg.json
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

196 lines
3.9 KiB
JSON

{
"name": "curl",
"version": "7.84.0",
"port-version": 1,
"description": "A library for transferring data with URLs",
"homepage": "https://curl.se/",
"license": null,
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
],
"default-features": [
"non-http",
"ssl"
],
"features": {
"brotli": {
"description": "brotli support (brotli)",
"dependencies": [
"brotli"
]
},
"c-ares": {
"description": "c-ares support",
"dependencies": [
"c-ares"
]
},
"http2": {
"description": "HTTP2 support",
"dependencies": [
{
"name": "curl",
"default-features": false,
"features": [
"ssl"
]
},
"nghttp2"
]
},
"idn": {
"description": "Default IDN support",
"dependencies": [
{
"name": "curl",
"default-features": false,
"features": [
"winidn"
],
"platform": "windows"
},
{
"name": "curl",
"default-features": false,
"features": [
"idn2"
],
"platform": "!windows"
}
]
},
"idn2": {
"description": "idn2 support (libidn2)",
"dependencies": [
"libidn2"
]
},
"mbedtls": {
"description": "SSL support (mbedTLS)",
"dependencies": [
"mbedtls"
]
},
"non-http": {
"description": "Enables protocols beyond HTTP/HTTPS/HTTP2"
},
"openssl": {
"description": "SSL support (OpenSSL)",
"dependencies": [
"openssl"
]
},
"schannel": {
"description": "SSL support (Secure Channel)",
"dependencies": [
{
"name": "curl",
"default-features": false,
"features": [
"sspi"
]
}
]
},
"sectransp": {
"description": "SSL support (sectransp)"
},
"ssh": {
"description": "SSH support via libssh2",
"dependencies": [
{
"name": "curl",
"default-features": false,
"features": [
"non-http"
]
},
{
"name": "curl",
"default-features": false,
"features": [
"openssl"
]
},
"libssh2"
]
},
"ssl": {
"description": "Default SSL backend",
"dependencies": [
{
"name": "curl",
"default-features": false,
"features": [
"sectransp"
],
"platform": "osx | ios"
},
{
"name": "curl",
"default-features": false,
"features": [
"schannel"
],
"platform": "(windows & !uwp) | mingw"
},
{
"name": "curl",
"default-features": false,
"features": [
"openssl"
],
"platform": "(uwp | !windows) & !(osx | ios) & !mingw"
}
]
},
"sspi": {
"description": "SSPI support"
},
"tool": {
"description": "Builds curl executable"
},
"winidn": {
"description": "WinIDN support"
},
"winldap": {
"description": "LDAP support (WinLDAP). This feature does not include LDAPS support.",
"dependencies": [
{
"name": "curl",
"default-features": false,
"features": [
"non-http"
]
}
]
},
"winssl": {
"description": "Legacy name for schannel",
"dependencies": [
{
"name": "curl",
"default-features": false,
"features": [
"schannel"
]
}
]
},
"wolfssl": {
"description": "SSL support (wolfSSL)",
"dependencies": [
"wolfssl"
]
}
}
}