Package: release.debian.org Severity: normal Tags: trixie X-Debbugs-Cc: [email protected], [email protected], [email protected] Control: affects -1 + src:rust-tealdeer User: [email protected] Usertags: pu
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 [ Reason ] tealdeer used to fetch content from tldr.sh. However, this domain was shut down in December 2025. A simple one-line patch points to the new domain to fetch content. See #1126698 and https://github.com/tealdeer-rs/tealdeer/issues/459 for background. [ Impact ] The program remains unsuable as tldr cannot fetch content. [ Tests ] None per se; I tested that the updated program works on a stable machine. [ Risks ] Fairly minimal IMO. [ Checklist ] [x] *all* changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in (old)stable [x] the issue is verified as fixed in unstable [ Changes ] Cherry-pick patch updating the archive url for fetching the content. Since debcargo in unstable got changed, d/watch (autogenerated) and d/control also got updated for this upload. This does not impact usability. best, werdahias -----BEGIN PGP SIGNATURE----- iIsEARYKADMWIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCaX+bTRUcd2VyZGFoaWFz QGRlYmlhbi5vcmcACgkQ7L7btge5sr4IgAEAu4RNvAqIxvhBcwED4s6sTR4RqsmV PEHXF5PdmAl1gQ0BAK2LUf+o+NrTxqjYd0TGUYP6u80NGIAEzPRTv5RGWHQE =TjfC -----END PGP SIGNATURE-----
diff -Nru rust-tealdeer-1.7.2/debian/changelog rust-tealdeer-1.7.2/debian/changelog --- rust-tealdeer-1.7.2/debian/changelog 2025-03-26 16:10:10.000000000 +0100 +++ rust-tealdeer-1.7.2/debian/changelog 2026-02-01 19:08:26.000000000 +0100 @@ -1,3 +1,11 @@ +rust-tealdeer (1.7.2-1+deb13u1) trixie; urgency=medium + + * Team upload. + * Cherry-pick upstream patch updating archive url (Closes: #1126698) + * Package tealdeer 1.7.2 from crates.io using debcargo 2.7.11 + + -- Matthias Geiger <[email protected]> Sun, 01 Feb 2026 19:08:26 +0100 + rust-tealdeer (1.7.2-1) unstable; urgency=medium * Package tealdeer 1.7.2 from crates.io using debcargo 2.7.8 diff -Nru rust-tealdeer-1.7.2/debian/control rust-tealdeer-1.7.2/debian/control --- rust-tealdeer-1.7.2/debian/control 2025-03-26 16:10:10.000000000 +0100 +++ rust-tealdeer-1.7.2/debian/control 2026-02-01 19:06:47.000000000 +0100 @@ -30,16 +30,14 @@ Maintainer: Debian Rust Maintainers <[email protected]> Uploaders: Blair Noctis <[email protected]> -Standards-Version: 4.7.0 +Standards-Version: 4.7.2 Vcs-Git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/tealdeer] Vcs-Browser: https://salsa.debian.org/rust-team/debcargo-conf/tree/master/src/tealdeer Homepage: https://github.com/tealdeer-rs/tealdeer/ X-Cargo-Crate: tealdeer -Rules-Requires-Root: no Package: tealdeer Architecture: any -Multi-Arch: allowed Depends: ${misc:Depends}, ${shlibs:Depends}, diff -Nru rust-tealdeer-1.7.2/debian/copyright.debcargo.hint rust-tealdeer-1.7.2/debian/copyright.debcargo.hint --- rust-tealdeer-1.7.2/debian/copyright.debcargo.hint 2025-03-26 16:10:10.000000000 +0100 +++ rust-tealdeer-1.7.2/debian/copyright.debcargo.hint 2026-02-01 19:06:47.000000000 +0100 @@ -32,8 +32,8 @@ Files: debian/* Copyright: - 2022-2025 Debian Rust Maintainers <[email protected]> - 2022-2025 Blair Noctis <[email protected]> + 2022-2026 Debian Rust Maintainers <[email protected]> + 2022-2026 Blair Noctis <[email protected]> License: MIT or Apache-2.0 License: Apache-2.0 diff -Nru rust-tealdeer-1.7.2/debian/patches/series rust-tealdeer-1.7.2/debian/patches/series --- rust-tealdeer-1.7.2/debian/patches/series 2025-03-26 16:10:10.000000000 +0100 +++ rust-tealdeer-1.7.2/debian/patches/series 2026-02-01 19:06:47.000000000 +0100 @@ -1 +1,2 @@ use-native-tls.patch +update-archive-url.diff diff -Nru rust-tealdeer-1.7.2/debian/patches/update-archive-url.diff rust-tealdeer-1.7.2/debian/patches/update-archive-url.diff --- rust-tealdeer-1.7.2/debian/patches/update-archive-url.diff 1970-01-01 01:00:00.000000000 +0100 +++ rust-tealdeer-1.7.2/debian/patches/update-archive-url.diff 2026-02-01 19:06:47.000000000 +0100 @@ -0,0 +1,25 @@ +From 942c67c3d24126b785fcb41ab2d408c8e232fdaf Mon Sep 17 00:00:00 2001 +From: Niklas Mohrin <[email protected]> +Date: Sat, 24 Jan 2026 00:00:20 +0100 +Subject: [PATCH 1/2] Update `ARCHIVE_URL` + +When this code was written, the client specification instructed clients +that they MUST download pages from the tldr.sh domain. However, this +domain was deprecated and shut down in December 2025. +--- + src/main.rs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/main.rs b/src/main.rs +index 5e6e7397..127a39e8 100644 +--- a/src/main.rs ++++ b/src/main.rs +@@ -64,7 +64,7 @@ const APP_INFO: AppInfo = AppInfo { + name: NAME, + author: NAME, + }; +-const ARCHIVE_URL: &str = "https://tldr.sh/assets/tldr.zip"; ++const ARCHIVE_URL: &str = "https://github.com/tldr-pages/tldr/releases/latest/download/tldr.zip"; + + /// The cache should be updated if it was explicitly requested, + /// or if an automatic update is due and allowed. diff -Nru rust-tealdeer-1.7.2/debian/watch rust-tealdeer-1.7.2/debian/watch --- rust-tealdeer-1.7.2/debian/watch 2025-03-26 16:10:10.000000000 +0100 +++ rust-tealdeer-1.7.2/debian/watch 2026-02-01 19:06:47.000000000 +0100 @@ -1,4 +1,6 @@ -version=4 -opts=filenamemangle=s/.*\/(.*)\/download/tealdeer-$1\.tar\.gz/g,\ -uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\.?\d*)$/$1~$2/ \ -https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=crates.io/tealdeer .*/crates/tealdeer/@ANY_VERSION@/download +Version: 5 + +Source: https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=crates.io/tealdeer +Matching-Pattern: .*/crates/tealdeer/@ANY_VERSION@/download +Filenamemangle: s/.*\/(.*)\/download/tealdeer-$1\.tar\.gz/g +Uversionmangle: s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\.?\d*)$/$1~$2/

