Subject: Re: POSTFIX_USE_* options deprecated
To: None <current-users@NetBSD.org>
From: Johnny C. Lam <jlam@NetBSD.org>
List: current-users
Date: 07/20/2004 19:04:33
On Mon, Jul 19, 2004 at 08:39:36PM +0000, Johnny C. Lam wrote:
> The following options have been deprecated for controlling the
> mail/postfix build:
> 
> 	POSTFIX_USE_INET6	POSTFIX_USE_VERP
> 	POSTFIX_USE_PCRE	POSTFIX_USE_SASL_AUTH
> 	POSTFIX_USE_MYSQL	USE_SASL
> 	POSTFIX_USE_PGSQL	USE_SASL2
> 	POSTFIX_USE_TLS		USE_OPENLDAP
> 
> They have been replaced with a single option POSTFIX_OPTIONS, to be
> set in /etc/mk.conf, whose value is a list of optional add-ons to
> build into the Postfix package.

I want to clarify that the following variables are still used *elsewhere*
in pkgsrc, but can be replaced with POSTFIX_OPTIONS solely for the
purpose of affecting the Postfix build:

	USE_SASL
	USE_SASL2
	USE_OPENLDAP

In fact, if you are trying to build Postfix with support for SASLv1,
then you will want the following in /etc/mk.conf:

	POSTFIX_OPTIONS+=	sasl
	USE_SASL=		YES

My apologies for any confusion.

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>