[Dovecot] [PATCH] Split sql drivers from lib-sql to plugins

Timo Sirainen tss at iki.fi
Fri Mar 30 18:01:35 EEST 2007


On Fri, 2007-03-30 at 16:03 +0200, Tomas Janousek wrote:
> in order to solve rhbz#170960 [1], I split the sql drivers to plugins so that
> they are loaded dynamically and can be split to separate packages.
> 
> [1] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=170960
> 
> The patches are here:
> [2] http://people.redhat.com/tjanouse/dovecot/145241/dovecot-1.0-split.patch
> [3] http://people.redhat.com/tjanouse/dovecot/145241/dovecot-trunk-split.patch
> (mv src/lib-sql/driver-mysql.c src/plugins/sql-mysql/, etc., afterwards)
> 
> I'd like to ask for your comments and whether it's ok for inclusion or at
> least ok to use in the Fedora package.

I'd like to make it possible to use some configure option to decide what
plugins should be compiled directly into binaries and what should be
installed as plugins. So that's the long term plan. But for now,
wouldn't it simply work if you did like
http://wiki.dovecot.org/CompilingSource (last section) shows? It's a bit
dirty though.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070330/9f21546c/attachment.pgp 


More information about the dovecot mailing list