http://qa.mandrakesoft.com/show_bug.cgi?id=4055

           Product: postfix
         Component: packaging
           Summary: Patch postfix.spec to use SASL2 libraries instead of
                    SASL1 libraries
           Product: postfix
           Version: 2.0.9-4mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: packaging
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Most applications that Postfix would want to communicate with are using the
SASL2 libraries, e.g., OpenLDAP, Cyrus-IMAP.  Therefore, I suggest that you
compile Postfix against the SASL2 libraries as well.

--- postfix.spec        2003-06-12 16:52:19.000000000 -0700
+++ postfix.sasl2.spec  2003-06-12 16:53:48.000000000 -0700
@@ -186,8 +186,8 @@
   AUXLIBS="${AUXLIBS} -L%{_libdir}/mysql -lmysqlclient -lm"
 %endif
 %if %{with_SASL}
-  CCARGS="${CCARGS} -DUSE_SASL_AUTH"
-  AUXLIBS="${AUXLIBS} -lsasl"
+  CCARGS="${CCARGS} -DUSE_SASL_AUTH -I/usr/include/sasl"
+  AUXLIBS="${AUXLIBS} -lsasl2"
 %endif
 %if %{with_TLS}
   LIBS=

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to