summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortron <tron>2000-11-15 18:50:28 +0000
committertron <tron>2000-11-15 18:50:28 +0000
commit561d60b0776f37e4d5180cad6291b82364cec959 (patch)
tree17d8021469807b4c466a7d51b24dcfb7c7f7af00 /mail
parenta6f26c55c0072ba1997152cc5f5db99ac6ad62ef (diff)
downloadpkgsrc-561d60b0776f37e4d5180cad6291b82364cec959.tar.gz
Patch provided by Todd Sabin in private e-mail to fix problems with
version 2000 of the UW IMAP software.
Diffstat (limited to 'mail')
-rw-r--r--mail/fetchmail/files/patch-sum3
-rw-r--r--mail/fetchmail/patches/patch-ac22
2 files changed, 24 insertions, 1 deletions
diff --git a/mail/fetchmail/files/patch-sum b/mail/fetchmail/files/patch-sum
index 00ce83eae61..ced5f9fd3f0 100644
--- a/mail/fetchmail/files/patch-sum
+++ b/mail/fetchmail/files/patch-sum
@@ -1,5 +1,6 @@
-$NetBSD: patch-sum,v 1.13 2000/10/29 22:56:31 frueauf Exp $
+$NetBSD: patch-sum,v 1.14 2000/11/15 18:50:28 tron Exp $
MD5 (patch-aa) = cc1298297934cf1b0821583ef27ac5d9
MD5 (patch-ab) = e250709868504acbfd40cfa89634766e
+MD5 (patch-ac) = 2c816f294ba8abeca66f8d825791b076
MD5 (patch-ad) = da45661a42aca654307a83b8d00c6a18
diff --git a/mail/fetchmail/patches/patch-ac b/mail/fetchmail/patches/patch-ac
new file mode 100644
index 00000000000..d3cac400ab7
--- /dev/null
+++ b/mail/fetchmail/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.11 2000/11/15 18:50:29 tron Exp $
+
+--- imap.c.orig Fri Nov 10 23:34:27 2000
++++ imap.c Wed Nov 15 19:43:51 2000
+@@ -827,13 +827,11 @@
+ strcat (buf1, "\r\n");
+ SockWrite (sock, buf1, strlen (buf1));
+
+- if ((result = gen_recv (sock, buf1, sizeof (buf1))))
+- return result;
+-
+- if (strstr (buf1, "OK")) {
+- return PS_SUCCESS;
++ result = imap_ok (sock, NULL);
++ if (result == PS_SUCCESS) {
++ return result;
+ } else {
+- return PS_AUTHFAIL;
++ return PS_AUTHFAIL;
+ }
+ }
+