Bug#282323: /usr/bin/dpkg-source: [DPKG-SOURCE] please add a possibility to specify directory being unpacked to
Package: dpkg-dev
Version: 1.10.25
Severity: wishlist
File: /usr/bin/dpkg-source
Hi,
please consider adding a possibility to tell dpkg-source where to
unpack the package. Currently, dpkg-source insists on choosing the
directory name itself, which is bad if you want to unpack a source
already unpacked and modified for comparision purposes. Additionally,
it might be desireable to have a script _know_ where a source package
is being unpacked without sedding the .dsc file and/or parsing
dpkg-source's standard output.
I think that simply modifying dpkg-source's semantics so that
dpkg-source -x .dscfile targetdir
would unpack into targetdir won't break any backwards compatibility.
Optionally, if targetdir is specified and already exists, dpkg-source
should refuse to do the unpack and return an error.
Greetings
Marc
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1-zgserver
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages dpkg-dev depends on:
ii binutils 2.15-4 The GNU assembler, linker and bina
ii cpio 2.5-1.1 GNU cpio -- a program to manage ar
ii make 3.80-9 The GNU version of the "make" util
ii patch 2.5.9-2 Apply a diff file to an original
ii perl [perl5] 5.8.4-4 Larry Wall's Practical Extraction
ii perl-modules 5.8.4-4 Core Perl modules
-- no debconf information
Reply to: