Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2003 22:51:19 +0200
From:      Per olof Ljungmark <peo@intersonic.se>
To:        Jez Hancock <jez.hancock@munk.nu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: build saslauthd with ldap support
Message-ID:  <3F735547.7080902@intersonic.se>
In-Reply-To: <20030925203042.GC12240@users.munk.nu>
References:  <3F73436F.7020302@intersonic.se> <20030925203042.GC12240@users.munk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
Jez Hancock wrote:
> On Thu, Sep 25, 2003 at 09:35:11PM +0200, Per olof Ljungmark wrote:
> 
>>Hi all,
>>
>>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.

Per olof



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