summaryrefslogtreecommitdiff
path: root/mail/mutt-devel
diff options
context:
space:
mode:
authortron <tron>2011-02-03 14:11:50 +0000
committertron <tron>2011-02-03 14:11:50 +0000
commit63d50bc0e543d112c54b1ef6ba4ca49aa54b74bf (patch)
tree6a6c6961c68be7bddbd099f471278208d9358f4a /mail/mutt-devel
parent621dc6b0e83abc04a1580faaeca68910410f1068 (diff)
downloadpkgsrc-63d50bc0e543d112c54b1ef6ba4ca49aa54b74bf.tar.gz
Add a patch from the "mutt" bug tracking system which works arround a bug
in Exchange 2010's IMAP server. Tested with Dovecot 2.0 and Exchange 2010.
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r--mail/mutt-devel/Makefile3
-rw-r--r--mail/mutt-devel/distinfo9
-rw-r--r--mail/mutt-devel/patches/patch-ae24
3 files changed, 28 insertions, 8 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 4c0d97d9bc4..db8a1d020b9 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.80 2010/11/07 14:52:47 tonio Exp $
+# $NetBSD: Makefile,v 1.81 2011/02/03 14:11:50 tron Exp $
DISTNAME= mutt-1.5.21
+PKGREVISION= 1
CATEGORIES= mail
MUTT_SITES= ftp://ftp.mutt.org/mutt/ \
ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \
diff --git a/mail/mutt-devel/distinfo b/mail/mutt-devel/distinfo
index aabd0b08709..560fde5c309 100644
--- a/mail/mutt-devel/distinfo
+++ b/mail/mutt-devel/distinfo
@@ -1,18 +1,13 @@
-$NetBSD: distinfo,v 1.66 2010/12/20 14:03:39 tonio Exp $
+$NetBSD: distinfo,v 1.67 2011/02/03 14:11:50 tron Exp $
SHA1 (mutt-1.5.21.tar.gz) = a8475f2618ce5d5d33bff85c0affdf21ab1d76b9
RMD160 (mutt-1.5.21.tar.gz) = b235a42972ae410592253cdc117a90baf279f47a
Size (mutt-1.5.21.tar.gz) = 3716886 bytes
-SHA1 (patch-1.5.21.rr.compressed.gz) = 5c0ce1e75f2360bb81316e970df75b2bab472bf8
-RMD160 (patch-1.5.21.rr.compressed.gz) = 137a1a9fa042401c078be0de177ecfed60939fbe
-Size (patch-1.5.21.rr.compressed.gz) = 10133 bytes
-SHA1 (sidebar-5302767aa6aa.gz) = 3f87da8e209213a23f228f48ac554beee15adc0a
-RMD160 (sidebar-5302767aa6aa.gz) = c4fd8186cbca3dad30de253b673b9c45cb9abf26
-Size (sidebar-5302767aa6aa.gz) = 11762 bytes
SHA1 (patch-aa) = 59d89dce24110be2927c8a1ea1fa5b780d644372
SHA1 (patch-ab) = 73d7fcd363d0064366c953fa61cfae9a71dcf9d4
SHA1 (patch-ac) = 40d119b7efed1a4622c42badc9ee97349b504044
SHA1 (patch-ad) = ecfa994c7c5e494b6eb7356327b96de6559146fc
+SHA1 (patch-ae) = 6534848a4c27d4a3830edd8d4e19d1181fe396d6
SHA1 (patch-af) = 36ca7b54d42537b1d23d87e58d6e31dbad032c0e
SHA1 (patch-ag) = 8b14861fde20edd39fb0b352cbe0f9e890529443
SHA1 (patch-ah) = dfe747c30a44bb309cccaca1bd5174fccc3c2bed
diff --git a/mail/mutt-devel/patches/patch-ae b/mail/mutt-devel/patches/patch-ae
new file mode 100644
index 00000000000..53b2a13a3c0
--- /dev/null
+++ b/mail/mutt-devel/patches/patch-ae
@@ -0,0 +1,24 @@
+$NetBSD: patch-ae,v 1.16 2011/02/03 14:11:51 tron Exp $
+
+Work around the broken IMAP implementation of Exchange 2010.
+Patch taken from here:
+
+http://dev.mutt.org/trac/ticket/3459
+
+--- imap/message.c.orig 2010-08-24 17:34:21.000000000 +0100
++++ imap/message.c 2011-02-03 13:17:56.000000000 +0000
+@@ -242,6 +242,14 @@
+ char *cmd;
+
+ fetchlast = msgend + 1;
++ /* Microsoft Exchange 2010 violates the IMAP protocol and
++ * starts omitting messages if one FETCHes more than 2047 (or
++ * or somewhere around that number. We therefore split the
++ * FETCH into chunks of 2000 messages each. */
++ if (fetchlast - msgno - 1 > 2000)
++ {
++ fetchlast = msgno + 1 + 2000;
++ }
+ safe_asprintf (&cmd, "FETCH %d:%d (UID FLAGS INTERNALDATE RFC822.SIZE %s)",
+ msgno + 1, fetchlast, hdrreq);
+ imap_cmd_start (idata, cmd);