Re: Suggestion to and how to alow different compression for .debs

1999-10-28 Thread Wichert Akkerman
Previously sparc porters wrote: For this reason, we should not allow arbitrary compression tools to be used. Let me give another good reason why using a uncompress.sh script is something I will never accept: it means that unpacking a package in an arbitrary location is no longer a guaranteed

Re: Suggestion to and how to alow different compression for .debs

1999-10-28 Thread Jason Gunthorpe
On Thu, 28 Oct 1999, Wichert Akkerman wrote: Let me give another good reason why using a uncompress.sh script is something I will never accept: it means that unpacking a package in an arbitrary location is no longer a guaranteed safe action, since uncompress.sh could do something nasty. You

Re: Suggestion to and how to alow different compression for .debs

1999-10-27 Thread Chris Pimlott
There's still problems with using pre-depends to make sure bzip2 is installed. It's not exactly what pre-depends was intended for. It's not going to be pretty if a user tries to remove bzip2 and dselect shoots up the dependency/conflict screen and marks every single package that was

Re: Suggestion to and how to alow different compression for .debs

1999-10-27 Thread Raul Miller
[I've elected not to Cc: debian-devel] On Tue, Oct 26, 1999 at 08:32:18PM -0400, Chris Pimlott wrote: There's still problems with using pre-depends to make sure bzip2 is installed. If we decide to use bzip2 in this capacity the package should be required and essential. -- Raul

Re: Suggestion to and how to alow different compression for .debs

1999-10-27 Thread Ben Collins
On Tue, Oct 26, 1999 at 05:06:34PM -0400, Chris Pimlott wrote: On 21 Oct 1999, Goswin Brederlow wrote: Of cause policy should encourage to use bzip2 (or gzip if smaller) and base packages must use tar.gz (or tar.bz2 if bzip2 is in base) so that one can update debian. Any package using a

Re: Suggestion to and how to alow different compression for .debs

1999-10-27 Thread Ben Collins
On Tue, Oct 26, 1999 at 11:23:24PM +0200, Goswin Brederlow wrote: Chris Pimlott [EMAIL PROTECTED] writes: You would need a switch case statement that tests for all possible formats that might be allowed. Having an uncompress.sh the procedure will be identical for all compressors, just

Re: Suggestion to and how to alow different compression for .debs

1999-10-27 Thread Ben Collins
On Tue, Oct 26, 1999 at 08:32:18PM -0400, Chris Pimlott wrote: There's still problems with using pre-depends to make sure bzip2 is installed. It's not exactly what pre-depends was intended for. It's not going to be pretty if a user tries to remove bzip2 and dselect shoots up the

Re: Suggestion to and how to alow different compression for .debs

1999-10-27 Thread Goswin Brederlow
Ben Collins [EMAIL PROTECTED] writes: On Tue, Oct 26, 1999 at 11:23:24PM +0200, Goswin Brederlow wrote: Chris Pimlott [EMAIL PROTECTED] writes: You would need a switch case statement that tests for all possible formats that might be allowed. Having an uncompress.sh the procedure

Re: Suggestion to and how to alow different compression for .debs

1999-10-27 Thread Ben Collins
On Wed, Oct 27, 1999 at 06:23:44PM +0200, Goswin Brederlow wrote: Without that you have to unpack the .deb file, look around for a data.tar.xxx and make a switch/case over xxx. Each compressor would need its own entry there and as soon as the third compressor comes up for debian packages a

Re: Suggestion to and how to alow different compression for .debs

1999-10-27 Thread Matthew Vernon
Ben Collins writes: With the current implementation I have, it is a simple matter of adding a line for each (de)compressor wanted. I think we should choose carefully what compressions we allow, as it could lead to problems if we don't. For this reason, we should not allow arbitrary

Re: Suggestion to and how to alow different compression for .debs

1999-10-27 Thread Joey Hess
Goswin Brederlow wrote: Joey Hess [EMAIL PROTECTED] writes: Goswin Brederlow wrote: Whats complicated about using uncompress.sh instead of gzip and fallback to gzip if not present? Tons of things. What about programs called in uncompress.sh -- are dependancies supposed to be

Re: Suggestion to and how to alow different compression for .debs

1999-10-27 Thread paulwade
While this is debated I will upgrade hard drives. The 6 gb is not enough to continue mirroring debian and debian-non-US anymore. I am only mirroring i386 and have to usually have to make a delete pass before I can get all the updates. I can come up with a larger drive but I am thinking about

Re: Suggestion to and how to alow different compression for .debs

1999-10-26 Thread Joey Hess
Goswin Brederlow wrote: Why not pipe it through uncompress.sh as and if present in the control.tar.gz? Why not change to using the shar archive format for our packages? Because it's overly complicated, and unnecessary. -- see shy jo

Re: Suggestion to and how to alow different compression for .debs

1999-10-26 Thread Chris Pimlott
On 21 Oct 1999, Goswin Brederlow wrote: Of cause policy should encourage to use bzip2 (or gzip if smaller) and base packages must use tar.gz (or tar.bz2 if bzip2 is in base) so that one can update debian. Any package using a non default compression must predepend on that compressor, but that

Re: Suggestion to and how to alow different compression for .debs

1999-10-26 Thread Goswin Brederlow
Chris Pimlott [EMAIL PROTECTED] writes: On 21 Oct 1999, Goswin Brederlow wrote: Of cause policy should encourage to use bzip2 (or gzip if smaller) and base packages must use tar.gz (or tar.bz2 if bzip2 is in base) so that one can update debian. Any package using a non default

Re: Suggestion to and how to alow different compression for .debs

1999-10-26 Thread Goswin Brederlow
Joey Hess [EMAIL PROTECTED] writes: Goswin Brederlow wrote: Why not pipe it through uncompress.sh as and if present in the control.tar.gz? Why not change to using the shar archive format for our packages? Because it's overly complicated, and unnecessary. Whats complicated about using

Re: Suggestion to and how to alow different compression for .debs

1999-10-26 Thread Joey Hess
Goswin Brederlow wrote: Whats complicated about using uncompress.sh instead of gzip and fallback to gzip if not present? Tons of things. What about programs called in uncompress.sh -- are dependancies supposed to be fullfilled then? What happens when the script fails? What if you don't trust

Re: Suggestion to and how to alow different compression for .debs

1999-10-22 Thread Anthony Towns
On Thu, Oct 21, 1999 at 12:35:43AM +0200, Goswin Brederlow wrote: The control.tar.gz stays that way for the moment, but the data.tar.gz might be any format the maintainer seems fit. The control.tar.gz then contains a file called how_to_unpack that will be used to unpack the data file. Normaly

Suggestion to and how to alow different compression for .debs

1999-10-21 Thread Goswin Brederlow
I saw several discussions and proposals about using bzip2 to compress instead of gzip to reduce the overal size of Debian. I am strongly for allowing bzip2 compression into debs and strongly against forcing it. Also I am against the way how compression is done at the moment, so heres my