Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33166 - Maildrop part of the courier package does not build with LDAP support
Summary: Maildrop part of the courier package does not build with LDAP support
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Scott Taylor (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-10 13:39 UTC by Areawn
Modified: 2014-03-19 03:34 UTC (History)
2 users (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 Areawn 2003-11-10 13:39:30 UTC
with USE="ldap", and emerging courier, maildrop does not have LDAP extensions. 
If I emerge just maildrop, it will have LDAP extensions. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



I have edited the the courier ebuild, and modified it to be like the maildrop ebuild. 
After re-emerging, the maildrop application does now have LDAP extensions.
Comment 1 Brian Jackson (RETIRED) gentoo-dev 2003-11-14 13:02:39 UTC
Do you mind sharing what you did?
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-07 03:58:32 UTC
no response from user, closing.
Comment 3 Hika 2014-03-17 11:03:18 UTC
Error in courier-0.71.ebuild due to typo. '--enable-maildroldap' should be '--enable-maildropldap' or maybe '--enable-maildrop-ldap'
Output of courier-config:
prefix=/usr
exec_prefix=/usr
bindir=/usr/bin
sbindir=/usr/sbin
libexecdir=/usr/lib64/courier
sysconfdir=/etc/courier
datadir=/usr/share/courier
localstatedir=/var/lib/courier
mailuser=mail
mailgroup=mail
mailuid=8
mailgid=12
configure_args="'--build=x86_64-pc-linux-gnu' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--with-ldapconfig=/etc/courier/maildropldap.conf' '--with-fam' '--without-ipv6' '--with-ispell' '--with-ldapaliasd' '--enable-maildroldap' '--without-gnutls' '--enable-mimetypes=/etc/mime.types' '--prefix=/usr' '--disable-root-check' '--mandir=/usr/share/man' '--sysconfdir=/etc/courier' '--libexecdir=/usr/lib64/courier' '--datadir=/usr/share/courier' '--sharedstatedir=/var/lib/courier/com' '--localstatedir=/var/lib/courier' '--with-piddir=/var/run/courier' '--with-authdaemonvar=/var/lib/courier/authdaemon' '--with-mailuser=mail' '--with-mailgroup=mail' '--with-paranoid-smtpext' '--with-db=gdbm' '--disable-autorenamesent' '--cache-file=/var/tmp/portage/mail-mta/courier-0.71/work/courier-0.71/configuring.cache' '--host=x86_64-pc-linux-gnu' 'debug=true' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-mtune=generic -march=core2 -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-mtune=generic -march=core2 -O2 -pipe' --enable-utf7-folder-encoding"
Comment 4 Hika 2014-03-18 22:41:28 UTC
Actually I found this typo because maildrop won't use authlib to retrieve user info, which is needed because of ldap. sendmail and all other parts of courier do. Usage of the -a switch (mandatory use of authlib) is ignored. The existence of the switch and it not working suggests the possibility is there, but not compiled in.
I've tried compiling with both '--enable-maildropldap' and '--enable-maildrop-ldap' and even with '--enable-authlib' added. In the emerge log I see none of them used or even a check. According to the man-page the default usage of authlib can be compiled in or can be optional, so there is some switch.
I know little about compiling and I don't know, where to find available switches.
Comment 5 Hika 2014-03-19 03:34:41 UTC
Look further at my threat on the forum: http://forums.gentoo.org/viewtopic-p-7519660.html#7519660