Bug#778860: [uscan] Followup for #764367 (downloads web page instead of file)
Felix Natter
fnatter at gmx.net
Fri Feb 20 19:42:51 UTC 2015
Package: devscripts
Version: 2.15.1
Severity: normal
Dear Maintainer,
in 10/2014, a change in devscripts/uscan (#764367) broke watch files
that use the sf redirector service. It was fixed in devscripts-2.14.8
by:
+ + Strip the Referer header when using qa.debian.org's Sourceforge
+ redirector. When there's a foreign Referer header, Sourceforge responds
+ with a web page containing a <meta refresh=...> redirect to the actual
+ file, causing uscan to save the web page rather than the file. (Closes:
+ #764367)
(http://anonscm.debian.org/cgit/collab-maint/devscripts.git/commit/?id=fb0e6a67fc059acb89cf0ea7bc9b52cad43d5326)
Now I cannot use the sf redirect service because I need to limit the
search to the "freeplane%20stable/" folder (and the qa.debian.org
redirect does not allow this).
(I am using devscripts 2.15.1 in unstable)
Here is my old watch file (which limits the search to the
"freeplane%20stable/" folder):
https://github.com/fnatter/freeplane-debian/blob/master/debian/watch
But this fails for the same reason as in #764367:
felix at debianunstable:~/freeplane-unstable/freeplane-debian$ uscan
freeplane: Newer version (1.3.15) available on remote site:
http://sourceforge.net/projects/freeplane/files/freeplane%20stable/freeplane_srcpure-1.3.15.tar.gz/download
(local version is 1.3.12)
Unknown or no compression used in ../freeplane_srcpure-1.3.15.tar.gz. at
/usr/bin/mk-origtargz line 336.
uscan: error: mk-origtargz --package freeplane --version 1.3.15
--compression gzip --directory .. --copyright-file debian/copyright
../freeplane_srcpure-1.3.15.tar.gz gave error exit status 255
wget
http://sourceforge.net/projects/freeplane/files/freeplane%20stable/freeplane_srcpure-1.3.15.tar.gz/download
works (beside the fact that it downloads as 'download').
--> would you consider fixing this (maybe add a
"sourceforge.net/projects" special case as well or add a
'remove_referer' option?)?
Thanks and Best Regards,
Felix
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
Not present
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages devscripts depends on:
ii dpkg-dev 1.17.23
ii libc6 2.19-15
ii perl 5.20.1-5
ii python3 3.4.2-2
pn python3:any <none>
Versions of packages devscripts recommends:
ii at 3.1.16-1
ii dctrl-tools 2.23
ii debian-keyring 2014.12.10
ii dput 0.9.6.4
ii equivs 2.0.9
ii fakeroot 1.20.2-1
ii file 1:5.22+15-1
ii gnupg 1.4.18-6
ii libdistro-info-perl 0.14
ii libencode-locale-perl 1.03-1
ii libjson-perl 2.61-1
ii liblwp-protocol-https-perl 6.06-2
ii libparse-debcontrol-perl 2.005-4
ii libsoap-lite-perl 1.11-1
ii liburi-perl 1.64-1
ii libwww-perl 6.08-1
ii lintian 2.5.30+deb8u3
ii man-db 2.7.0.2-5
ii patch 2.7.4-2
ii patchutils 0.3.3-1
ii python3-debian 0.1.25
ii python3-magic 1:5.22+15-1
ii sensible-utils 0.0.9
ii strace 4.9-2
ii unzip 6.0-16
ii wdiff 1.2.2-1
ii wget 1.16-3
ii xz-utils 5.1.1alpha+20120614-2+b3
Versions of packages devscripts suggests:
ii bsd-mailx [mailx] 8.1.2-0.20141216cvs-1
ii build-essential 11.7
pn cvs-buildpackage <none>
pn debbindiff <none>
pn devscripts-el <none>
ii gnuplot 4.6.6-2
ii gpgv 1.4.18-6
ii libauthen-sasl-perl 2.1600-1
ii libfile-desktopentry-perl 0.07-1
ii libnet-smtp-ssl-perl 1.01-3
pn libterm-size-perl <none>
ii libtimedate-perl 2.3000-2
pn libyaml-syck-perl <none>
ii mutt 1.5.23-3
ii openssh-client [ssh-client] 1:6.7p1-3
pn svn-buildpackage <none>
ii w3m 0.5.3-19
-- no debconf information
--
Felix Natter
More information about the devscripts-devel
mailing list