0001-Disable-SSL-support-for-the-curl-module.patch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. From 5b4179af15b435a476c006260718d4f6e22ea2ab Mon Sep 17 00:00:00 2001
  2. From: Bernd Kuhls <bernd@kuhls.net>
  3. Date: Mon, 31 Jul 2023 22:34:04 +0200
  4. Subject: [PATCH] Disable SSL support for the curl module
  5. Fixes build with OpenSSL v3.
  6. Downloaded Cargo.toml patch from
  7. https://cgit.freebsd.org/ports/tree/devel/sentry-cli/files/patch-Cargo.toml
  8. Upstream: https://github.com/getsentry/sentry-cli/issues/1706
  9. Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
  10. ---
  11. Cargo.lock | 10 ----------
  12. Cargo.toml | 2 +-
  13. 2 files changed, 1 insertion(+), 11 deletions(-)
  14. diff --git a/Cargo.lock b/Cargo.lock
  15. index e5031db..7357215 100644
  16. --- a/Cargo.lock
  17. +++ b/Cargo.lock
  18. @@ -1521,15 +1521,6 @@ version = "0.1.5"
  19. source = "registry+https://github.com/rust-lang/crates.io-index"
  20. checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
  21. -[[package]]
  22. -name = "openssl-src"
  23. -version = "111.25.0+1.1.1t"
  24. -source = "registry+https://github.com/rust-lang/crates.io-index"
  25. -checksum = "3173cd3626c43e3854b1b727422a276e568d9ec5fe8cec197822cf52cfb743d6"
  26. -dependencies = [
  27. - "cc",
  28. -]
  29. -
  30. [[package]]
  31. name = "openssl-sys"
  32. version = "0.9.80"
  33. @@ -1539,7 +1530,6 @@ dependencies = [
  34. "autocfg",
  35. "cc",
  36. "libc",
  37. - "openssl-src",
  38. "pkg-config",
  39. "vcpkg",
  40. ]
  41. diff --git a/Cargo.toml b/Cargo.toml
  42. index c8c9ca9..117e77d 100644
  43. --- a/Cargo.toml
  44. +++ b/Cargo.toml
  45. @@ -25,7 +25,7 @@ clap = { version = "4.1.6", default-features = false, features = [
  46. "error-context",
  47. ] }
  48. console = "0.15.5"
  49. -curl = { version = "0.4.44", features = ["static-curl", "static-ssl"] }
  50. +curl = { version = "0.4.44" }
  51. dirs = "4.0.0"
  52. dotenv = "0.15.0"
  53. elementtree = "1.2.3"
  54. --
  55. 2.39.2