Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295001 - Add sqlite-support patch for mail-mta/postfix
Summary: Add sqlite-support patch for mail-mta/postfix
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-28 20:25 UTC by Nikitas Skembris
Modified: 2009-11-29 08:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Postfix ebuild that adds a USE flag for sqlite-support patch (postfix-2.6.5.ebuild,11.18 KB, patch)
2009-11-28 20:29 UTC, Nikitas Skembris
Details | Diff
Postfix ebuild that adds a USE flag for sqlite-support patch (postfix-2.6.5.ebuild,11.18 KB, text/plain)
2009-11-28 20:30 UTC, Nikitas Skembris
Details
diff -u from official postfix-2.6.5.ebuild (postfix-2.6.5-sqlite.diff,1.94 KB, patch)
2009-11-28 21:01 UTC, Nikitas Skembris
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikitas Skembris 2009-11-28 20:25:01 UTC
There is an unofficial patch that adds support for sqlite data sources to postfix:
http://www.treibsand.com/postfix-sqlite

It hasn't been updated for almost 2 years and it causes a GCC warning that triggers a QA Notice in portage:

---------------------
 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * dict_sqlite.c:116: warning: incompatible implicit declaration of built-in function ‘strlen’
---------------------

However it works for me and there are other people that also appear to be using it, from what I can tell by a web search.

Dovecot, that is often used together with postfix, supports sqlite officially, that's one more reason it is a useful feature to have, even with a QA warning.

So, unless the code is really bad and causes known issues, I was wondering whether it would be acceptable for gentoo to add a USE flag for it.

I attach the ebuild that I use for my local overlay as an example.

Reproducible: Always
Comment 1 Nikitas Skembris 2009-11-28 20:29:11 UTC
Created attachment 211477 [details, diff]
Postfix ebuild that adds a USE flag for sqlite-support patch
Comment 2 Nikitas Skembris 2009-11-28 20:30:49 UTC
Created attachment 211478 [details]
Postfix ebuild that adds a USE flag for sqlite-support patch
Comment 3 Nikitas Skembris 2009-11-28 21:01:49 UTC
Created attachment 211486 [details, diff]
diff -u from official postfix-2.6.5.ebuild
Comment 4 Tobias Scherbaum (RETIRED) gentoo-dev 2009-11-29 08:14:06 UTC
(In reply to comment #0)
> There is an unofficial patch that adds support for sqlite data sources to
> postfix:
> http://www.treibsand.com/postfix-sqlite
> 
> It hasn't been updated for almost 2 years and it causes a GCC warning that
> triggers a QA Notice in portage:

Just two sentences and you mentioned already three reasons to *not* include that patch:
- unofficial
- not updated for 2 years
- triggers a QA notice

Conclusion: In it's current state nothing we'd like to include and support.