diff --git a/.gitignore b/.gitignore index 7826da7..f038d5e 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,4 @@ /curl-sys-0.4.70+curl-8.5.0.crate /curl-sys-0.4.72+curl-8.6.0.crate /curl-sys-0.4.73+curl-8.8.0.crate +/curl-sys-0.4.74+curl-8.9.0.crate diff --git a/0001-unconditionally-use-pkg-config-to-link-with-system-l.patch b/0001-unconditionally-use-pkg-config-to-link-with-system-l.patch index e73c603..338ac41 100644 --- a/0001-unconditionally-use-pkg-config-to-link-with-system-l.patch +++ b/0001-unconditionally-use-pkg-config-to-link-with-system-l.patch @@ -1,17 +1,17 @@ -From 9d4f7c7f5c00875892508e24fe86a1244f038b78 Mon Sep 17 00:00:00 2001 +From 21a769a9d06dc811652d9c405be4f92a06807164 Mon Sep 17 00:00:00 2001 From: Fabio Valentini -Date: Sun, 7 Jul 2024 15:00:34 +0200 +Date: Fri, 9 Aug 2024 13:36:02 +0200 Subject: [PATCH] unconditionally use pkg-config to link with system libcurl --- - build.rs | 588 +------------------------------------------------------ - 1 file changed, 5 insertions(+), 583 deletions(-) + build.rs | 589 +------------------------------------------------------ + 1 file changed, 5 insertions(+), 584 deletions(-) diff --git a/build.rs b/build.rs -index 407bc25..497789c 100644 +index 7d9a661..497789c 100644 --- a/build.rs +++ b/build.rs -@@ -1,612 +1,34 @@ +@@ -1,613 +1,34 @@ -use std::env; -use std::fs; -use std::path::{Path, PathBuf}; @@ -114,7 +114,7 @@ index 407bc25..497789c 100644 - .replace("@LIBCURL_LIBS@", "") - .replace("@SUPPORT_FEATURES@", "") - .replace("@SUPPORT_PROTOCOLS@", "") -- .replace("@CURLVERSION@", "8.8.0"), +- .replace("@CURLVERSION@", "8.9.0"), - ) - .unwrap(); - @@ -334,6 +334,7 @@ index 407bc25..497789c 100644 - .file("curl/lib/vtls/x509asn1.c"); - } else if target.contains("-apple-") { - cfg.define("USE_SECTRANSP", None) +- .file("curl/lib/vtls/cipher_suite.c") - .file("curl/lib/vtls/sectransp.c") - .file("curl/lib/vtls/x509asn1.c"); - if xcode_major_version().map_or(true, |v| v >= 9) { @@ -630,5 +631,5 @@ index 407bc25..497789c 100644 - None -} -- -2.45.2 +2.46.0 diff --git a/curl-sys-fix-metadata-auto.diff b/curl-sys-fix-metadata-auto.diff index 020a907..2bcf794 100644 --- a/curl-sys-fix-metadata-auto.diff +++ b/curl-sys-fix-metadata-auto.diff @@ -1,11 +1,11 @@ ---- curl-sys-0.4.73+curl-8.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ curl-sys-0.4.73+curl-8.8.0/Cargo.toml 2024-07-07T12:52:12.629501+00:00 +--- curl-sys-0.4.74+curl-8.9.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ curl-sys-0.4.74+curl-8.9.0/Cargo.toml 2024-08-09T11:34:01.724222+00:00 @@ -12,7 +12,7 @@ [package] edition = "2018" name = "curl-sys" --version = "0.4.73+curl-8.8.0" -+version = "0.4.73" +-version = "0.4.74+curl-8.9.0" ++version = "0.4.74" authors = ["Alex Crichton "] build = "build.rs" links = "curl" diff --git a/curl-sys-fix-metadata.diff b/curl-sys-fix-metadata.diff index a80d8dc..9d6d6eb 100644 --- a/curl-sys-fix-metadata.diff +++ b/curl-sys-fix-metadata.diff @@ -1,5 +1,5 @@ ---- curl-sys-0.4.73+curl-8.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ curl-sys-0.4.73+curl-8.8.0/Cargo.toml 2024-07-07T12:52:44.962640+00:00 +--- curl-sys-0.4.74+curl-8.9.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ curl-sys-0.4.74+curl-8.9.0/Cargo.toml 2024-08-09T11:34:36.868398+00:00 @@ -33,20 +33,6 @@ [dependencies.libc] version = "0.2.2" diff --git a/rust-curl-sys.spec b/rust-curl-sys.spec index a327157..a9a921b 100644 --- a/rust-curl-sys.spec +++ b/rust-curl-sys.spec @@ -3,10 +3,10 @@ %global debug_package %{nil} %global crate curl-sys -%global upstream_version 0.4.73+curl-8.8.0 +%global upstream_version 0.4.74+curl-8.9.0 Name: rust-curl-sys -Version: 0.4.73 +Version: 0.4.74 Release: %autorelease Summary: Native bindings to the libcurl library diff --git a/sources b/sources index bab8d4d..adff3dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (curl-sys-0.4.73+curl-8.8.0.crate) = 7c669747ede48191e6a75f118084bc473fac3ec2fe78882bd13527df3d98a0c26c00b30055230298685afc741aa99e369b8bc2bb6d89712aaa3e5208c7ee9fc0 +SHA512 (curl-sys-0.4.74+curl-8.9.0.crate) = 125e01702a85f33a9157d67930c92cd8af619d098c5ca98d820ed308d7931f851c395a278f54f57a243b8ae33305292c15ce9d6397b7e3726c6eefe90d3577f6