Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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


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            
appcast.xml   ChangeLog     gtk              Makefile     README                    wx
AUTHORS       cli           libevent  transmission-0.82.tar.gz    configure     libtransmission  misc
beos  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

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.

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. :-)

Note: See TracTickets for help on using tickets.