From owner-freebsd-ports@FreeBSD.ORG Sun Mar 31 02:43:29 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 97664DE7 for ; Sun, 31 Mar 2013 02:43:29 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from cricket.hamla.org (cricket.hamla.org [206.251.255.31]) by mx1.freebsd.org (Postfix) with ESMTP id 4DE0B641 for ; Sun, 31 Mar 2013 02:43:29 +0000 (UTC) Received: from jubz (cpe-68-174-134-215.nyc.res.rr.com [68.174.134.215]) by cricket.hamla.org (Postfix) with ESMTPSA id 0C2B88A019; Sat, 30 Mar 2013 22:43:22 -0400 (EDT) Date: Sat, 30 Mar 2013 22:43:20 -0400 From: Sahil Tandon To: pavel@hts.kh.ua Subject: Re: FreeBSD Port: postfix-2.9.5,1 - LDAP_SASL option ignored Message-ID: <20130331024319.GA29023@jubz> References: <514C2A46.2050607@hts.kh.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <514C2A46.2050607@hts.kh.ua> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.3 at cricket.hamla.org X-Virus-Status: Clean Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Sahil Tandon List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Mar 2013 02:43:29 -0000 On Fri, 2013-03-22 at 11:54:14 +0200, Pavel Bychykhin wrote: > In config dialog i check OPENLDAP, LDAP_SASL and SASL2. > The make process ignores an option LDAP_SASL. > As a result i see "unsupported parameter value: bind = SASL" in output of "postmap" command. > As a solution, i added "-DUSE_LDAP_SASL" directly into Makefile in do-configure section: > > do-configure: > (cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \ > CCARGS="${POSTFIX_CCARGS} -DUSE_LDAP_SASL" AUXLIBS="${POSTFIX_AUXLIBS}" && \ > ${ECHO} "all: default" >> Makefile) > > After that changes, all works fine with LDAP SASL binding. Thanks for the report. The logic that handles LDAP SASL bindings was tweaked when the Postfix ports were updated to use optionsNG. I will commit a fix once the tree has unfrozen. Sorry for the inconvenience. -- Sahil Tandon