Merging ciphers into loop-AES

Max Vozeler max at nusquama.org
Wed Feb 28 17:49:25 CET 2007


Hi Jari,

On Mon, Feb 26, 2007 at 08:52:01PM +0200, Jari Ruusu wrote:
> There are cases where people are using kernel patch version of
> loop-AES, and build and install those extra cipher modules without
> building loop-AES module. So there is some need of ciphers package
> staying as separate package.

I've been thinking about this a bit. Do you think this could - in
principle - be solved by changes to the build system?

 a) Adding a "ciphers" build target for building (and installing)
    just the cipher modules, skipping loop.$(VM1)o, be a workable
    approach? I've hacked together a proof-of-concept patch to that
    effect; Note that it is quite surely not working as-is, it is
    merely an illustration and meant as basis for discussion. 

 b) Alternatively, although not clean, maybe the extra unneeded
    loop.$(VM1)o could still be built and installed; If I see it
    correctly, it should do no harm then. I admit that this is not
    a nice solution, but it might(?) be reasonable if patch+ciphers
    is only seldom used. Just thinking aloud..

If the basic idea is reasonable to you, I would like to try and 
work on a solution. If not, no problem, either :-)

> Would it help if loop-AES Makefile detects presence of additional
> loop_xxxx.c source files is its base directory, and compiles and
> installs them all together? Your maintenance "work" would involve
> making sure that all source files are in same directory.

Yes, I think that would already help a bit.

The main point remains though: It is a bit awkward to combine into 
one package what is intended and managed as two separate packages
upstream.  This is no big problem in practice, and the current Debian
packaging can work with it. It's just that having the two combined
would make things a fair bit cleaner and simpler for our distribution
purpose, so I'd be happy to help make it happen :-)

cheers,
Max
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ciphers.diff
Type: text/x-diff
Size: 4369 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-loop-aes-maint/attachments/20070228/bc2c6790/ciphers.bin


More information about the Pkg-loop-aes-maint mailing list