Bug#704504: dget: confused by "compressed" in ~/.curlrc
Trent W. Buck
trentbuck at gmail.com
Tue Apr 2 03:55:44 UTC 2013
Package: devscripts
Version: 2.12.6
Severity: wishlist
File: /usr/bin/dget
$ dget --insecure https://launchpad.net/~linrunner/+archive/tlp/+files/tlp_0.3.8.1-1.dsc
[...]
$ dpkg-source -x *dsc
gpgv: Signature made Sat 30 Mar 2013 10:06:24 EST using DSA key ID BB97FFE6
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./tlp_0.3.8.1-1.dsc
dpkg-source: error: File ./tlp_0.3.8.1-1.diff.gz has size 21414 instead of expected 7455
$ file *.diff.gz
tlp_0.3.8.1-1.diff.gz: unified diff output, UTF-8 Unicode text
If I comment out "compressed" from my ~/.curlrc and refetch, I get
$ file *diff.gz
tlp_0.3.8.1-1.diff.gz: gzip compressed data, from Unix, max compression
Since I'm reluctant to leave it commented out, it would be nice if
dget passed the appropriate options to make curl DTRT. Unfortunately
I suspect it won't be as easy as simply adding --no-compressed -- I
darkly suspect that will break things for someone else. If that's the
case, feel free to WONTFIX this, the issue doesn't bother me much.
(FYI, this comment says why I originally added the option.)
# When an httpd compresses without being told to, you end up with a
# file "foo" that should actually be "foo.gz". This tells curl to
# DTRT and decompress it so that "foo" contains "foo".
compressed
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
BTS_CACHE=no
DEBCHANGE_RELEASE_HEURISTIC=changelog
DEBUILD_LINTIAN_OPTS="--info --display-info --display-experimental --pedantic --show-overrides --color auto"
DEB_BUILD_HARDENING=1
DEB_BUILD_OPTIONS=parallel=$(getconf _NPROCESSORS_ONLN || echo 1)
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages devscripts depends on:
ii dpkg-dev 1.16.9
ii libc6 2.13-38
ii perl 5.14.2-20
ii python 2.7.3-4
Versions of packages devscripts recommends:
ii at 3.1.13-2
ii curl 7.26.0-1+wheezy1
ii dctrl-tools 2.22.2
ii debian-keyring 2012.11.15
ii dput 0.9.6.3+nmu1
ii equivs 2.0.9
ii fakeroot 1.18.4-2
ii gnupg 1.4.12-7
ii libcrypt-ssleay-perl 0.58-1
ii libdistro-info-perl 0.10
ii libjson-perl 2.53-1
ii libparse-debcontrol-perl 2.005-3
ii libsoap-lite-perl 0.714-1
ii liburi-perl 1.60-1
ii libwww-perl 6.04-1
ii lintian 2.5.10.4
ii man-db 2.6.2-1
ii patch 2.6.1-3
ii patchutils 0.3.2-1.1
ii python-debian 0.1.21
ii python-magic 5.11-2
ii sensible-utils 0.0.7
ii strace 4.5.20-2.3
ii unzip 6.0-8
ii wdiff 1.1.2-1
ii wget 1.13.4-3
ii xz-utils 5.1.1alpha+20120614-2
Versions of packages devscripts suggests:
pn bsd-mailx | mailx <none>
ii build-essential 11.5
pn cvs-buildpackage <none>
pn devscripts-el <none>
pn gnuplot <none>
pn libauthen-sasl-perl <none>
pn libfile-desktopentry-perl <none>
pn libnet-smtp-ssl-perl <none>
pn libterm-size-perl <none>
ii libtimedate-perl 1.2000-1
ii libyaml-syck-perl 1.20-1
ii mutt 1.5.21-6.2
ii openssh-client [ssh-client] 1:6.0p1-4
pn svn-buildpackage <none>
ii w3m 0.5.3-8
-- no debconf information
More information about the devscripts-devel
mailing list