From owner-freebsd-questions@FreeBSD.ORG Thu Sep 25 13:51:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4D1116A4B3 for ; Thu, 25 Sep 2003 13:51:30 -0700 (PDT) Received: from usblues.inter-sonic.com (usblues.inter-sonic.com [212.247.185.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AA2543F85 for ; Thu, 25 Sep 2003 13:51:29 -0700 (PDT) (envelope-from peo@intersonic.se) Received: from localhost (localhost.inter-sonic.com [127.0.0.1]) by usblues.inter-sonic.com (Postfix) with ESMTP id 7E9662F4; Thu, 25 Sep 2003 22:51:28 +0200 (CEST) Received: from usblues.inter-sonic.com ([127.0.0.1]) by localhost (usblues.inter-sonic.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29489-09; Thu, 25 Sep 2003 22:51:20 +0200 (CEST) Received: from intersonic.se (as9-2-1.bi.s.bonet.se [217.215.7.177]) by usblues.inter-sonic.com (Postfix) with ESMTP id 16C502F8; Thu, 25 Sep 2003 22:51:20 +0200 (CEST) Message-ID: <3F735547.7080902@intersonic.se> Date: Thu, 25 Sep 2003 22:51:19 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030831 X-Accept-Language: en-us, en, sv MIME-Version: 1.0 To: Jez Hancock References: <3F73436F.7020302@intersonic.se> <20030925203042.GC12240@users.munk.nu> In-Reply-To: <20030925203042.GC12240@users.munk.nu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at inter-sonic.com cc: freebsd-questions@freebsd.org Subject: Re: build saslauthd with ldap support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2003 20:51:30 -0000 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