Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 01:56:27 +0100
From:      Jez Hancock <jez.hancock@munk.nu>
To:        FreeBSD Questions List <freebsd-questions@freebsd.org>
Subject:   Re: build saslauthd with ldap support
Message-ID:  <20030926005627.GC14611@users.munk.nu>
In-Reply-To: <3F735547.7080902@intersonic.se>
References:  <3F73436F.7020302@intersonic.se> <20030925203042.GC12240@users.munk.nu> <3F735547.7080902@intersonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 25, 2003 at 10:51:19PM +0200, Per olof Ljungmark wrote:
> Jez Hancock wrote:
> >On Thu, Sep 25, 2003 at 09:35:11PM +0200, Per olof Ljungmark wrote:
> >>I'm trying to build the port cyrus-sasl2-saslauthd from ports with ldap 
> >>support but cannot figure out what make command to issue in the ports 
> >>tree.
> >>
> >>Anybody who could enlighten me here?
> >
> >Doesn't look like hte port explicitly caters for LDAP - in as much as
> >there's no 'WITH_LDAP' toggle :)
> >
> >Have you read:
> >/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.15/saslauthd/LDAP_SASLAUTHD
> 
> Yes, I've read it.
> Looking at the Makefile in /usr/ports/security/cyrus-sasl2-saslauthd, it 
> says (part of)
> .if defined(WITH_OPENLDAP_VER)
>  WITH_OPENLDAP=		yes
>  WANT_OPENLDAP_VER=	${WITH_OPENLDAP_VER}
>  .endif
>  .if defined(WITH_OPENLDAP)
>  .if defined(WANT_OPENLDAP_VER) && ${WANT_OPENLDAP_VER} == 12
>  BROKEN=		"this port requires OpenLDAP >= 2.0"
>  .endif
>  USE_OPENLDAP=	yes
>  CONFIGURE_ARGS+=--with-ldap=${PREFIX}
>  .endif
> 
> I'm sure I can figure out how to build it with ldap as a normal 
> configure-make-install, but I *want* to do it from the ports tree if 
> possible.
Sorry I must have grep'd for ladp or somesuch!  I didn't see that make
env vbl in the Makefile.

So what happens when you run:

make clean && make install -DWITH_OPENLDAP

in the saslauthd ports dir?  Sorry I don't have access to a test box
right now to try this.

-- 
Jez

http://www.munk.nu/



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