Tomas Janousek
2007-Mar-30 14:03 UTC
[Dovecot] [PATCH] Split sql drivers from lib-sql to plugins
Hi, 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. Regards, -- Tomas Janousek, SW Engineer, Red Hat, Inc.
Timo Sirainen
2007-Mar-30 15:01 UTC
[Dovecot] [PATCH] Split sql drivers from lib-sql to plugins
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: signature.asc 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.bin>
Tomas Janousek
2007-Mar-30 16:05 UTC
[Dovecot] [PATCH] Split sql drivers from lib-sql to plugins
Hi, On Fri, Mar 30, 2007 at 06:01:35PM +0300, Timo Sirainen wrote:> 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.I think I may rework that patch to do this at least for the sql modules.> 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.Does that really work? It doesn't work here unless I symlink those files to the sql subdir and apply the part of my patch that loads the modules. There's simply no code in dovecot-auth that would load the modules. Regards, -- Tomas Janousek, SW Engineer, Red Hat, Inc.
Seemingly Similar Threads
- SQLite does not depend on zlib, was: Re: [PATCH] Split sql drivers from lib-sql to plugins
- SQLite does not depend on zlib, was: Re: [PATCH] Split sql drivers from lib-sql to plugins
- login_process_size too small on x86_64 Fedora/RHEL
- Disallow folder delete
- download Dovecot