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
Created attachment 211477 [details, diff] Postfix ebuild that adds a USE flag for sqlite-support patch
Created attachment 211478 [details] Postfix ebuild that adds a USE flag for sqlite-support patch
Created attachment 211486 [details, diff] diff -u from official postfix-2.6.5.ebuild
(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.