From owner-freebsd-ports@FreeBSD.ORG Wed Sep 12 20:11:56 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 79E301065670 for ; Wed, 12 Sep 2012 20:11:56 +0000 (UTC) (envelope-from hskuhra@eumx.net) Received: from eumx.net (eumx.net [91.82.101.43]) by mx1.freebsd.org (Postfix) with ESMTP id 24CC28FC24 for ; Wed, 12 Sep 2012 20:11:55 +0000 (UTC) Received: from localhost ([127.0.0.1]:44694 helo=eumx.net) by eumx.net with esmtp (Exim 4.72) (envelope-from ) id 1TBsvd-0002Ur-2D for freebsd-ports@freebsd.org; Wed, 12 Sep 2012 19:48:53 +0000 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eumx.net; h=date :message-id:from:to:subject:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=default; bh=qMOQKgK/s CqwK/vV64YfGP2P++A=; b=zn8ILO4oLK4z8RzvNR9sySlQJ4PfmE8nm/XR00mwk 9OvQDpz1p0iy4SyY+9tknkqCqf5bfBwOr2vH4lOb6tJsPGXkJoG3or6ljan3oJyi jlJaZFOoOGyL+EaACozBuVi2HMc0PPSjHH0c6mTfMXQDGIBjeIKk6yyqETQVDrvj HQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eumx.net; h=date:message-id :from:to:subject:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=w3Q 3xwYmTD93RQ/FnG1GasqghSHSBp5jFg/obtGaCNPQzyaOkHE2qAdFtnzpMwyDRi8 CRyyXPWFxuRrkWRgKsBBmMBdkZgMVihn6aqhRSflClNYvKWVd7dR8Q8pFx+KXf8P r2K15lkv2iHGZYISA1+UD5KLXPLC/xh/OvbxBOR0= Received: from [188.118.228.74] (port=58783 helo=oslo.ath.cx) by eumx.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TBsvc-0002Un-Qi for freebsd-ports@freebsd.org; Wed, 12 Sep 2012 19:48:53 +0000 Date: Wed, 12 Sep 2012 21:48:52 +0200 Message-ID: <86ehm76mzf.wl%hskuhra@eumx.net> From: "Herbert J. Skuhra" To: freebsd-ports@freebsd.org In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.2.50 (i386-pc-freebsd9.1) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Postfix and SASL compilation problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2012 20:11:56 -0000 On Wed, 12 Sep 2012 12:36:47 +0200 J=C3=A1n =C5=A0ebo=C5=A1=C3=ADk wrote: > Hi all > = > while I was trying to build ports/mail/postfix, the problem occured > in file ./work/postfix-2.9.4/src/global/dict_ldap.c. > = > Here is my Postfix port configuration (FYI: LDAP is compiled with SAS= L > support - both client & server): > = > root@s1:/home/devel/ports/mail/postfix # make showconfig > =3D=3D=3D> The following configuration options are available for pos= tfix-2.9.4,1: > PCRE=3Don: Perl Compatible Regular Expressions > SASL2=3Doff: Cyrus SASLv2 (Simple Auth. and Sec. Layer) > DOVECOT=3Doff: Dovecot 1.x SASL authentication method > DOVECOT2=3Don: Dovecot 2.x SASL authentication method > SASLKRB5=3Doff: If your SASL req. Kerberos5, select this > SASLKMIT=3Doff: If your SASL req. MIT Kerberos5, select this > TLS=3Don: Enable SSL and TLS support > BDB=3Don: Berkeley DB (uses WITH_BDB_VER) > MYSQL=3Doff: MySQL maps (uses WITH_MYSQL_VER) > PGSQL=3Doff: PostgreSQL maps (uses DEFAULT_PGSQL_VER) > SQLITE=3Don: SQLite maps > OPENLDAP=3Don: OpenLDAP maps (uses WITH_OPENLDAP_VER) > LDAP_SASL=3Don: Enable OpenLDAP client-to-server SASL auth > CDB=3Doff: CDB maps lookups > NIS=3Doff: NIS maps lookups > VDA=3Don: VDA (Virtual Delivery Agent 32Bit) > TEST=3Doff: SMTP/LMTP test server and generator > SPF=3Don: SPF support (via libspf2 1.2.x) > INST_BASE=3Doff: Install into /usr and /etc/postfix > =3D=3D=3D> Use 'make config' to modify these settings > = > Line 232 in postfix-2.9.4/src/global/dict_ldap.c doesn't contain > proper path to sasl.h header file on FreeBSD. > Fixed line should look like this: #include > = > Here is the patch: > ################### > --- dict_ldap.c.old 2012-09-11 00:39:40.000000000 +0200 > +++ dict_ldap.c 2012-09-11 00:22:56.000000000 +0200 > @@ -229,7 +229,7 @@ > /* > * SASL headers, for sasl_interact_t. Either SASL v1 or v2 should = be fine. > */ > -#include > +#include > #endif > ################### This change will break WITH_SASL2. I think you only have to enable WITH_SASL2 when you use WITH_LDAP_SASL. Builds fine here. -- = Herbert