I've download the
.diff.gz of the bash package from Wheezy: https://packages.debian.org/wheezy/bash. Then I ran
dpkg-source -x on the
dsc file to unpack it, and this is the result:
$ ls -l total 2696 -rw-rw-r-- 1 pgimeno pgimeno 2748840 Dec 30 2012 bash-4.2dfsg.tar.xz drwxrwxr-x 3 pgimeno pgimeno 4096 Apr 3 23:36 debian
UPDATE: I can extract the archive manually, the problem is not that. Please read carefully below. I've added emphasis on some key sentences.
That has confused me. What should I do to get a fully unpacked archive with the Debian patches applied, so that I can work on the source and produce a modified package that builds? Do I have to unpack it myself and apply the patches by hand? If so, to what directory should I unpack it? The default after running
tar -xf bash-4.2dfsg.tar.xz is
bash-4.2, should I leave it like that or move the files to the main directory? And then what?