Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2004 18:37:44 +0100
From:      Mathieu Arnold <mat@freebsd.org>
To:        Jason Williams <jwilliams@courtesymortgage.com>
Cc:        questions@freebsd.org
Subject:   Re: Question on port usage
Message-ID:  <20040107173744.GE41359@plouf.absolight.net>
In-Reply-To: <5.2.1.1.0.20040107093030.00ab9ff0@pop.courtesymortgage.com>
References:  <5.2.1.1.0.20040107090523.00aa3b38@pop.courtesymortgage.com> <5.2.1.1.0.20040107090523.00aa3b38@pop.courtesymortgage.com> <5.2.1.1.0.20040107093030.00ab9ff0@pop.courtesymortgage.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 07, 2004 at 09:32:23AM -0800, Jason Williams wrote:
> Hi Mathieu,
> 
> Thanks for your reply. I do appreciate.
> You bring up a interesting point, regarding cyrus-sasl.
> Since cyrus-sasl is a dependency of cyrus-imapd, if I wanted to add some 
> additional options to have cyrus-sasl configured with, would it be best to 
> edit the Makefile for  that port? I would imagine you could not specify it 
> on the command line since you would be at a different port.

Well, you're lucky, security/cyrus-sasl2 also has a lot of config
variables, here's the output of grep define Makefile :

.if defined(WITH_BDB_VER)
.if defined(WITH_MYSQL_VER)
.if defined(WITH_MYSQL)
.if defined(WITH_PGSQL)
.if defined(WITH_MYSQL) || defined(WITH_PGSQL)
.if defined(WITH_DEV_URANDOM)
.if defined(WITH_ALWAYSTRUE)
.if defined(WITHOUT_OTP)
.if defined(WITHOUT_CRAM)
.if defined(WITHOUT_DIGEST)
.if defined(WITHOUT_NTLM)
.if !defined(WITHOUT_GSSAPI) && defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a)
.elif !defined(WITHOUT_GSSAPI) && defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
.elif !defined(WITHOUT_GSSAPI) && ( defined(MAKE_KERBEROS5) || ${OSVERSION} > 500105 ) && exists(/usr/lib/libkrb5.a)
.if defined(WITH_KERBEROS4)
.elif exists(/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) && !defined(WITHOUT_KERBEROS4)
.elif !exists(/usr/lib/libkrb.a) && defined(WITH_KERBEROS4)
.if !defined(NOPORTDOCS)

As you can see, it already support most of the things you may ever need,
if you plan to use sasldb, you can just make cyrus-imapd with the
options you wrote before, and you'll have cyrus-sasl2 built with the
same db version (as you can see, it's the same variables names).

-- 
Mathieu Arnold



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