[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upstream tarball repackaging from bz2 to gz



On Sunday 03 September 2006 17:10, Eric Cooper wrote:
> The upstream tarball for a package I maintain is in .tar.bz2 format.
> I've been downloading it and recompressing it into .tar.gz format.
> This seems like a very common situation.
>
> 1.  Should I still follow the section on "best practices for
> .orig.tar.gz files" in the Developer's Reference, and include a
> README.Debian-source file and a get-orig-source target in
> debian/rules?

You might want to look at debian/rules:get-orig-source in the sofia-sip source 
package and grab & adjust that target for you as well. In short: match the 
your md5 hashsum (or sha1) of the bz2 tarball you have already audited 
(inspected, checked or whatever) against the tarball found on the upstream 
location; then repackage it as debian-style orig.tar.gz. I think this is 
self-documented, and hardly warrants extra file like README.Debian-source.

> 2.  Should I automate the bunzip2 & gzip in the debian/watch file?

Well, just watch the bz2 tarball here.

> (I don't think I can justify asking upstream to publish a more
> wasteful version of the same bits on his website just to suit Debian.)

True.

-- 
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 



Reply to: