Commit Graph

113 Commits

Author SHA1 Message Date
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
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
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
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
Raphael Gozzo
8346836471 [curl] Build openssl and schannel backends by default (#3932)
* [curl] Split the OpenSSL and SChannel backends into separate features

* [curl] Add mbedTLS backend as a feature

* [curl] Make winssl the default for Windows. Remove need for compatibility workaround.

* [curl] Continue to use openssl in UWP because PSecurityFunctionTableA is not available.
2018-11-30 16:37:54 -08:00
hlysunnaram
008c5d8668 Handle VCPKG_BUILD_TYPE (#4287)
* [curl] fix build failure when VCPKG_BUILD_TYPE is set

* [libmysql] fix build failure when VCPKG_BUILD_TYPE is set

* [openssl-windows] use VCPKG_BUILD_TYPE to build release or debug only

* [icu] use VCPKG_BUILD_TYPE to build release or debug only

* [gdal] use VCPKG_BUILD_TYPE to build release or debug only

* bump versions of curl, gdal, icu, libmysql and openssl-windows
2018-10-03 23:09:42 -07:00
Force Charlie
a91bc989a1 [curl] update curl to 7.61.1 2018-09-05 18:00:43 +08:00
Hiroshi Miura
ab54bfa0cc [vcpkg] post-build cmake test (#3431)
* [vcpkg]  post-build cmake test

- test for applications with cmake build system
- Add a test feature to vcpkg core, make progress for #72
- Tests for zlib, bzip2, libiconv and openssl for example
- Test for curl will be failed, because of a bug #3053
  It can detect a this type of problems

* [vcpkg_test_cmake] Add MODULE parameter to explicitly specify which type of integration to test.

* [bzip2] Fix casing of cmake module name
2018-08-30 17:07:14 -07:00
Dale Stammen
7b83eb8e94 CURL: allow building of http2 option for uwp (#4131)
* allow building of http2 option for uwp

* [curl] Revert version bump since package is unchanged
2018-08-21 13:56:46 -07:00
pravic
ef47bb4720 [curl] update to 7.61.0 (#3901)
* [curl] update to 7.61.0

* [curl] Fix wrong checksum.

* [curl] Remove winssl-http2 patch which is not needed anymore.

per curl/curl#2591.
2018-07-18 13:06:59 -07:00
Force Charlie
24b7af97c1 [curl] fix curl[tool] support HTTP2 use WinSSL 2018-05-30 10:56:50 +08:00
Matt Tyson
ef5686e586 Fix Windows curl/nghttp2 static build
When curl is linked with a static nghttp2, NGHTTP2_STATICLIB
must be defined.
2018-05-19 19:43:02 -07:00
pravic
4f17361e24 [curl] update to 7.60.0 2018-05-16 17:44:00 +03:00
pravic
f0dc8c109e [curl] update to 7.59.0 2018-03-14 17:51:20 +03:00
Robert Schumacher
9f9778ccff [many ports] Improve behavior on Linux and general cleanup 2018-03-11 23:42:54 -07:00
Michał Janiszewski
d4797b37a6 [curl] Add missing advapi32 link (#2978)
This adds missing library, advapi32, to linking. Fixes ARM builds.

The same patch is pending merge upstream:
https://github.com/curl/curl/pull/2363
2018-03-06 12:08:29 -08:00
pravic
f272a872d4 [curl] Add support of different features. (#2862)
* [curl] Add support of different features.

Default-Features: openssl, http2, ssh (as in previous builds)

Feature: curl
Description: Builds curl executable (placed in the /tools directory)

Feature: http-only
Description: Disables all protocols except HTTP/HTTPS/HTTP2

Feature: http2
Build-Depends: nghttp2, openssl
Description: HTTP2 support (requires openssl)

Feature: openssl
Build-Depends: openssl
Description: SSL support via OpenSSL

Feature: winssl
Description: SSL support via Schannel

Feature: ssh
Build-Depends: libssh2
Description: SSH support via libssh2

* [cpr] Add features of the curl library.

* [cpr] Remove transitive features

* [curl] Remove http2 from default features. Remove winssl feature. Rename "curl" feature to "tool".

* [curl] Fixup curl -> tool renaming

* [curl] Further refactoring of WINSSL/Openssl -- use single ssl feature.
2018-02-27 12:15:37 -08:00
Force Charlie
108d13a277 update about HTTP2 TLS 2018-01-30 21:22:53 +08:00
Force Charlie
278ab50c3f CURL_USE_WINSSL disable HTTP2 2018-01-29 12:40:16 +08:00
Force Charlie
e6712779e7 curl: disable WindowsStore HTTP2 support (nghttp2 not support) 2018-01-28 23:33:38 +08:00
Force Charlie
b45bc18542 curl: only dynamic build support HTTP2 2018-01-28 23:26:48 +08:00
Force Charlie
a66490101e curl enable http2, use nghttp2 2018-01-28 20:26:07 +08:00
pravic
d0d38919bb [curl] update to 7.58.0 2018-01-24 11:30:44 +03:00
Tobias Kohlbau
91f447631d [curl] add option to build with winssl (#2631)
Sometimes curl needs to be build with winssl,
use vcpkg install curl[winssl].

Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
2018-01-23 12:11:15 -08:00
Johannes Schindelin
d64fd32046 curl: update to v7.57.0
Due to changes in curl's CMake support, where it now installs .cmake
files, we now have to make sure that they are installed into the correct
directory (and not duplicated into the debug/share/ directory, either).

Also, a change in the context of the 2nd patch required an update of
said patch.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2017-12-07 21:29:25 +01:00
Robert Schumacher
1b2f75be94 [vcpkg] Support \share\<port>\usage to handle libraries which are found through built-in Find Modules. 2017-11-16 23:54:55 -08:00
codicodi
19916e5ce1 [curl] update to 7.55.1 2017-08-27 15:13:37 +02:00
codicodi
ce452195c8 [curl] update to 7.55.0 2017-08-11 18:40:13 +02:00
Dale Stammen
30429e68db apply uwp patch to all builds 2017-01-12 12:35:24 -08:00
Dale Stammen
00679b66e3 added support for building uwp versions 2017-01-11 10:59:45 -08:00
Christophe Guébert
93d83e0a60 Add a patch for curl to find the libssh2 library 2016-12-08 09:00:16 +01:00
Alexander Karatarakis
56581e816a [curl] Enable static building 2016-11-26 16:05:46 -08:00
Alexander Karatarakis
cadee66ca2 If portfile is not static-enabled yet, warn and then build dynamic
The opposite if portfile is not dynamic enabled
2016-11-08 14:38:47 -08:00
Alexander Karatarakis
1808d461b0 triplet is now automatically included before portfiles.
Also remove trailing whitespaces from portfiles
2016-11-08 14:25:47 -08:00
Mårten Nordheim
d26fff6e67 [curl] Change BUILD_CURL_TESTS to BUILD_TESTING
It was changed between the previous version and the current one (12e21fab26)
2016-11-05 21:00:23 +01:00
Robert Schumacher
ef4be3ab1d [curl] Update to 7.51.0 2016-11-05 03:17:06 -07:00
Alexander Karatarakis
164a3cd769 [curl] Mark as not supporting static yet 2016-10-26 12:30:56 -07:00
Robert Schumacher
b1fe038a83 Remove use of vcpkg_build_cmake() across all portfiles. Fixes #123 2016-10-06 15:29:37 -07:00
Alexander Karatarakis
3679955544 Introduce SOURCE_PATH to almost all portfiles 2016-09-28 17:05:56 -07:00
Ninetainedo
930d0a7ded URL and MIRRORS are now URLS
Updated all portfiles accordingly.
2016-09-25 00:23:04 +02:00
Ninetainedo
8cee9c6e07 Replaced everything concerning MD5 with SHA512 2016-09-22 21:30:58 +02:00
Alexander Karatarakis
ccca198c1b Initial commit 2016-09-18 20:54:03 -07:00