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

Bug#39299: PROPOSAL] permit/require use of bz2 for source packages



Joseph Carter <knghtbrd@debian.org> writes:

> I would rather not see bzip2 be mandatory, but I would like to see it be
> possible for things like the X sources and other things which truly
> benefit.  This requires alterations to dpkg and I would suggest that
> before this can become policy you're going to have to modify dpkg-dev for
> the job.
> 
> Ideally if the package is released upstream as a .gz we should use the
> .gz.  But when it's released as .gz and .bz2 as many things now are, we
> should probably use them.

Make gzip know bzip2 or bzip2 know gzip. I had a look at the source
some time ago and it wasn't to complicated to integrate a
system("gunzip") into bzip2. Ideal would be that bzip2/gzip would not
fork the other compressor when needed, but incorporate its
functionality.

gzip -b could do bzip2 compression, maybe even gzip --best could be
changed after some time to allow everyone to upgarde gzip (but thats
something the upstream author should do).

The reason why one can't repack the current sources, is that
dpkg-sources will complain about different sizes and md5sums, cause
they are from the tar.gz versions and not from the tar itself.

May the Source be with you.
			Goswin


Reply to: