#332 closed Bug (fixed)
Source file package does not unpack cleanly
Reported by: | dazjorz | Owned by: | somebody |
---|---|---|---|
Priority: | Lowest | Milestone: | None Set |
Component: | Transmission | Version: | |
Severity: | Normal | Keywords: | tar unpack wrong directory |
Cc: |
Description
I noticed that the source file package does not unpack cleanly. About 90% of the source packages unpack to a directory equal to their filename excluding '.tar.*', and 9% unpack to a directory equal to the product name. For example, if you download a 'randomprogram-0.05.tar.gz', it will most probably unpack to 'randomprogram-0.05/'.
However, I noticed this is not the case with Transmission's source package.
dazjorz@laptop:~/src/transmission$ tar -xzf transmission-0.82.tar.gz dazjorz@laptop:~/src/transmission$ ls acinclude.m4 BSDmakefile daemon macosx NEWS version.sh appcast.xml ChangeLog gtk Makefile README wx AUTHORS cli libevent Makefile.am transmission-0.82.tar.gz autogen.sh configure libtransmission misc transmission.spec.in beos configure.ac LICENSE mk Transmission.xcodeproj
Since this is not the way it should unpack, I am quite certain this should change. To create the archive, do not use
src/transmission-0.82$ tar -czf transmission-0.82.tar.gz *
but instead, use
src$ tar -czf transmission-0.82.tar.gz transmission0.82
This is what most users will expect.
Change History (3)
comment:1 Changed 15 years ago by Gimp
- Priority changed from Low to Lowest
comment:2 Changed 15 years ago by livings124
- Resolution set to fixed
- Status changed from new to closed
This will be fixed in the next release, and there is nothing to commit.
comment:3 Changed 15 years ago by mezz
I had to create the tarballs on my own since 0.72 to 0.82 for FreeBSD ports for that reason. :-)
This is technically already fixed, however will not be implimented until the next release, so that packagers do not get mad that its been changed.