Bug#1050678: rust-async-process - update for new rustix.

2023-10-08 Thread Peter Green

severity 1050678 serious
thanks

On 27/08/2023 23:19, Peter Michael Green wrote:

Package: rust-async-process
Version: 1.7.0-2

I'm preparing an update for rustix, it's a new semver but so-far everything
seems to build with just the dependency bumped. I've uploaded it to 
experimental.
and assuming no showstoppers show up I hope to re-upload it to experimental 
soon.

I have prepared a patch for this package, are you ok if I just NMU it at the 
same time
as I'm uploading the rest of the reverse dependencies or do you want to handle 
the
update yourself?


The new version of rustix is now in unstable.



Bug#1050678: rust-async-process - update for new rustix.

2023-08-27 Thread Peter Michael Green

Package: rust-async-process
Version: 1.7.0-2

I'm preparing an update for rustix, it's a new semver but so-far everything
seems to build with just the dependency bumped. I've uploaded it to 
experimental.
and assuming no showstoppers show up I hope to re-upload it to 
experimental soon.


I have prepared a patch for this package, are you ok if I just NMU it at 
the same time
as I'm uploading the rest of the reverse dependencies or do you want to 
handle the

update yourself?

diff -Nru rust-async-process-1.7.0/debian/changelog 
rust-async-process-1.7.0/debian/changelog
--- rust-async-process-1.7.0/debian/changelog   2023-08-14 10:57:58.0 
+
+++ rust-async-process-1.7.0/debian/changelog   2023-08-27 19:54:23.0 
+
@@ -1,3 +1,10 @@
+rust-async-process (1.7.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply upstream patch to bump rustix dependency.
+
+ -- Peter Michael Green   Sun, 27 Aug 2023 19:54:23 +
+
 rust-async-process (1.7.0-2) unstable; urgency=medium
 
   * update dh-cargo fork;
diff -Nru rust-async-process-1.7.0/debian/control 
rust-async-process-1.7.0/debian/control
--- rust-async-process-1.7.0/debian/control 2023-07-16 09:41:54.0 
+
+++ rust-async-process-1.7.0/debian/control 2023-08-27 19:52:22.0 
+
@@ -12,8 +12,8 @@
  librust-futures-lite-1+default-dev ,
  librust-async-io-1+default-dev ,
  librust-libc-0.2+default-dev ,
- librust-rustix-0.37+fs-dev ,
- librust-rustix-0.37+std-dev ,
+ librust-rustix-0.38+fs-dev ,
+ librust-rustix-0.38+std-dev ,
  librust-signal-hook-0.3+iterator-dev ,
  libstring-shellquote-perl,
 Maintainer: Jonas Smedegaard 
@@ -34,8 +34,8 @@
  librust-futures-lite-1+default-dev,
  librust-async-io-1+default-dev,
  librust-libc-0.2+default-dev,
- librust-rustix-0.37+fs-dev,
- librust-rustix-0.37+std-dev,
+ librust-rustix-0.38+fs-dev,
+ librust-rustix-0.38+std-dev,
  librust-signal-hook-0.3+iterator-dev,
  ${misc:Depends},
 Provides:
diff -Nru rust-async-process-1.7.0/debian/patches/0001_update-rustix.patch 
rust-async-process-1.7.0/debian/patches/0001_update-rustix.patch
--- rust-async-process-1.7.0/debian/patches/0001_update-rustix.patch
1970-01-01 00:00:00.0 +
+++ rust-async-process-1.7.0/debian/patches/0001_update-rustix.patch
2023-08-27 19:49:35.0 +
@@ -0,0 +1,26 @@
+commit 171561685961330d561e660d8608f230f6a208f1
+Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
+Date:   Sun Jul 2 19:05:21 2023 -0700
+
+m: Update rustix requirement from 0.37 to 0.38
+
+Updates the requirements on 
[rustix](https://github.com/bytecodealliance/rustix) to permit the latest 
version.
+- [Release notes](https://github.com/bytecodealliance/rustix/releases)
+- 
[Commits](https://github.com/bytecodealliance/rustix/compare/v0.37.0...v0.38.2)
+
+---
+updated-dependencies:
+- dependency-name: rustix
+  dependency-type: direct:production
+...
+
+Signed-off-by: dependabot[bot] 
+Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
+
+diff --git a/Cargo.toml b/Cargo.toml
+index c42a1db..7963bdd 100644
+--- a/Cargo.toml
 b/Cargo.toml
+@@ -26,1 +26,1 @@ futures-lite = "1.11.0"
+-rustix = { version = "0.37", default-features = false, features = ["std", 
"fs"] }
++rustix = { version = "0.38", default-features = false, features = ["std", 
"fs"] }
diff -Nru rust-async-process-1.7.0/debian/patches/series 
rust-async-process-1.7.0/debian/patches/series
--- rust-async-process-1.7.0/debian/patches/series  2023-07-04 
08:20:52.0 +
+++ rust-async-process-1.7.0/debian/patches/series  2023-08-27 
19:41:57.0 +
@@ -1 +1,2 @@
+0001_update-rustix.patch
 2001_windows.patch