Re: source package question
On Wed, Jun 18, 2003 at 06:15:33AM -0500, Ed Strauch wrote:
> When I create these files using dpkg-source -b <package> command, all works
> fine. However I notice that when I untar the <package>.orig.tar.gz file,
> files go into a directory named <package>.orig.
>
> Looking at existing source tar files, I notice that the unpacked directory
> name is simply <package>.
>
> It makes more sence to me that a file named libcdk_4.9.9.orig.tar.gz would
> unpack to directory libcdk_4.9.9.orig and not libcdk_4.9.9.
The directory name doesn't matter that much as things like dpkg-source
seem to handle most of these quite well. The fact that the archive
extracts out to that directory means the orig.tar.gz is being created.
I generally never let that happen by always renaming the upstream tar
file to orig.tar.gz as my first step.
eg, mv LPRng-3.4.20.tar.gz lprng_3.4.20.orig.tar.gz
- Craig
--
Craig Small VK2XLZ GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/ <csmall@enc.com.au>
MIEEE <csmall@ieee.org> Debian developer <csmall@debian.org>
Reply to: