summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2006-01-25 17:35:49 +0000
committertonio <tonio@pkgsrc.org>2006-01-25 17:35:49 +0000
commitfd126270fe91febc8d4b97fda963e39e2181281e (patch)
treedaab209a9ba3def7a931ff50b6ce7d01762b894d
parent8607dd5ddf918343703291f49cf5e72a8aea554e (diff)
downloadpkgsrc-fd126270fe91febc8d4b97fda963e39e2181281e.tar.gz
Fix -C for imap mailboxes : do not quote argument of CREATE
(this fix comes from isync cvs) Bump PKGREVISION
-rw-r--r--mail/isync/Makefile4
-rw-r--r--mail/isync/distinfo4
-rw-r--r--mail/isync/patches/patch-af17
3 files changed, 17 insertions, 8 deletions
diff --git a/mail/isync/Makefile b/mail/isync/Makefile
index 8f760595854..10e9a6c8b56 100644
--- a/mail/isync/Makefile
+++ b/mail/isync/Makefile
@@ -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 --git a/mail/isync/distinfo b/mail/isync/distinfo
index b9a4d404a8a..038ad31a401 100644
--- a/mail/isync/distinfo
+++ b/mail/isync/distinfo
@@ -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-ab) = bee5b091f89a670b584b73ef58774ae992bb6637
SHA1 (patch-ac) = d06d1444f66eaeab1fdf22e1aa2f1b9184abccfa
SHA1 (patch-ad) = c4a86de19b3004752dc51da9453b702945fe6578
SHA1 (patch-ae) = ad8ced1548ecd3eb224a2a81dffd5e0f1caaac87
-SHA1 (patch-af) = e07a7fcea29cf7f6a6507f7c399e1976623b9d37
+SHA1 (patch-af) = 7cbb9f9cc5e3bc3ecf550e7e69b0561b2cbcac10
diff --git a/mail/isync/patches/patch-af b/mail/isync/patches/patch-af
index 8f481a7d75f..9281f6da62f 100644
--- a/mail/isync/patches/patch-af
+++ b/mail/isync/patches/patch-af
@@ -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 @@ $NetBSD: patch-af,v 1.1 2005/04/24 09:31:54 adrianp Exp $
#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;
+ }