Differences between revisions 5 and 6
Revision 5 as of 2008-07-24 15:45:44
Size: 739
Editor: SandroTosi
Revision 6 as of 2009-03-16 03:33:17
Size: 739
Editor: anonymous
Comment: converted to 1.6 markup
No differences found!

Convert a zip to a tar.gz

1. extract the zip
  # unzip -d . <file>.zip

2. repackage it as tar.gz
  # tar xzf <file>.tar.gz <dir_extracted>

or use some conversion tools, like http://effbot.org/zone/zip2tar.htm

repackage upstream tarball

If you do repackage, make sure to provide an get-orig-source target to retrieve (?), unpack, modify, and repack that (and the top level dir should have ".orig" appended).

check diff.gz for non-debian changes

  • zgrep '^--- ' <pkg>.diff.gz


  • zgrep '^+++ ' <pkg>.diff.gz | grep -v /debian/

or even the pretty nice output of:

  • diffstat <pkg>.diff.gz