From owner-freebsd-ports@FreeBSD.ORG Wed Sep 12 10:36:49 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 49FBB1065673 for ; Wed, 12 Sep 2012 10:36:49 +0000 (UTC) (envelope-from sebosik@itm8.sk) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 125C98FC0C for ; Wed, 12 Sep 2012 10:36:48 +0000 (UTC) Received: by iebc12 with SMTP id c12so3368020ieb.13 for ; Wed, 12 Sep 2012 03:36:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=KySetTwT6dh4AnpCme9+x39JnYHMt8h8tFCPYdZVqN0=; b=ZAWwlT7QZjCN9qLgzXmFx13VwKyO6RmfDDa1Tat302Ny22GY8+nYicRLdVnoN4Cb5d 4nBMaLRwnfREzZnscIKdQQy/r9DWn6WBI/hJPQ3Ivr1Fd8andMrzOu8F4T1GqVGnh2dE +2BzmO0oRvp5GPRudyVA9QNje3siHSusLTVD/NAW6KTFP9LhbR98nxxED8od/ML754L8 zDGuE8QXtT9zz8c86MFAE9TahJGGOMNH1Z4Plw9DpSQE52Xs4L24DY0N0HgxMCJxC2fb 5zcZikd776PayV/y5f5Y2Ndpg1ckReieS98o/gPTFU+J230p9z/hfPeVXXYV1MzTEo1v EHSQ== MIME-Version: 1.0 Received: by 10.50.192.135 with SMTP id hg7mr1730433igc.44.1347446208071; Wed, 12 Sep 2012 03:36:48 -0700 (PDT) Received: by 10.64.99.135 with HTTP; Wed, 12 Sep 2012 03:36:47 -0700 (PDT) X-Originating-IP: [195.62.17.137] Date: Wed, 12 Sep 2012 12:36:47 +0200 Message-ID: From: =?ISO-8859-2?B?SuFuIKllYm+57Ws=?= To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQldfqR0yZPCH4IPfnKojVbV9Wb6x4WjF7nfX/+bbzJ8lj4ma4QfVuUCLye3QaQeGsMVbNQg Subject: 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 10:36:49 -0000 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 SASL support - both client & server): root@s1:/home/devel/ports/mail/postfix # make showconfig ===> The following configuration options are available for postfix-2.9.4,1: PCRE=on: Perl Compatible Regular Expressions SASL2=off: Cyrus SASLv2 (Simple Auth. and Sec. Layer) DOVECOT=off: Dovecot 1.x SASL authentication method DOVECOT2=on: Dovecot 2.x SASL authentication method SASLKRB5=off: If your SASL req. Kerberos5, select this SASLKMIT=off: If your SASL req. MIT Kerberos5, select this TLS=on: Enable SSL and TLS support BDB=on: Berkeley DB (uses WITH_BDB_VER) MYSQL=off: MySQL maps (uses WITH_MYSQL_VER) PGSQL=off: PostgreSQL maps (uses DEFAULT_PGSQL_VER) SQLITE=on: SQLite maps OPENLDAP=on: OpenLDAP maps (uses WITH_OPENLDAP_VER) LDAP_SASL=on: Enable OpenLDAP client-to-server SASL auth CDB=off: CDB maps lookups NIS=off: NIS maps lookups VDA=on: VDA (Virtual Delivery Agent 32Bit) TEST=off: SMTP/LMTP test server and generator SPF=on: SPF support (via libspf2 1.2.x) INST_BASE=off: Install into /usr and /etc/postfix ===> 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 ################### Kindly regards, Jan Sebosik