summaryrefslogtreecommitdiff
path: root/mail/postfix/patches
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2004-01-20 19:37:45 +0000
committermartin <martin@pkgsrc.org>2004-01-20 19:37:45 +0000
commit05b97ea7327e7f7220a15b5f2ca7f6e01abd7429 (patch)
tree5346c7f7d7784168b6af431e214f83ba380794d1 /mail/postfix/patches
parent7809b6f7ca6e96bd13379b151b97af7d7ba4c943 (diff)
downloadpkgsrc-05b97ea7327e7f7220a15b5f2ca7f6e01abd7429.tar.gz
Apply the SASL2 cure to smtp and lmtp to. This makes outgoing authenticated
mail work.
Diffstat (limited to 'mail/postfix/patches')
-rw-r--r--mail/postfix/patches/patch-ab23
-rw-r--r--mail/postfix/patches/patch-ac23
2 files changed, 46 insertions, 0 deletions
diff --git a/mail/postfix/patches/patch-ab b/mail/postfix/patches/patch-ab
new file mode 100644
index 00000000000..b161debce4d
--- /dev/null
+++ b/mail/postfix/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.8 2004/01/20 19:37:45 martin Exp $
+
+--- src/lmtp/lmtp.h.orig 2003-09-10 02:48:03.000000000 +0200
++++ src/lmtp/lmtp.h 2004-01-20 20:30:12.000000000 +0100
+@@ -11,10 +11,18 @@
+ /*
+ * SASL library.
+ */
++#ifdef USE_SASL2_AUTH
++#ifndef USE_SASL_AUTH
++#define USE_SASL_AUTH
++#endif
++#include <sasl/sasl.h>
++#include <sasl/saslutil.h>
++#else
+ #ifdef USE_SASL_AUTH
+ #include <sasl.h>
+ #include <saslutil.h>
+ #endif
++#endif
+
+ /*
+ * Utility library.
diff --git a/mail/postfix/patches/patch-ac b/mail/postfix/patches/patch-ac
new file mode 100644
index 00000000000..ce2d6c65faa
--- /dev/null
+++ b/mail/postfix/patches/patch-ac
@@ -0,0 +1,23 @@
+$NetBSD: patch-ac,v 1.6 2004/01/20 19:37:45 martin Exp $
+
+--- src/smtp/smtp.h.orig 2002-05-23 21:18:02.000000000 +0200
++++ src/smtp/smtp.h 2004-01-20 20:29:21.000000000 +0100
+@@ -11,10 +11,18 @@
+ /*
+ * SASL library.
+ */
++#ifdef USE_SASL2_AUTH
++#ifndef USE_SASL_AUTH
++#define USE_SASL_AUTH
++#endif
++#include <sasl/sasl.h>
++#include <sasl/saslutil.h>
++#else
+ #ifdef USE_SASL_AUTH
+ #include <sasl.h>
+ #include <saslutil.h>
+ #endif
++#endif
+
+ /*
+ * Utility library.