Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 103073

Summary: net-libs/courier-authlib depends on sys-libs/db when it shouldn't (I think)
Product: Gentoo Linux Reporter: Pedro Velasco <pvf>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pedro Velasco 2005-08-19 11:25:28 UTC
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:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-19 16:02:41 UTC
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>