pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/isync Fix -C for imap mailboxes : do not quote ar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3fb8389a01a
branches:  trunk
changeset: 507054:f3fb8389a01a
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Wed Jan 25 17:35:49 2006 +0000

description:
Fix -C for imap mailboxes : do not quote argument of CREATE
(this fix comes from isync cvs)
Bump PKGREVISION

diffstat:

 mail/isync/Makefile         |   4 ++--
 mail/isync/distinfo         |   4 ++--
 mail/isync/patches/patch-af |  17 +++++++++++++----
 3 files changed, 17 insertions(+), 8 deletions(-)

diffs (58 lines):

diff -r 70ecd531d65c -r f3fb8389a01a mail/isync/Makefile
--- a/mail/isync/Makefile       Wed Jan 25 17:30:55 2006 +0000
+++ b/mail/isync/Makefile       Wed Jan 25 17:35:49 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2006/01/06 15:10:05 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2006/01/25 17:35:49 tonio Exp $
 #
 
 DISTNAME=      isync-1.0.1
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    mail net
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=isync/}
 
diff -r 70ecd531d65c -r f3fb8389a01a mail/isync/distinfo
--- a/mail/isync/distinfo       Wed Jan 25 17:30:55 2006 +0000
+++ b/mail/isync/distinfo       Wed Jan 25 17:35:49 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2005/04/24 09:31:54 adrianp Exp $
+$NetBSD: distinfo,v 1.5 2006/01/25 17:35:49 tonio Exp $
 
 SHA1 (isync-1.0.1.tar.gz) = 622969588f85cb9fcaf4a61fe42a73e7f600bf87
 RMD160 (isync-1.0.1.tar.gz) = af1e04adc983b23f7c38404b6fcedf9791a546d9
@@ -8,4 +8,4 @@
 SHA1 (patch-ac) = d06d1444f66eaeab1fdf22e1aa2f1b9184abccfa
 SHA1 (patch-ad) = c4a86de19b3004752dc51da9453b702945fe6578
 SHA1 (patch-ae) = ad8ced1548ecd3eb224a2a81dffd5e0f1caaac87
-SHA1 (patch-af) = e07a7fcea29cf7f6a6507f7c399e1976623b9d37
+SHA1 (patch-af) = 7cbb9f9cc5e3bc3ecf550e7e69b0561b2cbcac10
diff -r 70ecd531d65c -r f3fb8389a01a mail/isync/patches/patch-af
--- a/mail/isync/patches/patch-af       Wed Jan 25 17:30:55 2006 +0000
+++ b/mail/isync/patches/patch-af       Wed Jan 25 17:35:49 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-af,v 1.1 2005/04/24 09:31:54 adrianp Exp $
+$NetBSD: patch-af,v 1.2 2006/01/25 17:35:49 tonio Exp $
 
---- src/drv_imap.c.orig        2005-03-05 22:00:48.000000000 +0100
-+++ src/drv_imap.c     2005-03-05 22:01:01.000000000 +0100
-@@ -41,6 +41,7 @@
+--- src/drv_imap.c.orig        2005-03-28 12:41:04.000000000 +0200
++++ src/drv_imap.c     2006-01-25 18:25:48.000000000 +0100
+@@ -40,6 +40,7 @@
  #include <netinet/tcp.h>
  #include <arpa/inet.h>
  #include <netdb.h>
@@ -10,3 +10,12 @@
  #if HAVE_LIBSSL
  # include <openssl/ssl.h>
  # include <openssl/err.h>
+@@ -1001,7 +1002,7 @@ get_cmd_result( imap_store_t *ctx, struc
+                               if (!strcmp( "NO", arg )) {
+                                       if (cmdp->cb.create && cmd && (cmdp->cb.trycreate || !memcmp( cmd, "[TRYCREATE]", 11 ))) { /* SELECT, APPEND or UID COPY */
+                                               p = strchr( cmdp->cmd, '"' );
+-                                              if (!issue_imap_cmd( ctx, 0, "CREATE \"%.*s\"", strchr( p + 1, '"' ) - p + 1, p )) {
++                                              if (!issue_imap_cmd( ctx, 0, "CREATE %.*s", strchr( p + 1, '"' ) - p + 1, p )) {
+                                                       resp = RESP_BAD;
+                                                       goto normal;
+                                               }



Home | Main Index | Thread Index | Old Index