Package: nethsm-pkcs11
Version: 2.0.0-2

I hope to update rust-cryptoki-sys to the latest version soon,
nethsm-pkcs11 needs it's dependencies adjusting to build
with the new version.
diff -Nru nethsm-pkcs11-2.0.0/debian/changelog 
nethsm-pkcs11-2.0.0/debian/changelog
--- nethsm-pkcs11-2.0.0/debian/changelog        2026-03-07 16:28:05.000000000 
+0000
+++ nethsm-pkcs11-2.0.0/debian/changelog        2026-06-21 08:55:37.000000000 
+0000
@@ -1,3 +1,10 @@
+nethsm-pkcs11 (2.0.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax dependency on rust-cryptoki-sys.
+
+ -- Peter Michael Green <[email protected]>  Sun, 21 Jun 2026 08:55:37 +0000
+
 nethsm-pkcs11 (2.0.0-2) unstable; urgency=medium
 
   [ Tobias Deiminger ]
diff -Nru nethsm-pkcs11-2.0.0/debian/control nethsm-pkcs11-2.0.0/debian/control
--- nethsm-pkcs11-2.0.0/debian/control  2026-03-07 16:27:22.000000000 +0000
+++ nethsm-pkcs11-2.0.0/debian/control  2026-06-21 08:55:37.000000000 +0000
@@ -9,7 +9,8 @@
  cargo:native,
  librust-arc-swap-1+default-dev (>= 1.7.1),
  librust-base64ct-1-dev (>= 1.6),
- librust-cryptoki-sys-0.1+default-dev,
+ librust-cryptoki-sys+default-dev (>= 0.1),
+ librust-cryptoki-sys+default-dev (<< 0.6),
  librust-der-0.7-dev,
  librust-digest-0.10-dev,
  librust-env-logger-0.11+auto-color-dev,
diff -Nru nethsm-pkcs11-2.0.0/debian/patches/0001-relax_dependencies.patch 
nethsm-pkcs11-2.0.0/debian/patches/0001-relax_dependencies.patch
--- nethsm-pkcs11-2.0.0/debian/patches/0001-relax_dependencies.patch    
2026-03-05 19:30:05.000000000 +0000
+++ nethsm-pkcs11-2.0.0/debian/patches/0001-relax_dependencies.patch    
2026-06-21 08:55:37.000000000 +0000
@@ -7,7 +7,7 @@
 
 Relaxed to be satisfiable from Debian archive:
 - env_logger: 0.11.7 => 0.11.
-- cryptoki-sys: 0.4.0 => 0.1.
+- cryptoki-sys: 0.4.0 => >= 0.1, < 0.6.
 - hex_literal: 1.0.0 => 0.4.
 - socket2: 0.6.0 => 0.5.
 - thiserror: 2.0.12 => 2.0.
@@ -34,7 +34,7 @@
 -env_logger = { default-features = false, version = "0.11.7", features = 
["auto-color", "humantime"] }
 -cryptoki-sys = "0.4.0"
 +env_logger = { default-features = false, version = "0.11", features = 
["auto-color", "humantime"] }
-+cryptoki-sys = "0.1"
++cryptoki-sys = ">= 0.1, < 0.6"
  log = "0.4.19"
  serde = { version = "1", features = ["derive"], default-features = false }
  serde_yaml = "0.9.22"

Reply via email to