I installed courier-imap, wich depends on courier-authlib. Everything works ok, but courier-authlib always depends on db, no matter I use mysql or other use flags. I have taken a look inside the ebuild and it looks like beeing hardcoded. According to the documentation on the courier website, the use of db is optional as you can still use other methods of authentication (like /etc/passwd) even without any kind of database manager. And if you use mysql or ldap, db continues as a dependency even if it isn't going to be used. Maybe this behavior should be changed or is there a reasong for it? Reproducible: Always Steps to Reproduce:
No, it depends on sys-libs/db if you don't have gdbm in use flags. This is NOT optional - see http://www.courier-mta.org/FAQ.html http://www.courier-mta.org/install.html <snip> Courier requires either the GDBM or the DB database library. GDBM is used if both are present. This option forces the selection of the database library. </snip>