Differences between revisions 4 and 5
Revision 4 as of 2008-02-20 12:08:24
Size: 669
Editor: SandroTosi
Comment:
Revision 5 as of 2008-07-24 15:45:44
Size: 739
Editor: SandroTosi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
or even the pretty nice output of:
  * {{{diffstat <pkg>.diff.gz}}}

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

optionally:

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

or even the pretty nice output of:

  • diffstat <pkg>.diff.gz