Package: rust-rustls-native-certs
Version: 0.6.3-3

As you are probablly aware, I'm preparing an update of the untrusted and ring 
crates
(currently in experimental). The rustls-native-certs crate doesn't use 
untrusted or
ring at runtime, but it does have dev-dependencies on them.

After bumping the dev-dependencies the package builds and runs autopkgtests 
fine.
diff -Nru rust-rustls-native-certs-0.6.3/debian/changelog 
rust-rustls-native-certs-0.6.3/debian/changelog
--- rust-rustls-native-certs-0.6.3/debian/changelog     2023-08-19 
22:13:08.000000000 +0000
+++ rust-rustls-native-certs-0.6.3/debian/changelog     2023-11-04 
02:42:29.000000000 +0000
@@ -1,3 +1,11 @@
+rust-rustls-native-certs (0.6.3-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Bump dev-dependencies on untrusted and ring to 0.9 and 0.17
+    and update build-dependencies and test dependencies accordingly.
+
+ -- Peter Michael Green <plugw...@debian.org>  Sat, 04 Nov 2023 02:42:29 +0000
+
 rust-rustls-native-certs (0.6.3-3) unstable; urgency=medium
 
   * renumber patch 2006 -> 1001;
diff -Nru rust-rustls-native-certs-0.6.3/debian/control 
rust-rustls-native-certs-0.6.3/debian/control
--- rust-rustls-native-certs-0.6.3/debian/control       2023-08-07 
00:24:56.000000000 +0000
+++ rust-rustls-native-certs-0.6.3/debian/control       2023-11-04 
02:42:29.000000000 +0000
@@ -5,12 +5,12 @@
  debhelper-compat (= 13),
  dh-cargo (>= 25),
  librust-openssl-probe-0.1+default-dev (>= 0.1.2) <!nocheck>,
- librust-ring-0.16+default-dev (>= 0.16.5) <!nocheck>,
+ librust-ring-0.17+default-dev <!nocheck>,
  librust-rustls-0.21+default-dev <!nocheck>,
  librust-rustls-pemfile-1+default-dev <!nocheck>,
  librust-rustls-webpki-0.101+default-dev <!nocheck>,
  librust-serial-test-2+default-dev <!nocheck>,
- librust-untrusted-0.7+default-dev <!nocheck>,
+ librust-untrusted-0.9+default-dev <!nocheck>,
  libstring-shellquote-perl,
 Maintainer: Jonas Smedegaard <d...@jones.dk>
 Standards-Version: 4.6.2
diff -Nru 
rust-rustls-native-certs-0.6.3/debian/patches/1002_untrusted_ring.patch 
rust-rustls-native-certs-0.6.3/debian/patches/1002_untrusted_ring.patch
--- rust-rustls-native-certs-0.6.3/debian/patches/1002_untrusted_ring.patch     
1970-01-01 00:00:00.000000000 +0000
+++ rust-rustls-native-certs-0.6.3/debian/patches/1002_untrusted_ring.patch     
2023-11-04 02:37:54.000000000 +0000
@@ -0,0 +1,17 @@
+Description: Bump ring and rustls dev-dependencies to 0.17 and 0.9
+Author: Peter Michael Green <plugw...@debian.org>
+Last-Update: 2023-11-04
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- rust-rustls-native-certs-0.6.3.orig/Cargo.toml
++++ rust-rustls-native-certs-0.6.3/Cargo.toml
+@@ -16,3 +16,3 @@
+ [dev-dependencies]
+-ring = "0.16.5"
++ring = "0.17"
+ rustls = "0.21.0"
+@@ -20,3 +20,3 @@
+ serial_test = "2"
+-untrusted = "0.7.0" # stick to the version ring depends on for now
++untrusted = "0.9.0" # stick to the version ring depends on for now
+ webpki-roots = "0.23"
diff -Nru rust-rustls-native-certs-0.6.3/debian/patches/2004_x509-parser.patch 
rust-rustls-native-certs-0.6.3/debian/patches/2004_x509-parser.patch
--- rust-rustls-native-certs-0.6.3/debian/patches/2004_x509-parser.patch        
2023-08-14 10:13:20.000000000 +0000
+++ rust-rustls-native-certs-0.6.3/debian/patches/2004_x509-parser.patch        
2023-11-04 02:38:56.000000000 +0000
@@ -8,7 +8,7 @@
 +++ b/Cargo.toml
 @@ -20,7 +20,6 @@
  serial_test = "2"
- untrusted = "0.7.0" # stick to the version ring depends on for now
+ untrusted = "0.9.0" # stick to the version ring depends on for now
  webpki-roots = "0.23"
 -x509-parser = "0.15"
  
diff -Nru rust-rustls-native-certs-0.6.3/debian/patches/2005_webpki-roots.patch 
rust-rustls-native-certs-0.6.3/debian/patches/2005_webpki-roots.patch
--- rust-rustls-native-certs-0.6.3/debian/patches/2005_webpki-roots.patch       
2023-08-19 22:13:08.000000000 +0000
+++ rust-rustls-native-certs-0.6.3/debian/patches/2005_webpki-roots.patch       
2023-11-04 02:39:56.000000000 +0000
@@ -9,7 +9,7 @@
 @@ -19,7 +19,6 @@
  rustls-webpki = ">= 0.100, < 0.102"
  serial_test = "2"
- untrusted = "0.7.0" # stick to the version ring depends on for now
+ untrusted = "0.9.0" # stick to the version ring depends on for now
 -webpki-roots = "0.23"
  
  [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
diff -Nru rust-rustls-native-certs-0.6.3/debian/patches/series 
rust-rustls-native-certs-0.6.3/debian/patches/series
--- rust-rustls-native-certs-0.6.3/debian/patches/series        2023-08-14 
10:14:25.000000000 +0000
+++ rust-rustls-native-certs-0.6.3/debian/patches/series        2023-11-04 
02:34:55.000000000 +0000
@@ -1,4 +1,5 @@
 1001_rustls-webpki.patch
+1002_untrusted_ring.patch
 2001_security-framework.patch
 2002_schannel.patch
 2004_x509-parser.patch
diff -Nru rust-rustls-native-certs-0.6.3/debian/tests/control 
rust-rustls-native-certs-0.6.3/debian/tests/control
--- rust-rustls-native-certs-0.6.3/debian/tests/control 2023-08-07 
00:25:15.000000000 +0000
+++ rust-rustls-native-certs-0.6.3/debian/tests/control 2023-11-04 
02:42:29.000000000 +0000
@@ -4,12 +4,12 @@
 Depends:
  ca-certificates,
  dh-cargo (>= 18),
- librust-ring-0.16+default-dev (>= 0.16.5),
+ librust-ring-0.17+default-dev,
  librust-rustls-0.21+default-dev,
  librust-rustls-native-certs-0.6-dev,
  librust-rustls-webpki-0.101+default-dev,
  librust-serial-test-2+default-dev,
- librust-untrusted-0.7+default-dev,
+ librust-untrusted-0.9+default-dev,
 Restrictions: allow-stderr, flaky
 
 Test-Command: /usr/share/cargo/bin/cargo-auto-test rustls-native-certs 0.6.3
@@ -18,12 +18,12 @@
 Depends:
  ca-certificates,
  dh-cargo (>= 18),
- librust-ring-0.16+default-dev (>= 0.16.5),
+ librust-ring-0.17+default-dev,
  librust-rustls-0.21+default-dev,
  librust-rustls-native-certs-0.6+default-dev,
  librust-rustls-webpki-0.101+default-dev,
  librust-serial-test-2+default-dev,
- librust-untrusted-0.7+default-dev,
+ librust-untrusted-0.9+default-dev,
 Restrictions: allow-stderr, flaky
 
 Test-Command: /usr/share/cargo/bin/cargo-auto-test rustls-native-certs 0.6.3
@@ -32,10 +32,10 @@
 Depends:
  ca-certificates,
  dh-cargo (>= 18),
- librust-ring-0.16+default-dev (>= 0.16.5),
+ librust-ring-0.17+default-dev,
  librust-rustls-0.21+default-dev,
  librust-rustls-native-certs-0.6-dev,
  librust-rustls-webpki-0.101+default-dev,
  librust-serial-test-2+default-dev,
- librust-untrusted-0.7+default-dev,
+ librust-untrusted-0.9+default-dev,
 Restrictions: allow-stderr, flaky

Reply via email to