Commit Graph

45 Commits

Author SHA1 Message Date
Vitaly Baranov
860c642535 fix-curl-cmake 2024-04-26 18:58:20 +02:00
Oxide Computer Company
f64001ebfa contrib/curl: Add illumos support 2024-03-21 11:37:26 +00:00
Alexey Milovidov
de52ddf3bb Merge branch 'master' into rschu1ze-azure-darwin2 2023-11-22 20:26:47 +01:00
Robert Schulze
3035862c6b
Fix build 2023-10-11 10:54:38 +00:00
Robert Schulze
ea8a99c103
Sort stuff 2023-08-16 19:04:28 +00:00
Robert Schulze
5688891236
curl: update to latest master (fixes CVE-2023-32001) 2023-08-16 19:00:27 +00:00
Alexey Milovidov
899105bef4 Fix build 2023-07-06 02:41:05 +02:00
Alexey Milovidov
a16340663d
Update CMakeLists.txt 2023-07-06 03:21:39 +03:00
Robert Schulze
e62ef756cf
Enable Azure on macOS 2023-06-23 14:47:58 +02:00
Boris Kuschel
e640d79765
Update Curl to latest 2023-04-28 04:59:06 -07:00
Boris Kuschel
dcfee036a8
One more file 2023-04-28 04:59:05 -07:00
Boris Kuschel
449f63a2ef
Add missing files 2023-04-28 04:59:04 -07:00
Boris Kuschel
2246306370
remove commented lines 2023-04-28 04:59:03 -07:00
Boris Kuschel
7f91105e7d
Update curl to 8.0.1 2023-04-28 04:59:02 -07:00
bkuschel
0d61ab29f7
Update Curl to 7.87.0 2023-02-09 12:55:05 -05:00
Alexander Tokmakov
0d68b1c67f fix build with clang-15 2022-08-01 18:00:54 +02:00
Azat Khuzhin
e8f5cd3c68 Add separate option to omit symbols from heavy contrib
Sometimes it is useful to build contrib with debug symbols for further
debugging.

With everything turned ON (i.e. debug build) I got 3.3GB vs 3.0GB w/o
this patch, 9% bloat, thoughts about this is this OK or not for you, if
not STRIP_DEBUG_SYMBOLS_HEAVY_CONTRIB can be OFF by default (regardless
of build type).

P.S. aws debug symbols adds just 1.7%.
v2: rename STRIP_HEAVY_DEBUG_SYMBOLS
v3: OMIT_HEAVY_DEBUG_SYMBOLS
v4: documentation had been removed
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-02 06:32:03 +03:00
Suzy Wang
17fb5d8068 upgrade curl to 7.83.1 2022-06-01 21:30:02 -07:00
Meena Renganathan
0d0b1ef7dc Fix to restrict the curl, azure and sentry build in MacOS 2022-04-06 06:28:35 -07:00
Meena Renganathan
05ffa45907 Further updates to the CMakeLists.txt to fix the build error in MacOS 2022-03-25 16:22:34 -07:00
Meena Renganathan
db58a87fcb Updated the curl-cmake/curl_config.h to resolve the build error in MacOS 2022-03-24 06:36:03 -07:00
Meena Renganathan
b85ada8ff6 Upgrdaed the curl package to fix vulnerabilities reported by WhiteSource 2022-03-08 09:35:56 -08:00
Azat Khuzhin
a2b7e0e6b2 contrib/curl: cleanup cmake
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-21 10:11:22 +03:00
Azat Khuzhin
4f4ec8912b Remove unbundled curl support 2022-01-20 10:02:00 +03:00
Amos Bird
6d62060e16
Build improvement 2022-01-17 22:36:27 +08:00
Alexey Milovidov
4ff812db7f Maybe better support for paths with whitespaces 2021-04-24 22:47:52 +03:00
Konstantin Podshumok
e296997b6c
cmake: fix potential curl linking problems
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:44 +03:00
Konstantin Podshumok
87a2ae1820
cmake: contrib/curl-cmake: use FAIL_ON_UNSUPPORTED_OPTIONS_COMBINATION
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:38 +03:00
alexey-milovidov
89419ceb9b
Revert "cmake: Add option to fail configuration instead of auto-reconfiguration" 2020-08-13 23:10:06 +03:00
Konstantin Podshumok
262080132b cmake: disabling silent reconfigurations in contrib/*/CMakeLists.txt
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-09 21:37:46 +03:00
Azat Khuzhin
9258368de2 Fail if curl library was enabled and was not found in case of unbundled build 2020-07-04 16:48:25 +03:00
Azat Khuzhin
0700a705bc Rewrite curl dependency in a more ch compatible way
- add support of unbundled curl
- add CURL::libcurl libraries
- avoid explicit linkage of daemon with curl (added with sentry)
- set CACHE variables for non-direct users:
  - mariadb-connector-c
  - aws-s3-cmake
  - sentry-native

Cc: @alexey-milovidov
Cc: @alesapin (requires docker image update)
Cc: @abyss7

Refs: #11300
Refs: #8011
Refs: #8905

v2: replace cmake/find/curl.cmake with proper contrib/curl-cmake (as
pointed by @abyss7, cmake/find/*.cmake is deprecated)
2020-07-03 00:57:08 +03:00
Ivan Blinkov
709b4f42c8 Prototype sending crash reports on segfaults 2020-05-27 22:11:04 +03:00
Ivan
9251fb803a
Enable OpenSSL support in Curl (#9039)
* Enable OpenSSL support in Curl
* Define macro CURL_CA_BUNDLE
2020-02-10 15:41:13 +03:00
Ivan
ec5c513faa
Implement separate CMake build file for curl library (#8905) 2020-01-30 12:51:04 +03:00
Alexey Milovidov
3d8703e81b Minor cleanups 2019-12-29 16:20:41 +03:00
Alexey Milovidov
d635441090 Removed all harmful libraries 2019-12-29 16:04:11 +03:00
Pavel Kovalenko
d04f38fb9c Fix quiet mode for curl. 2019-12-16 14:13:33 +03:00
Pavel Kovalenko
67b463a027 CMake curl build quiet mode. 2019-12-13 15:52:22 +03:00
Pavel Kovalenko
988e4e4390 AWS SDK integration - add patch file for original curl CMakeLists.txt 2019-12-12 20:08:51 +03:00
Pavel Kovalenko
98c5ab5094 AWS SDK integration - set default ca_bundle and ca_path for curl build. 2019-12-12 19:57:37 +03:00
Pavel Kovalenko
980c82a2b5 AWS SDK integration - add curl license and references to original curl CMake files. 2019-12-11 17:31:48 +03:00
Pavel Kovalenko
50173584c1 AWS SDK integration - don't use CA in curl build if openssl is disabled. 2019-12-10 17:33:07 +03:00
Pavel Kovalenko
509068c513 AWS SDK integration - curl makefile cleanup. 2019-12-10 16:23:49 +03:00
Pavel Kovalenko
28d4e7db65 AWS SDK integration - build curl manually. 2019-12-10 15:30:39 +03:00