Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 04:08:08 -0700 (PDT)
From:      ido@hitachi-ms.co.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21262: Fix port: mail/postfix-current
Message-ID:  <20000914110808.D90E937B423@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21262
>Category:       ports
>Synopsis:       Fix port: mail/postfix-current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 14 04:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Naoki IDO
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Hitachi Microsoftware Systems, Inc.
>Environment:
FreeBSD nsland.hitachi-ms.co.jp 4.1-STABLE FreeBSD 4.1-STABLE #6: Wed Aug 23 16:26:07 JST 2000     ido@nsland.hitachi-ms.co.jp:/usr/src/sys/compile/NSLAND  i386
      
>Description:
Avoid compile errors of postfix-current with SASL.

Add two patches (patch-sasl1 and patch-sasl2).
      
>How-To-Repeat:

>Fix:
diff -ruN postfix-current/Makefile postfix-current.next/Makefile
--- postfix-current/Makefile	Thu Sep 14 11:27:39 2000
+++ postfix-current.next/Makefile	Thu Sep 14 19:19:24 2000
@@ -53,7 +53,7 @@
 .if defined(WITH_SASL)
 BUILD_DEPENDS+=		${LOCALBASE}/lib/libsasl.a:${PORTSDIR}/security/cyrus-sasl
 POSTFIX_CCARGS+=	-DUSE_SASL_AUTH -I${LOCALBASE}/include
-POSTFIX_AUXLIBS+=	${LOCALBASE}/lib/libsasl.a
+POSTFIX_AUXLIBS+=	${LOCALBASE}/lib/libsasl.a -lcrypt -lpam
 .endif
 
 MAN1=	mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \
diff -ruN postfix-current/patches/patch-sasl1 postfix-current.next/patches/patch-sasl1
--- postfix-current/patches/patch-sasl1	Thu Jan  1 09:00:00 1970
+++ postfix-current.next/patches/patch-sasl1	Thu Sep 14 19:18:26 2000
@@ -0,0 +1,21 @@
+*** ./smtpd/smtpd.h.orig	Fri May  5 03:08:25 2000
+--- ./smtpd/smtpd.h	Thu Sep 14 19:14:41 2000
+***************
+*** 12,19 ****
+    * SASL library.
+    */
+  #ifdef USE_SASL_AUTH
+! #include <sasl.h>
+! #include <saslutil.h>
+  #endif
+  
+   /*
+--- 12,19 ----
+    * SASL library.
+    */
+  #ifdef USE_SASL_AUTH
+! #include <sasl/sasl.h>
+! #include <sasl/saslutil.h>
+  #endif
+  
+   /*
diff -ruN postfix-current/patches/patch-sasl2 postfix-current.next/patches/patch-sasl2
--- postfix-current/patches/patch-sasl2	Thu Jan  1 09:00:00 1970
+++ postfix-current.next/patches/patch-sasl2	Thu Sep 14 19:18:45 2000
@@ -0,0 +1,21 @@
+*** ./smtp/smtp.h.orig	Fri May  5 03:13:07 2000
+--- ./smtp/smtp.h	Thu Sep 14 19:15:20 2000
+***************
+*** 12,19 ****
+    * SASL library.
+    */
+  #ifdef USE_SASL_AUTH
+! #include <sasl.h>
+! #include <saslutil.h>
+  #endif
+  
+   /*
+--- 12,19 ----
+    * SASL library.
+    */
+  #ifdef USE_SASL_AUTH
+! #include <sasl/sasl.h>
+! #include <sasl/saslutil.h>
+  #endif
+  
+   /*
      

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000914110808.D90E937B423>