Package: devscripts Version: 2.10.71 Severity: wishlist Some upstream source needs to be re-packed and it is not in one of the generic forms (zip, lzma, etc) that uscan is capable of re-packing automatically into a .tgz. This include upstream source that needs to have non-free components removed, for example.
One approach would be to have a --repack-with argument to uscan that would indicate a user-supplied command to run. the command would take two arguments: filename and version -- filename would be the name of the file that uscan fetched, and version would be the corresponding cleaned-up debian version number. It would execute in the .. directory. So, for example, if upstream of a package named "foo" ships a zipfile with the source scattered at the top level, and with non-free data in it, a maintainer could have: $ cat debian/repack #!/bin/sh workdir=$(mktemp -d) || exit 1 mkdir "$workdir/foo-$2" unzip -q -a "$1" -d "$workdir/foo-$2" -x 'non-free-data.*' # maybe do some other fix-up in "$workdir/foo-$2" tar -C "$workdir" -c "foo-$2" | gzip -9 > "foo_$2.orig.tar.gz" rm -rf "$workdir" # EOF $ uscan --repack-with ./debian/repack Sorry to provide a feature suggestion without a patch! But hopefully this suggestion is concrete enough that someone who has the time/skill can make it happen. Thanks for devscripts! --dkg -- Package-specific info: --- /etc/devscripts.conf --- RMADISON_DEFAULT_URL=debian,ubuntu --- ~/.devscripts --- Not present -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.37-2-686 (SMP w/1 CPU core) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages devscripts depends on: ii dpkg-dev 1.15.8.10 Debian package development tools ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii perl 5.10.1-17 Larry Wall's Practical Extraction Versions of packages devscripts recommends: ii at 3.1.12-1 Delayed job execution and batch pr ii bsd-mailx [mailx] 8.1.2-0.20100314cvs-1 simple mail user agent ii bzr 2.3.0-6 easy to use distributed version co ii curl 7.21.3-1 Get a file from an HTTP, HTTPS or ii cvs 1:1.12.13-12 Concurrent Versions System ii dctrl-tools 2.18 Command-line tools to process Debi ii debian-keyring [de 2011.03.03 GnuPG keys of Debian Developers ii dput 0.9.6.1 Debian package upload tool ii dupload 2.7.0 utility to upload Debian packages ii equivs 2.0.8 Circumvent Debian package dependen ii fakeroot 1.14.5-1 Gives a fake root environment ii git [git-core] 1:1.7.2.3-2.2 fast, scalable, distributed revisi ii git-core 1:1.7.2.3-2.2 fast, scalable, distributed revisi ii gnupg 1.4.11-3 GNU privacy guard - a free PGP rep ii iceape-browser [ww 2.0.12-1 Iceape Navigator (Internet browser ii iceweasel [www-bro 4.0~rc1-1 Web browser based on Firefox ii konqueror [www-bro 4:4.4.5-2 advanced file manager, web browser ii libauthen-sasl-per 2.1500-1 Authen::SASL - SASL Authentication ii libcrypt-ssleay-pe 0.57-2 Support for https protocol in LWP ii libjson-perl 2.50-1 module for manipulating JSON-forma ii libparse-debcontro 2.005-2 Easy OO parsing of Debian control- ii libsoap-lite-perl 0.712-2 Perl implementation of a SOAP clie ii libterm-size-perl 0.2-4+b1 Perl extension for retrieving term ii libtimedate-perl 1.2000-1 collection of modules to manipulat ii liburi-perl 1.58-1 module to manipulate and access UR ii libwww-perl 5.837-1 simple and consistent interface to ii libyaml-syck-perl 1.17-1 Perl module providing a fast, ligh ii links [www-browser 2.3~pre1-1 Web browser running in text mode ii lintian 2.4.3 Debian package checker ii lsb-release 3.2-27 Linux Standard Base version report ii lzma 4.43-14 Compression method of 7z format in ii mailutils [mailx] 1:2.2+dfsg1-3 GNU mailutils utilities for handli ii man-db 2.5.9-4 on-line manual pager ii mercurial 1.7.5-1 scalable distributed version contr ii openssh-client [ss 1:5.8p1-2 secure shell (SSH) client, for sec ii patch 2.6.1-1 Apply a diff file to an original ii patchutils 0.3.2-1 Utilities to work with patches ii sensible-utils 0.0.6 Utilities for sensible alternative ii strace 4.5.20-2 A system call tracer ii subversion 1.6.16dfsg-1 Advanced version control system ii unzip 6.0-4 De-archiver for .zip files ii wdiff 0.6.3-1 Compares two files word by word ii wget 1.12-2.1 retrieves files from the web ii xz-utils 5.0.0-2 XZ-format compression utilities Versions of packages devscripts suggests: ii build-essential 11.5 Informational list of build-essent pn cvs-buildpackage <none> (no description available) ii devscripts-el 34.1 Emacs wrappers for the commands in ii gnuplot 4.4.0-1.1 A command-line driven interactive ii libfile-desktopentry-perl 0.04-2 Perl module to handle freedesktop ii libnet-smtp-ssl-perl 1.01-3 Perl module providing SSL support pn mutt <none> (no description available) ii svn-buildpackage 0.8.3 helper programs to maintain Debian pn w3m <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org