Package: netavark

I hope to update the nix crate to 0.30 soon, netavark's debian
build-dependencies allow the new version, but it's Cargo
dependencies do not.

After relaxing the dependency the package buildds successfully.

diff -Nru netavark-1.16.1/debian/cargo-checksum.json 
netavark-1.16.1/debian/cargo-checksum.json
--- netavark-1.16.1/debian/cargo-checksum.json  1970-01-01 00:00:00.000000000 
+0000
+++ netavark-1.16.1/debian/cargo-checksum.json  2025-09-28 11:23:22.000000000 
+0000
@@ -0,0 +1 @@
+{"package":"8b2de1f3fe77fb8e2d39faebafb224cf1552c6820b430ff57d1acb28dd60d7f1","files":{}}
diff -Nru netavark-1.16.1/debian/changelog netavark-1.16.1/debian/changelog
--- netavark-1.16.1/debian/changelog    2025-09-11 09:59:45.000000000 +0000
+++ netavark-1.16.1/debian/changelog    2025-09-28 11:23:22.000000000 +0000
@@ -1,3 +1,10 @@
+netavark (1.16.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax cargo dependency on nix.
+
+ -- Peter Michael Green <plugw...@debian.org>  Sun, 28 Sep 2025 11:23:22 +0000
+
 netavark (1.16.1-2) unstable; urgency=medium
 
   * Upload to unstable
diff -Nru netavark-1.16.1/debian/patches/0011-Relax-dependency-on-nix.patch 
netavark-1.16.1/debian/patches/0011-Relax-dependency-on-nix.patch
--- netavark-1.16.1/debian/patches/0011-Relax-dependency-on-nix.patch   
2025-09-11 09:59:45.000000000 +0000
+++ netavark-1.16.1/debian/patches/0011-Relax-dependency-on-nix.patch   
2025-09-28 11:20:50.000000000 +0000
@@ -16,7 +16,7 @@
  serde_json = "1.0.142"
  zbus = { version = "5.9.0" }
 -nix = { version = "0.30.1", features = ["net", "sched", "signal", "socket", 
"user"] }
-+nix = { version = "0.29", features = ["net", "sched", "signal", "socket", 
"user"] }
++nix = { version = ">= 0.29", features = ["net", "sched", "signal", "socket", 
"user"] }
  rand = "0.9.2"
  sha2 = "0.10.9"
  netlink-packet-route = "0.23.0"
diff -Nru netavark-1.16.1/debian/patches/0012-Relax-dependency-on-Rand.patch 
netavark-1.16.1/debian/patches/0012-Relax-dependency-on-Rand.patch
--- netavark-1.16.1/debian/patches/0012-Relax-dependency-on-Rand.patch  
2025-09-11 09:59:45.000000000 +0000
+++ netavark-1.16.1/debian/patches/0012-Relax-dependency-on-Rand.patch  
2025-09-28 11:22:26.000000000 +0000
@@ -13,15 +13,9 @@
 index a39ce93..4151dbf 100644
 --- a/Cargo.toml
 +++ b/Cargo.toml
-@@ -44,7 +44,7 @@ serde = { version = "1.0.219", features = ["derive"] }
- serde_json = "1.0.142"
- zbus = { version = "5.9.0" }
- nix = { version = "0.29", features = ["net", "sched", "signal", "socket", 
"user"] }
+@@ -47,1 +47,1 @@
 -rand = "0.9.2"
 +rand = "0.8.5"
- sha2 = "0.10.9"
- netlink-packet-route = "0.23.0"
- netlink-packet-core = "0.7.0"
 @@ -68,5 +68,5 @@ tonic-build = "0.13.1"
  
  [dev-dependencies]
diff -Nru netavark-1.16.1/debian/patches/0014-Relax-dependency-on-zbus.patch 
netavark-1.16.1/debian/patches/0014-Relax-dependency-on-zbus.patch
--- netavark-1.16.1/debian/patches/0014-Relax-dependency-on-zbus.patch  
2025-09-11 09:59:45.000000000 +0000
+++ netavark-1.16.1/debian/patches/0014-Relax-dependency-on-zbus.patch  
2025-09-28 11:23:00.000000000 +0000
@@ -10,12 +10,6 @@
 index f55f6cb..ee1b75a 100644
 --- a/Cargo.toml
 +++ b/Cargo.toml
-@@ -42,7 +42,7 @@ libc = "0.2.157"
- log = "0.4.27"
- serde = { version = "1.0.219", features = ["derive"] }
- serde_json = "1.0.142"
+@@ -45,1 +45,1 @@
 -zbus = { version = "5.9.0" }
 +zbus = { version = "5.3.0" }
- nix = { version = "0.29", features = ["net", "sched", "signal", "socket", 
"user"] }
- rand = "0.8.5"
- sha2 = "0.10.9"

Reply via email to