Bug#730768: [uscan] Allow a different compression scheme when repacking upstream tarballs
Rafael Laboissiere
rafael at laboissiere.net
Fri Nov 29 11:09:19 UTC 2013
Package: devscripts
Version: 2.13.4
Severity: wishlist
Tags: patch
Please, find enclosed below a patch for allowing uscan to use a different
compression scheme when repacking upstream tarballs. The patch should
apply cleanly to the master branch of the Git repository, as today.
The changes introduced by this patch were originally done by Andreas
Tille <tille at debian.org> and were discussed in the context of Bug#685787.
I just merged the relevant changes from Andreas' private Git repository
into the master branch of the Git repository of devscripts.
The --repack-compression option of uscan accepts now an argument that
indicates the type of the compression that will be used when repacking the
upstream tarball, either because there are files listed in the
Files-Excluded field of debian/copyright or because the --repack option
was given and there is need for repacking. The current alternatives are
gz, bz, xz, and lzma.
The documentation in scripts/uscan.1 has been changed accordingly and
the test in test/test_uscan has been extended to exercise the option
--repack-compression=xz, which will repack the gz upstream tarball
using xz. For that to work, a build-dependency on xz-utils has also
been added.
Best regards,
Rafael Laboissiere
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
USCAN_VERBOSE=yes
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable'), (550, 'stable'), (500, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.10-rc7-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages devscripts depends on:
ii dpkg-dev 1.16.12
ii libc6 2.17-93
ii perl 5.18.1-4
ii python3 3.3.2-17
pn python3:any <none>
Versions of packages devscripts recommends:
ii at 3.1.14-1
ii curl 7.33.0-1
ii dctrl-tools 2.23
ii debian-keyring 2013.07.31
ii dput 0.9.6.4
ii dupload 2.7.0
ii equivs 2.0.9
ii fakeroot 1.18.4-2
ii gnupg 1.4.15-1.1
ii libcrypt-ssleay-perl 0.58-1+b1
ii libdistro-info-perl 0.11
ii libencode-locale-perl 1.03-1
pn libjson-perl <none>
pn libparse-debcontrol-perl <none>
ii libsoap-lite-perl 0.716-1
ii liburi-perl 1.60-1
ii libwww-perl 6.05-1
ii lintian 2.5.19
ii man-db 2.6.5-2
ii patch 2.7.1-4
ii patchutils 0.3.2-3
ii python3-debian 0.1.21+nmu2
ii python3-magic 1:5.14-2
ii sensible-utils 0.0.9
ii strace 4.5.20-2.3
ii unzip 6.0-10
ii wdiff 1.2.1-1
ii wget 1.14.96.38327-2
ii xz-utils 5.1.1alpha+20120614-2
Versions of packages devscripts suggests:
ii bsd-mailx [mailx] 8.1.2-0.20131005cvs-1
ii build-essential 11.6
pn cvs-buildpackage <none>
pn devscripts-el <none>
ii gnuplot 4.6.4-1
ii gpgv 1.4.15-1.1
ii libauthen-sasl-perl 2.1500-1
ii libfile-desktopentry-perl 0.07-1
ii libnet-smtp-ssl-perl 1.01-3
ii libterm-size-perl 0.207-1+b1
ii libtimedate-perl 1.2000-1
ii libyaml-syck-perl 1.27-2+b1
ii mutt 1.5.21-6.4
ii openssh-client [ssh-client] 1:6.4p1-1
pn svn-buildpackage <none>
ii w3m 0.5.3-12
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-uscan-Allow-a-different-compression-scheme-when-repa.patch
Type: text/x-diff
Size: 13640 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20131129/0e8f1b8c/attachment.patch>
More information about the devscripts-devel
mailing list