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