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

Re: FYI: dh_upx compresses i386 executables



On Tue, Apr 24, 2001 at 01:14:36PM +0100, Colin Watson wrote:
> Ethan Benson <erbenson@alaska.net> wrote:
> >On Sun, Apr 22, 2001 at 09:00:13AM -0400, Itai Zukerman wrote:
> >> you want.  The postinst code would call the compression routines,
> >> which might not do anything, depending on how the compressing package
> >> was configured (i.e., it wouldn't call the compressing code directly,
> >> but through a wrapper).
> >
> >makes sense
> 
> Not if UPX were to be an option for all binaries. Having to add stuff to
> every package's postinst is evil (see /usr/doc, although that was
> necessary).

ok, then have the upx package ask if the admin wants to compress /* 

it seems there is only a few ways to do this:

1) add crap to postinst. -- evil
2) packages just compress at build time -- beyond evil, don't even think about it.
3) add all the questions/compression tasks to the upx package itself. 

option 3 seems to be the only semi sane/non-evil way.  

-- 
Ethan Benson who personally finds the idea of upx hideous. 
http://www.alaska.net/~erbenson/

Attachment: pgptb26zyoboq.pgp
Description: PGP signature


Reply to: