* On 12/07/06 11:39 -0700, Freddie Cash wrote: | 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.
My problem is this: I don't know how Sendmail works, leave alone milter. I have heard alot of rumours about them though. I know about `make config` (and a few other make options for a port). I have never enabled milter in my options. Every time a new version is realized, once I get convinced I need to upgrade, I've always run a simple command: portupgrade clamav This has worked in over 20 FreeBSD boxes that I manage all these days until version 0.88.3, when suddenly I saw OpenLDAP being built. On one of the machines, I already had OpenLDAP installed, but clamav port was installing a version newer than what I have. So I have to use `portupgrade -m WITHOUT_LDAP=1 clamav` to work around this. I don't want to touch the MILTER word at all. This is what surprised me! -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <[EMAIL PROTECTED]> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Malek's Law: Any simple idea will be worded in the most complicated way. _______________________________________________ http://lurker.clamav.net/list/clamav-users.html