| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Allow curl's detection of IPv6 to proceed when building in CMake.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
c1ad5118de curl: backport upstream fix to 7.62.0 regression
03bf934fbe curl: Modernize tiny test code used for build inside CMake
2b3c1bb9b0 curl: Update build within CMake to account for 7.62 changes
636bcefeab Merge branch 'upstream-curl' into update-curl
9835e90750 curl 2018-10-30 (19667715)
9c6574795c curl: Update script to get curl 7.62.0
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2550
|
| |
| |
| |
| |
| |
| | |
Backport upstream curl commit 2c5ec339ea (Curl_follow: accept
non-supported schemes for "fake" redirects, 2018-11-01) to get
a fix to curl issue 3210, a regression in 7.62.0.
|
| |
| |
| |
| |
| | |
Drop unused code. Report the error message on failure.
Format the source file using clang-format.
|
| | |
|
| |
| |
| |
| |
| | |
* upstream-curl:
curl 2018-10-30 (19667715)
|
|/
|
|
| |
Re-use the requirements from the top-level.
|
|
|
|
|
|
| |
We should not call `add_test` unless `BUILD_TESTING` is enabled.
Fixes: #18500
|
|\
| |
| |
| | |
Merge-request: !2509
|
| |
| |
| |
| |
| |
| |
| | |
The_CURL_STATICLIB option was replaced by BUILD_SHARED_LIBS.
Drop our own CURL_STATICLIB compile definition because it is now
provided by curl's usage requirements.
|
| |
| |
| |
| |
| |
| | |
Curl 7.61.1 requires CMake 3.4 to build from source and also exposes
a dependency on OpenSSL imported targets. Revert that part of the
changes imported from curl upstream.
|
| |
| |
| |
| |
| | |
* upstream-curl:
curl 2018-09-04 (432eb5f5)
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
When generating `curl_config.h`, add size information for `long long`
and `__int64` types. These are needed as candidates for defining the
`ssize_t` type because on MSVC, `long` is not the same size as `size_t`.
This problem did not affect upstream curl because it computes the
`ssize_t` type in CMake code where all sizes are available. CMake's
port computes it in preprocessor logic because universal binaries on
macOS do not know type sizes until compile time.
Fixes: #18477
|
|
|
|
|
| |
* upstream-curl:
curl 2018-05-15 (cb013830)
|
|
|
|
|
| |
* upstream-curl:
curl 2018-01-23 (d6c21c8e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some are user facing.
Found using
codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt`
whereby the whitelist contained:
ans
dum
helpfull
emmited
emmitted
buil
iff
isnt
nto
ot
pathes
substract
te
todays
upto
whitespaces
|
| |
|
|
|
|
|
| |
* upstream-curl:
curl 2017-10-04 (3ea76790)
|
|
|
|
|
| |
On Haiku the network functions are in libnetwork, so use it when it
exists.
|
|
|
|
|
|
|
|
|
| |
* upstream-curl:
curl 2017-06-14 (54b636f1)
Resolve a logical conflict in `Utilities/cmcurl/CMakeLists.txt`
by disabling CA bundle/path detection for build within CMake.
CMake already handles locating a CA bundle/path at runtime.
|
|
|
|
|
|
| |
Restore settings to match what we had before resolving conflicts in the
latest update. Use native APIs on Windows and Apple. Pass CA
bundle/path options.
|
| |
|
|
|
|
|
|
|
|
| |
* upstream-curl:
curl 2017-04-19 (d957e218)
Resolve conflicts in `CMakeLists.txt` in favor of the upstream version.
We will re-apply our logic as needed in following commits.
|
|
|
|
|
|
|
|
|
|
| |
Define `_WINSOCKAPI_` blank rather than to 1 in order to match the
value used by Microsoft's winsock header files.
Backported from upstream curl commit 192466e0 (cmake: Fix passing
_WINSOCKAPI_ macro to compiler, 2017-01-09).
Fixes: #16545
|
|
|
|
|
| |
* upstream-curl:
curl 2016-12-22 (44b9b4d4)
|
|
|
|
|
| |
We already disable the code using `HIDES_CURL_PRIVATE_SYMBOLS`, so skip
the code to set it too, thus avoiding unnecessary `message()` calls.
|
|
|
|
|
| |
* upstream-curl:
curl 2016-11-02 (3c561c65)
|
|
|
|
|
| |
Backport curl upstream commit curl-7_50_2~32 (nss: refuse previously
loaded certificate from file, 2016-08-22).
|
|
|
|
|
|
| |
We will now manage the curl source tree updates using
the `Utilities/Scripts/update-curl.bash` script. Drop
the README that covered the old method.
|
|
|
|
|
| |
* upstream-curl:
curl 2016-08-03 (f2cb3a01)
|
|
|
|
|
| |
The Debian package checker tool (lintian) detected several typos in
CMake.
|
|
|
|
|
|
|
| |
Starting with OS X 10.11 there is a library called libnetwork
which will be picked up during curl configuration.
This breaks backward compatibility of the resulting binaries
because libnetwork is not available on older OS X versions.
|
| |
|
|
|
|
|
| |
Update our curl build option settings as needed for CMake to account for
differences in curl options from 7.38 to 7.44.
|
|
|
|
|
|
| |
Fix the check code to pass 5 arguments instead of 6. This typo was
introduced in curl 7.39 but was not noticed because the result of
this check is used only if ENABLE_IPV6 is OFF.
|
|
|
|
|
|
|
| |
Resolve conflicts by taking upstream side when possible and otherwise
integrating the changes from both sides. Be carful in CMakeLists.txt
where the OPENSSL code block that we modified previously has moved, and
preserve our previous modifications in the new location.
|
|
|
|
|
|
|
|
|
| |
Our Windows API header checks are conditioned on if(NOT UNIX) but
libarchive checks HAVE_WINDOWS_H anyway so the result leaks into
the cache and influenes the curl build. Set the check results to
false explicitly for curl when not on Windows to tolerate this.
Reported-by: Vyacheslav Karpukhin <Vyacheslav.Karpukhin@jetbrains.com>
|
|\
| |
| |
| |
| |
| | |
0abd3e53 cmake: Use a default CA path when not using system curl
6ce346c5 curl: Add CURL_CA_PATH option to CMake build process
|
| |
| |
| |
| |
| |
| | |
Move CMAKE_USE_OPENSSL and CURL_CA_BUNDLE up to the top of CMake so that
CMake's own sources can know their values. Add the CURL_CA_PATH option
at the top and honor it as part of the curl build.
|
|\ \
| |/
|/|
| |
| | |
53df9bce curl: Add README-CMake.txt
|
| |
| |
| |
| | |
Describe how to update curl from upstream.
|
| |
| |
| |
| |
| |
| |
| |
| | |
On OS X, when CMAKE_USE_OPENSSL is OFF, use the OS implementation.
This will allow the OS-configured CA list to be trusted automatically.
This is supported on OS X 10.6 and above using AppleClang, Clang, and
GNU compilers.
|
|/
|
|
|
| |
On Windows, when CMAKE_USE_OPENSSL is OFF, use the OS implementation.
This will allow the OS-configured CA list to be trusted automatically.
|
|
|
|
|
|
|
|
| |
Use check_include_file instead of check_include_file_concat to look
for OpenSSL headers. They do not need to participate in a sequence
of dependent system headers. Also they may cause winsock.h to be
included before ws2tcpip.h, causing the latter to not be detected
in the sequence.
|
|
|
|
| |
Tell MSVC to use its lowest warning level inside curl sources.
|
|
|
|
|
| |
Defining curl APIs as forwarding macros triggers Clang warnings
with -Wdisabled-macro-expansion. Skip this sanity check.
|
| |
|
|
|
|
|
|
|
| |
Re-apply part of the logic from commit v2.8.0~802 (ENH: allow for shared
build of libcurl ..., 2009-04-10) to skip inet_pton on Windows. On
versions of Windows prior to Vista the function is not available at
runtime.
|
|
|
|
|
| |
Restore logic originally added by commit v2.8.10~119^2~1 (curl: Make
OpenSSL DLLs available to CMake on Windows, 2012-09-06).
|
|
|
|
|
| |
Restore the option added by commit v2.8.8~200^2 (Add CURL_CA_BUNDLE
option for SSL support, 2012-02-09).
|