Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174538 - dev-libs/cyrus-sasl net-mail/courier{,-imap} dependency
Summary: dev-libs/cyrus-sasl net-mail/courier{,-imap} dependency
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-14 00:11 UTC by lkml_ccc
Modified: 2007-04-14 10:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lkml_ccc 2007-04-14 00:11:28 UTC
In all cyrus-sasl ebuilds I read:

RDEPEND="authdaemond? ( || ( >=net-mail/courier-imap-3.0.7 >=mail-mta/courier-0.46 ) )

That's incorrect as there is no need of courier to use the authdaemond feature. Anyway, it's needed only in the default configuration, even if one could use dovecot instead.
I am using cyrus-sasl authdaemond with any problem at all without courier-imap (I use the kerberos5 authentication mechanism). If pam is activated, it should default to pam. If kerberos is activated, it should default to kerberos5. Otherwise it shoud default to shadow. But why this dependency?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-04-14 00:42:42 UTC
(In reply to comment #0)
> But why this dependency?

Perhaps because noone (including upstream - see doc/sysadmin.html) has tested this against anything else? If you have a patch to use dovecot, feel free to attach it. (And no, pam/kerberos/shadow has absolutely nothing to do with this and is not an 'alternative' to the courier dependency at all).

Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2007-04-14 10:51:22 UTC
From doc/sysadmin.html:

"contacts Courier-IMAP's authdaemond daemon to check passwords.
This daemon is simliar in functionality to saslauthd, and is shipped
separately with the Courier mail server.

Note: this feature is not compiled in the library by default

To enable authdaemond support, pass --with-authdaemond to the
configuration script, [...] you can specify --with-authdaemond=PATH to the configure script so that authdaemond_path points to a default, static, location."

So what we do is perfectly correct, the authdaemond USE flag enables --with-autdaemond=/path/to/courier/authdaemond/socket, and since that is needed, it also then DEPENDs upon the correct courier packages to get Courier's authdaemond. This has nothing to do at all with dovecot or other SASL implementation, this is simply an optional feature of cyrus-sasl, where it can use another backend from which to get its authentication data: courier's authdaemond.
Best regards, CHTEKK.