Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2006 02:30:20 GMT
From:      "Petr Rehor" <prehor@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/95646: security/amavisd-milter configure fails if sendmail built with LDAPMAP
Message-ID:  <200604260230.k3Q2UKOZ000863@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/95646; it has been noted by GNATS.

From: "Petr Rehor" <prehor@gmail.com>
To: bug-followup@freebsd.org, moonshade@pnhz.kz
Cc:  
Subject: Re: ports/95646: security/amavisd-milter configure fails if sendmail built with LDAPMAP
Date: Wed, 26 Apr 2006 00:28:28 +0200

 2006/4/17, Denis Eremenko <moonshade@pnhz.kz>:
 > From: Denis Eremenko <moonshade@pnhz.kz>
 > To: bug-followup@FreeBSD.org, moonshade@pnhz.kz
 > Cc:
 > Subject: Re: ports/95646: security/amavisd-milter configure fails if send=
 mail
 >         built with LDAPMAP
 > Date: Mon, 17 Apr 2006 12:20:19 +0600
 >
 > I'am using sendmail from 'base'. It binds to OpenLDAP on -DLDAPMAP.
 >
 > I dont't know if following info is right (not a developer), but:
 > # objdump -R /usr/lib/libmilter.so.3 | grep ldap
 > 00008308 R_386_JUMP_SLOT   ldap_err2string
 
 I checked base sendmail build process with SENDMAIL_CFLAGS et al. in
 make.conf. LDAP options mustn't be passed to
 /usr/src/lib/libmilter/Makefile because it not need it. sendmail+ldap
 port do it in this way too - LDAP options are added to all binaries
 and libraries but not to libmilter - see
 /usr/ports/mail/sendmail/files/site.config.m4.ldap.
 
 Exclude LDAP configuration for base libmilter in make.conf:
 
 .if ${.CURDIR} !=3D /usr/src/lib/libmilter
 SENDMAIL_CFLAGS=3D-I/usr/local/include -DLDAPMAP -DLDAP_REFERRALS
 SENDMAIL_LDFLAGS=3D-L/usr/local/lib
 SENDMAIL_LDADD=3D-lldap -llber
 .endif
 
 This example suppose that you build libmilter in
 /usr/stc/lib/libmilter otherwise you must adjust the path to libmilter
 sources (absolute path without symlinks).
 
 P.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604260230.k3Q2UKOZ000863>