Differences between revisions 2 and 3
Revision 2 as of 2007-12-18 11:18:51
Size: 455
Editor: ?morph
Comment:
Revision 3 as of 2007-12-20 18:12:14
Size: 616
Editor: ?morph
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:

=== check diff.gz for non-debian changes ===

  * {{{zgrep '^--- ' <pkg>.diff.gz}}}
optionally:
  * {{{zgrep '^+++ ' <pkg>.diff.gz | grep -v /debian/}}}

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/