Commit Graph

132 Commits

Author SHA1 Message Date
Kai Pastor
b8a9371ae5
[curl] Update to 8.10.0 (#40903) 2024-09-11 14:03:28 -07:00
Kai Pastor
cf2d5943fc
[curl] Fix curl-config (#40443) 2024-08-15 18:34:06 -07:00
talregev
eff777a963
[curl,vcpkg-ci-curl] Update to curl 8.9.1, Add gnutls feature, Add test gnutls for curl (#40102) 2024-08-01 09:58:42 -07:00
Kai Pastor
1dc5ee30eb
[curl] Update to 8.9.0 (#40081) 2024-07-30 17:42:29 -07:00
autoantwort
81d7b12b1c
[curl] fix build (#39854) 2024-07-13 10:17:22 -04:00
talregev
2318038614
[curl] Add feature gsasl (#39497)
Merged upstream as https://github.com/curl/curl/pull/13948
2024-06-26 21:12:35 -07:00
gerard-ryan-immersaview
6db51d86a9
[vcpkg_replace_string] warn unchanged by call (#34719)
If a call to `vcpkg_replace_string` makes no changes i.e doesn't
effectively replace a string, A warning is logged.

This should also help identify ports that no longer need these calls to
fix things in `.pc` files etc.
2024-06-19 14:07:05 -07:00
Kai Pastor
795f2f137e
[libpsl,curl,vcpkg-ci-curl] Update suffix list, fix and test curl (#38847) 2024-06-10 17:26:53 -07:00
Kai Pastor
eb445dc7d9
[curl] Update to 8.8.0 (#38862)
Resolves #38869.

For simplicity, always acquire `PKGCONFIG`:
It is needed by multiple features, and on `UNIX`, curl's find modules
will try to load it for determining package hints.
2024-05-24 19:19:10 -07:00
talregev
829c9e3def
[curl] Refactor curl port (#38786)
Refactor curl port:
- Add test
- Refine dependencies patch
- gssapi feature is not for windows

<!-- 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.


<!-- If this PR adds a new port, please uncomment and fill out this
checklist:

- [ ] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] The name of the port matches an existing name for this component
on https://repology.org/ if possible, and/or is strongly associated with
that component on search engines.
- [ ] Optional dependencies are resolved in exactly one way. For
example, if the component is built with CMake, all `find_package` calls
are REQUIRED, are satisfied by `vcpkg.json`'s declared dependencies, or
disabled with
[CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html).
- [ ] The versioning scheme in `vcpkg.json` matches what upstream says.
- [ ] The license declaration in `vcpkg.json` matches what upstream
says.
- [ ] The installed as the "copyright" file matches what upstream says.
- [ ] The source code of the component installed comes from an
authoritative source.
- [ ] The generated "usage text" is accurate. See
[adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md)
for context.
- [ ] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [ ] Only one version is in the new port's versions file.
- [ ] Only one version is added to each modified port's versions file.

END OF NEW PORT CHECKLIST (delete this line) -->

Co-authored-by: WangWeiLin-MV <156736127+WangWeiLin-MV@users.noreply.github.com>
2024-05-22 19:42:11 -07:00
talregev
20d55c6fce
[krb5, curl] Add new port, and add new feature curl[gssapi] (#38402)
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] The name of the port matches an existing name for this component
on https://repology.org/ if possible, and/or is strongly associated with
that component on search engines.
- [x] Optional dependencies are resolved in exactly one way. For
example, if the component is built with CMake, all `find_package` calls
are REQUIRED, are satisfied by `vcpkg.json`'s declared dependencies, or
disabled with
[CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html).
- [x] The versioning scheme in `vcpkg.json` matches what upstream says.
- [x] The license declaration in `vcpkg.json` matches what upstream
says.
- [x] The installed as the "copyright" file matches what upstream says.
- [x] The source code of the component installed comes from an
authoritative source.
- [x] The generated "usage text" is accurate. See
[adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md)
for context.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is in the new port's versions file.
- [x] Only one version is added to each modified port's versions file.

krb5 have an issue of absolute paths that I am not sure how to fix, also
I didn't succeeded to compile it on windows, but this PR is a good
start.

```
warning: There should be no absolute paths, such as the following, in an installed package:
  /home/tal/vcpkg/packages/krb5_x64-linux
  /home/tal/vcpkg/installed
  /home/tal/vcpkg/buildtrees/krb5
  /home/tal/vcpkg/downloads
Absolute paths were found in the following files:
  /home/tal/vcpkg/packages/krb5_x64-linux/tools/krb5/bin/compile_et
  /home/tal/vcpkg/packages/krb5_x64-linux/tools/krb5/bin/krb5-config
  /home/tal/vcpkg/packages/krb5_x64-linux/tools/krb5/debug/bin/compile_et
  /home/tal/vcpkg/packages/krb5_x64-linux/tools/krb5/debug/bin/krb5-config
error: Found 1 post-build check problem(s). To submit these ports to curated catalogs, please first correct the portfile: /home/tal/vcpkg/ports/krb5/portfile.cmake
```
2024-05-06 12:59:50 -07:00
talregev
9911cb74a1
[curl] add psl feature (#38345)
<!-- 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.


<!-- If this PR adds a new port, please uncomment and fill out this
checklist:

- [ ] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] The name of the port matches an existing name for this component
on https://repology.org/ if possible, and/or is strongly associated with
that component on search engines.
- [ ] Optional dependencies are resolved in exactly one way. For
example, if the component is built with CMake, all `find_package` calls
are REQUIRED, are satisfied by `vcpkg.json`'s declared dependencies, or
disabled with
[CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html).
- [ ] The versioning scheme in `vcpkg.json` matches what upstream says.
- [ ] The license declaration in `vcpkg.json` matches what upstream
says.
- [ ] The installed as the "copyright" file matches what upstream says.
- [ ] The source code of the component installed comes from an
authoritative source.
- [ ] The generated "usage text" is accurate. See
[adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md)
for context.
- [ ] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [ ] Only one version is in the new port's versions file.
- [ ] Only one version is added to each modified port's versions file.

END OF NEW PORT CHECKLIST (delete this line) -->
2024-04-24 10:57:12 -04:00
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