diff options
author | tron <tron@pkgsrc.org> | 2011-02-02 22:19:24 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2011-02-02 22:19:24 +0000 |
commit | f1e08b327634fc62ad5828a3f8b43a3c4d6297ec (patch) | |
tree | 8bd1c426cd83b26360c480e36448037f3bd6ff14 /mail/dovecot2 | |
parent | 46c270d2c776c7904b480457dbfddeb959f0142f (diff) | |
download | pkgsrc-f1e08b327634fc62ad5828a3f8b43a3c4d6297ec.tar.gz |
Add fix by Timo Sirainen from the Dovecot Mercury repository to fix
a hang when trying to COPY to a non existent mailbox via IMAP.
Diffstat (limited to 'mail/dovecot2')
-rw-r--r-- | mail/dovecot2/Makefile | 3 | ||||
-rw-r--r-- | mail/dovecot2/distinfo | 3 | ||||
-rw-r--r-- | mail/dovecot2/patches/patch-ad | 18 |
3 files changed, 22 insertions, 2 deletions
diff --git a/mail/dovecot2/Makefile b/mail/dovecot2/Makefile index 548fc4667c7..404badc512a 100644 --- a/mail/dovecot2/Makefile +++ b/mail/dovecot2/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2011/01/13 12:59:08 adam Exp $ +# $NetBSD: Makefile,v 1.7 2011/02/02 22:19:24 tron Exp $ DISTNAME= dovecot-2.0.9 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.dovecot.org/releases/2.0/ diff --git a/mail/dovecot2/distinfo b/mail/dovecot2/distinfo index f2361367d3b..ecb6621cf7a 100644 --- a/mail/dovecot2/distinfo +++ b/mail/dovecot2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2011/01/13 12:59:08 adam Exp $ +$NetBSD: distinfo,v 1.7 2011/02/02 22:19:24 tron Exp $ SHA1 (dovecot-2.0.9.tar.gz) = 1cf5d331c770e09f47c7f98297f8af67e150cafa RMD160 (dovecot-2.0.9.tar.gz) = 3c6c430f867dba7fa4d9da33342892b3c631bac7 @@ -6,6 +6,7 @@ Size (dovecot-2.0.9.tar.gz) = 3208677 bytes SHA1 (patch-aa) = b7e2923ead1ad1eacd3b8b1a37111325794135d2 SHA1 (patch-ab) = 218948585c96492a832ea903f31a6f9ad9fc69f0 SHA1 (patch-ac) = dc5db4870b14bf2424f0c957f5cf7f1a289fefe6 +SHA1 (patch-ad) = c6f369392b2d71f70495e7e0171824594b2bbdbc SHA1 (patch-ae) = 51d8cb998cc2ded8bfc767710e465b752c50e656 SHA1 (patch-af) = 691cb36fcd5d71e1dea1812da5ed3e93a9ca029a SHA1 (patch-ah) = 13d7b1e84610c7a694e4b79888e8ebc3cee9ab79 diff --git a/mail/dovecot2/patches/patch-ad b/mail/dovecot2/patches/patch-ad new file mode 100644 index 00000000000..2c5a720f37d --- /dev/null +++ b/mail/dovecot2/patches/patch-ad @@ -0,0 +1,18 @@ +$NetBSD: patch-ad,v 1.3 2011/02/02 22:19:25 tron Exp $ + +Fix a hang when trying to COPY to a non existent mailbox via IMAP. +Patch taken from here: + +http://hg.dovecot.org/dovecot-2.0/rev/826981b2c5c4 + +--- src/imap/cmd-copy.c.orig 2010-03-25 15:03:33.000000000 +0000 ++++ src/imap/cmd-copy.c 2011-02-02 22:10:21.000000000 +0000 +@@ -126,7 +126,7 @@ + case MAILBOX_NAME_NOINFERIORS: + client_fail_mailbox_name_status(cmd, mailbox, + "TRYCREATE", status); +- return NULL; ++ return TRUE; + } + + if (mailbox_equals(client->mailbox, dest_ns, storage_name)) |