Package: devscripts Version: 2.22.1 Severity: wishlist The libhdhomerun package has this debian/watch file:
version=4 https://www.silicondust.com/support/linux/ https://download.silicondust.com/hdhomerun/libhdhomerun_(\d.*).tgz but due to a recent change upstream, they no longer have the version number in the HTML of the page and instead have a single .tgz link which redirects to the latest version: $ curl -i https://download.silicondust.com/hdhomerun/libhdhomerun.tgz HTTP/1.1 302 Found Date: Fri, 11 Mar 2022 19:23:40 GMT Content-Type: text/html; charset=iso-8859-1 Transfer-Encoding: chunked Connection: keep-alive Location: https://download.silicondust.com/hdhomerun/libhdhomerun_20220303.tgz [...] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="https://download.silicondust.com/hdhomerun/libhdhomerun_20220303.tgz">here</a>.</p> <hr> <address>Apache/2.4.41 (Ubuntu) Server at download.silicondust.com Port 80</address> </body></html> I therefore changed the watch file to this so that it could parse the HTML of the 302 page: version=4 https://download.silicondust.com/hdhomerun/libhdhomerun.tgz https://download.silicondust.com/hdhomerun/libhdhomerun_(\d.*).tgz but it doesn't work because there's no way to tell uscan not to follow the redirect all the way to the tarball. If there was a way to specify something like opts="noredirects" then I could make the watch work again. Alternatively, there could be another mode entirely which looks at the Location header instead. Francois -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.16.0-4-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_CA.utf8, LC_CTYPE=fr_CA.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages devscripts depends on: ii dpkg-dev 1.21.1 ii fakeroot 1.28-1 ii file 1:5.41-2 ii gnupg 2.2.27-3 ii gpgv 2.2.27-3 ii libc6 2.33-7 ii libfile-dirlist-perl 0.05-2 ii libfile-homedir-perl 1.006-1 ii libfile-touch-perl 0.12-1 ii libfile-which-perl 1.23-1 ii libipc-run-perl 20200505.0-1 ii libmoo-perl 2.005004-3 ii libwww-perl 6.61-1 ii patchutils 0.4.2-1 ii perl 5.34.0-3 ii python3 3.9.8-1 ii sensible-utils 0.0.17 ii wdiff 1.2.2-2+b1 Versions of packages devscripts recommends: ii apt 2.4.1 ii curl 7.82.0-1 ii dctrl-tools 2.24-3+b1 ii debian-keyring 2021.12.24 ii dput-ng [dput] 1.34 ii dupload 2.9.7 ii equivs 2.3.1 ii libdistro-info-perl 1.1 ii libdpkg-perl 1.21.1 ii libencode-locale-perl 1.05-1.1 ii libgit-wrapper-perl 0.048-1 ii libgitlab-api-v4-perl 0.26-1 ii liblist-compare-perl 0.55-1 ii liblwp-protocol-https-perl 6.10-1 pn libsoap-lite-perl <none> ii libstring-shellquote-perl 1.04-1 ii libtry-tiny-perl 0.31-1 ii liburi-perl 5.10-1 ii licensecheck 3.2.14-2 ii lintian 2.114.0 ii man-db 2.10.1-1 ii patch 2.7.6-7 ii pristine-tar 1.49 ii python3-apt 2.3.0+b1 ii python3-debian 0.1.43 ii python3-magic 2:0.4.24-2 ii python3-requests 2.25.1+dfsg-2 ii python3-unidiff 0.7.3-1 ii python3-xdg 0.27-2 ii strace 5.10-1 ii unzip 6.0-26 ii wget 1.21.2-2+b1 ii xz-utils 5.2.5-2 Versions of packages devscripts suggests: pn adequate <none> ii at 3.2.5-1 ii autopkgtest 5.20 pn bls-standalone <none> ii bsd-mailx [mailx] 8.1.2-0.20180807cvs-2 ii build-essential 12.9 pn check-all-the-things <none> pn cvs-buildpackage <none> ii debhelper 13.6 pn diffoscope <none> pn disorderfs <none> ii dose-extra 7.0.0-1+b1 ii duck 0.13.3 ii elpa-devscripts 40.5 pn faketime <none> pn gnuplot <none> pn how-can-i-help <none> ii libauthen-sasl-perl 2.1600-1.1 pn libdbd-pg-perl <none> ii libfile-desktopentry-perl 0.22-2 pn libnet-smtps-perl <none> pn libterm-size-perl <none> ii libtimedate-perl 2.3300-2 pn libyaml-syck-perl <none> ii mailutils [mailx] 1:3.14-1 ii mmdebstrap 0.8.5-1 pn mozilla-devscripts <none> ii mutt 2.1.4-1 ii openssh-client [ssh-client] 1:8.9p1-3 pn piuparts <none> pn postgresql-client <none> pn pristine-lfs <none> ii quilt 0.66-2.1 ii ratt 0.0~git20190123.9e77a6d-1 pn reprotest <none> pn svn-buildpackage <none> ii w3m 0.5.3+git20210102-6 -- no debconf information