From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 09:37:56 2004 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 1FFE416A4CE for ; Wed, 7 Jan 2004 09:37:56 -0800 (PST) Received: from plouf.absolight.net (plouf.absolight.net [212.43.217.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 727C043D5F for ; Wed, 7 Jan 2004 09:37:45 -0800 (PST) (envelope-from mat@plouf.absolight.net) Received: by plouf.absolight.net (Postfix, from userid 1001) id 35B8B4A9EFE; Wed, 7 Jan 2004 18:37:44 +0100 (CET) Date: Wed, 7 Jan 2004 18:37:44 +0100 From: Mathieu Arnold To: Jason Williams Message-ID: <20040107173744.GE41359@plouf.absolight.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.1.1.0.20040107093030.00ab9ff0@pop.courtesymortgage.com> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: Question on port usage 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: Wed, 07 Jan 2004 17:37:56 -0000 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