On Wed, July 12, 2006 7:48 am, Odhiambo Washington wrote: > * On 12/07/06 08:00 -0600, [EMAIL PROTECTED] wrote: > | Odhiambo Washington wrote: > | >Hello List, > | >Perhaps I missed the discussion, so someone can help me out. > | >The clamav port on FreeBSD has been made to use OpenLDAP as > | >a dependency by default. I have just written to the person > | >concerned, but perhaps I am mistaken. > | >Can someone tell me what they use OpenLDAP for wit ClamAV? > | > | I have installed Clamav on many versions of FreeBSD and just > | yesterday got the latest ports from CVS and upgraded to 0.88.3 > | and I have never seen it depend on LDAP. > | > | Looking at the Makefile in the ports it looks like it depends > | on the gmp lib, lha, arj, unzoo, arc, and unzip. > | > | Are you sure you are using the right port? Have you gotten > | an up to date ports? > > > #grep LDAP /usr/ports/security/clamav/Makefile > .if !defined(WITHOUT_LDAP) && exists(${LOCALBASE}/lib/libldap.so) > USE_OPENLDAP= yes > > In fact if you use a tool like portupgrade, if you fail to specify > -m WITHOUT_LDAP=1, `portupgrade clamav` build OpenLDAP 2.3.x and > tries to install it. > > The latest port version is 0.88.3, if you doubt that as well ;) > > It being there is not a problem for me, since I don't care what > people do with LDAP, but the annoyance is that by default the port > install Open LDAP.
If you look closely at the Makefile (don't just grep it), you'll see that the LDAP dependency check is in the WITH_MILTER if-statement. Which means it only checks for LDAP dependencies if you are using a sendmail built with LDAP. It's trying to keep the milter, sendmail, and clamav-milter support all sync'd together with any LDAP options. IOW, unless you already have LDAP installed, it won't add anything to your system. If you already have LDAP installed, but don't want LDAP support in your sendmail/milter setup, then you may run into problems. ---- Freddie Cash, LPCI-1 CCNT CCLP Helpdesk / Network Support Tech. School District 73 (250) 377-HELP [377-4357] [EMAIL PROTECTED] _______________________________________________ http://lurker.clamav.net/list/clamav-users.html