+rust-curl-sys (0.4.42-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+ * Team upload.
+ * Package curl-sys 0.4.42+curl-7.76.0 from crates.io using debcargo 2.4.3
+
+ -- Fabian Grünbichler <f.gruenbichler@proxmox.com> Mon, 03 May 2021 10:25:00 +0200
+
rust-curl-sys (0.4.36-1~bpo10+pve1) proxmox-rust; urgency=medium
* Rebuild for Debian Buster / Proxmox
Files: debian/*
Copyright:
- 2018-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
- 2018-2020 Ximin Luo <infinity0@debian.org>
+ 2018-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2018-2021 Ximin Luo <infinity0@debian.org>
License: MIT
License: MIT
[build-dependencies.cc]
version = "1.0"
-@@ -52,7 +47,6 @@ spnego = []
- ssl = ["openssl-sys"]
+@@ -53,7 +48,6 @@ spnego = []
static-curl = []
static-ssl = ["openssl-sys"]
+ upkeep_7_62_0 = []
-zlib-ng-compat = ["libz-sys/zlib-ng", "static-curl"]
[target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.openssl-sys]
version = "0.9"
static-curl = []
-static-ssl = ["openssl-sys/vendored"]
+static-ssl = ["openssl-sys"]
+ upkeep_7_62_0 = []
zlib-ng-compat = ["libz-sys/zlib-ng", "static-curl"]
[target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.openssl-sys]
- version = "0.9"
Index: curl-sys/build.rs
===================================================================
--- curl-sys.orig/build.rs
+++ curl-sys/build.rs
-@@ -19,8 +19,9 @@ fn main() {
+@@ -27,8 +27,9 @@ fn main() {
return println!("cargo:rustc-flags=-l curl");
}
+ // On Debian, always probe for a system-wide libcurl even when linking statically
+ if true {
+ if cfg!(feature = "static-curl") { println!("cargo:static=1"); }
- // OSX and Haiku ships libcurl by default, so we just use that version
+ // OSX ships libcurl by default, so we just use that version
// so long as it has the right features enabled.
- if target.contains("apple") || target.contains("haiku") {
+ if target.contains("apple") && (!cfg!(feature = "http2") || curl_config_reports_http2()) {
-Test-Command: /usr/share/cargo/bin/cargo-auto-test curl-sys 0.4.36+curl-7.71.1 --all-targets --all-features
+Test-Command: /usr/share/cargo/bin/cargo-auto-test curl-sys 0.4.42+curl-7.76.0 --all-targets --all-features
Features: test-name=@
Depends: dh-cargo (>= 18), @
Restrictions: allow-stderr, skip-not-installable
-Test-Command: /usr/share/cargo/bin/cargo-auto-test curl-sys 0.4.36+curl-7.71.1 --all-targets --no-default-features
+Test-Command: /usr/share/cargo/bin/cargo-auto-test curl-sys 0.4.42+curl-7.76.0 --all-targets --no-default-features
Features: test-name=librust-curl-sys-dev
Depends: dh-cargo (>= 18), @
Restrictions: allow-stderr, skip-not-installable
-Test-Command: /usr/share/cargo/bin/cargo-auto-test curl-sys 0.4.36+curl-7.71.1 --all-targets --features http2
+Test-Command: /usr/share/cargo/bin/cargo-auto-test curl-sys 0.4.42+curl-7.76.0 --all-targets --features http2
Features: test-name=librust-curl-sys+http2-dev
Depends: dh-cargo (>= 18), @
Restrictions: allow-stderr, skip-not-installable
-Test-Command: /usr/share/cargo/bin/cargo-auto-test curl-sys 0.4.36+curl-7.71.1 --all-targets --features openssl-sys
+Test-Command: /usr/share/cargo/bin/cargo-auto-test curl-sys 0.4.42+curl-7.76.0 --all-targets --features openssl-sys
Features: test-name=librust-curl-sys+openssl-sys-dev
Depends: dh-cargo (>= 18), @
Restrictions: allow-stderr, skip-not-installable