Codebase list rust-libslirp / 8f63fd9
pleaser: rebuild against rpassword 6 Daniel Kahn Gillmor 1 year, 2 months ago
5 changed file(s) with 51 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
0 rust-pleaser (0.5.3-2) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Team upload.
3 * Package pleaser 0.5.3 from crates.io using debcargo 2.6.0
4 * Add patch to build with rpassword 6.
5
6 -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Tue, 07 Feb 2023 16:57:12 -0500
7
08 rust-pleaser (0.5.3-1) unstable; urgency=medium
19
210 * Team upload.
88
99 Files: debian/*
1010 Copyright:
11 2020-2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
11 2020-2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
1212 2020-2021 Ed Neville <ed-debian@s5h.net>
13 2020-2023 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
1314 License: GPL-3.0-or-later
1415
1516 License: GPL-3.0-or-later
1111 be correct information so you should review and fix this before uploading to
1212 the archive.
1313
14 Files: ./LICENSE
14 Files: LICENSE
1515 Copyright: 2007 Free Software Foundation, Inc. <https://fsf.org/>
1616 License: UNKNOWN-LICENSE; FIXME (overlay)
1717 Comment:
1818 FIXME (overlay): These notices are extracted from files. Please review them
1919 before uploading to the archive.
2020
21 Files: ./src/bin/please.rs
21 Files: src/bin/please.rs
2222 Copyright: 2020-2021 ed neville
2323 License: UNKNOWN-LICENSE; FIXME (overlay)
2424 Comment:
2525 FIXME (overlay): These notices are extracted from files. Please review them
2626 before uploading to the archive.
2727
28 Files: ./src/bin/pleaseedit.rs
28 Files: src/bin/pleaseedit.rs
2929 Copyright: 2020-2021 ed neville
3030 License: UNKNOWN-LICENSE; FIXME (overlay)
3131 Comment:
3232 FIXME (overlay): These notices are extracted from files. Please review them
3333 before uploading to the archive.
3434
35 Files: ./src/lib.rs
35 Files: src/lib.rs
3636 Copyright: 2020-2021 ed neville
3737 License: UNKNOWN-LICENSE; FIXME (overlay)
3838 Comment:
4141
4242 Files: debian/*
4343 Copyright:
44 2020-2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
45 2020-2022 Ed Neville <ed-debian@s5h.net>
44 2020-2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
45 2020-2023 Ed Neville <ed-debian@s5h.net>
4646 License: GPL-3.0-or-later
4747
4848 License: GPL-3.0-or-later
0 Debian is moving from rpassword 5 to rpassword 6.
1 This change should be sufficient to work properly.
2
3 Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
4
5 diff --git a/src/lib.rs b/src/lib.rs
6 index 4199249..5e98cfa 100644
7 --- a/src/lib.rs
8 +++ b/src/lib.rs
9 @@ -234,10 +234,10 @@ impl pam::Converse for PamConvo {
10 CString::new(self.login.clone()).map_err(|_| ())
11 }
12 fn prompt_blind(&mut self, _msg: &CStr) -> Result<CString, ()> {
13 - match rpassword::read_password_from_tty(Some(&format!(
14 + match rpassword::prompt_password(format!(
15 "[{}] password for {}: ",
16 self.service, self.login
17 - ))) {
18 + )) {
19 Ok(password) => self.passwd = Some(password),
20 Err(_) => {
21 println!("Cannot read from terminal");
22 --- a/Cargo.toml
23 +++ b/Cargo.toml
24 @@ -44,7 +44,7 @@
25 version = "1.3"
26
27 [dependencies.rpassword]
28 -version = "5.0"
29 +version = "6"
30
31 [dependencies.syslog]
32 version = ">= 6.0"
00 nix-0.25.patch
1 rpassword-6.patch
2