Thu Aug 13 15:20:33 2009 UTC ()
Updated mail/imapsync to 1.286

pkgsrc change:
Add missing p5-Date-Manip depends - noted by Martti Kuparinen

upstream changes:

revision 1.286
date: 2009/07/24 15:53:04;  author: gilles;  state: Exp;  lines: +10 -7
Bug fix: allow3x is on by default (was badly done after check_lib_version())

revision 1.285
date: 2009/07/03 00:59:20;  author: gilles;  state: Exp;  lines: +38 -17
Applied "patch -p0 < patches/imapsync.1.284.patch"
Attached is a patch against 1.284 with the following changes:

- [Bug] to_folder_name() failed to escape $f_prefix so --prefix1 <string> was treated like --prefix1 <regex> instead

- [Enhancement] updated parse_header_msg1() to return 0 on duplicate or undef on "no header" so now the "+ Skipping msg" will show either "no header" or "duplicate" as appropriate

- [Bug] flag handling: make sure we don't try to set \Recent as RFC 2060 doesn't allow for that

- [Enhancement] flag handling: only add missing flags instead of always calling $to->store() to set flags even when the flags already matched what we wanted... my first patch just used string comparison, this patch actually uses a hash for comparison so we're smarter about flags even when the order on $from and $to are different now - definitely helps speed up imapsync when lots of messages have flags and running sync in multiple passes

Phil

revision 1.284
date: 2009/06/30 03:14:24;  author: gilles;  state: Exp;  lines: +15 -19
allow Mail::IMAPClient 3.0.xx by default
Removed Mail::IMAPClient::Ssl since 3.0.19 has it now.

revision 1.283
date: 2009/06/30 02:54:57;  author: gilles;  state: Exp;  lines: +123 -94
Applied Phil Lobbes patch as is : ./patches/imapsync.1.282.patch

revision 1.282
date: 2009/05/11 00:05:39;  author: gilles;  state: Exp;  lines: +15 -10
Added option --justlogin

revision 1.281
date: 2009/04/24 13:58:15;  author: gilles;  state: Exp;  lines: +29 -6
Added tests_flags_regex() regression tests.

revision 1.280
date: 2009/04/02 11:32:10;  author: gilles;  state: Exp;  lines: +103 -47
Applied Phil patch with many IsUnconnected() calls.

revision 1.279
date: 2009/03/22 00:12:15;  author: gilles;  state: Exp;  lines: +9 -7
isUnconnected BAD IsUnconnected GOOD!

revision 1.278
date: 2009/02/23 00:40:25;  author: gilles;  state: Exp;  lines: +14 -12
Less imap output with +FLAGS.SILENT
Changed unsubscribe subscribe order in documentation.
Typos.

revision 1.277
date: 2009/02/21 12:10:50;  author: gilles;  state: Exp;  lines: +8 -6
Better example explanation.

revision 1.276
date: 2009/02/21 04:04:08;  author: gilles;  state: Exp;  lines: +15 -22
Removed mailto: in MAILING-LIST section.

revision 1.275
date: 2009/02/21 02:04:26;  author: gilles;  state: Exp;  lines: +25 -14
Change real password to "MASKED" in command line output.

revision 1.274
date: 2009/02/21 01:10:02;  author: gilles;  state: Exp;  lines: +14 -8
--delete 2 is now a fatal error.

revision 1.273
date: 2009/02/21 00:48:40;  author: gilles;  state: Exp;  lines: +36 -37
Print a warning and return error code each time a disconnection occurs.

revision 1.272
date: 2009/02/20 23:41:09;  author: gilles;  state: Exp;  lines: +78 -78
Fixed many English errors (thanks to Reuben Thomas)

revision 1.271
date: 2009/02/19 23:38:32;  author: gilles;  state: Exp;  lines: +28 -35
Bug fix about $t_prefix and INBOX '.' was hardcoded.
Small change on documentation.

revision 1.270
date: 2009/02/14 22:21:35;  author: gilles;  state: Exp;  lines: +16 -11
Another Phil Lobbes patch.
Exit with error code and warning when a server disconnect
during the folder loop.

revision 1.269
date: 2009/02/14 22:08:18;  author: gilles;  state: Exp;  lines: +65 -38
Applied Phil Lobbes patches.
- catch (what should be) fatal eval errors for regextrans2,
  $regexflag, $regexmess, instead of silently ignoring them
  and letting the user think they are working/OK
- fix login_imap() Died at .../imapsync line 780 when IsUnconnected()
  and log some more useful into to stderr than just 'Died at...'
- check_lib_version() contains a bad use of unset match/capture variables
- added and now use new function myconnect() and myconnect_v2()
  does not require hack/override of Mail::IMAPClient::connect
  and is backwards compatible with Mail::IMAPClient v2.x
- redo $Mail::IMAPClient::Authuser hack since only
  Mail::IMAPClient v2 does not have Authuser()
Many thanks to Phil.

revision 1.268
date: 2009/02/14 03:27:51;  author: gilles;  state: Exp;  lines: +22 -21
Fixed  bad VERSION_IMAPClient output

revision 1.267
date: 2008/10/07 11:36:02;  author: gilles;  state: Exp;  lines: +14 -10
Better test to check non existing folders on destination
server.

revision 1.266
date: 2008/10/07 05:56:52;  author: gilles;  state: Exp;  lines: +27 -10
*** empty log message ***

revision 1.265
date: 2008/08/30 14:20:38;  author: gilles;  state: Exp;  lines: +7 -7
carp to warn


(abs)
diff -r1.5 -r1.6 pkgsrc/mail/imapsync/Makefile
diff -r1.3 -r1.4 pkgsrc/mail/imapsync/distinfo

cvs diff -r1.5 -r1.6 pkgsrc/mail/imapsync/Makefile (expand / switch to unified diff)

--- pkgsrc/mail/imapsync/Makefile 2008/09/08 22:25:13 1.5
+++ pkgsrc/mail/imapsync/Makefile 2009/08/13 15:20:33 1.6
@@ -1,32 +1,30 @@ @@ -1,32 +1,30 @@
1# $NetBSD: Makefile,v 1.5 2008/09/08 22:25:13 abs Exp $ 1# $NetBSD: Makefile,v 1.6 2009/08/13 15:20:33 abs Exp $
2# 2#
3 3
4DISTNAME= imapsync-1.264 4DISTNAME= imapsync-1.286
5CATEGORIES= mail 5CATEGORIES= mail
6MASTER_SITES= http://www.linux-france.org/prj/imapsync/dist/ 6MASTER_SITES= http://www.linux-france.org/prj/imapsync/dist/
7EXTRACT_SUFX= .tgz 7EXTRACT_SUFX= .tgz
8 8
9MAINTAINER= abs@NetBSD.org 9MAINTAINER= abs@NetBSD.org
10HOMEPAGE= http://www.linux-france.org/prj/imapsync/ 10HOMEPAGE= http://www.linux-france.org/prj/imapsync/
11COMMENT= Incremental recursive IMAP transfer tool 11COMMENT= Incremental recursive IMAP transfer tool
12 12
13# Mail-IMAPClient-3.x (at least as of 3.08) has SSL regressions which make 13DEPENDS+= p5-Date-Manip>=0:../../devel/p5-Date-Manip
14# it not usable for imapsync, hence we have a p5-Mail-IMAPClient2 package 
15 
16DEPENDS+= p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC 14DEPENDS+= p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
17DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5 15DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
18DEPENDS+= p5-IO-Socket-SSL-[0-9]*:../../security/p5-IO-Socket-SSL 16DEPENDS+= p5-IO-Socket-SSL-[0-9]*:../../security/p5-IO-Socket-SSL
19DEPENDS+= p5-Mail-IMAPClient2>=2.2.9:../../mail/p5-Mail-IMAPClient2 17DEPENDS+= p5-Mail-IMAPClient>=3.1.9:../../mail/p5-Mail-IMAPClient
20DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey 18DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
21 19
22PKG_DESTDIR_SUPPORT= user-destdir 20PKG_DESTDIR_SUPPORT= user-destdir
23 21
24NO_BUILD= YES 22NO_BUILD= YES
25USE_TOOLS+= perl:run 23USE_TOOLS+= perl:run
26REPLACE_PERL+= imapsync 24REPLACE_PERL+= imapsync
27 25
28INSTALLATION_DIRS= bin share/doc 26INSTALLATION_DIRS= bin share/doc
29 27
30SUBST_CLASSES+= conf 28SUBST_CLASSES+= conf
31SUBST_STAGE.conf= pre-configure 29SUBST_STAGE.conf= pre-configure
32SUBST_FILES.conf= imapsync 30SUBST_FILES.conf= imapsync

cvs diff -r1.3 -r1.4 pkgsrc/mail/imapsync/distinfo (expand / switch to unified diff)

--- pkgsrc/mail/imapsync/distinfo 2008/09/08 22:25:13 1.3
+++ pkgsrc/mail/imapsync/distinfo 2009/08/13 15:20:33 1.4
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.3 2008/09/08 22:25:13 abs Exp $ 1$NetBSD: distinfo,v 1.4 2009/08/13 15:20:33 abs Exp $
2 2
3SHA1 (imapsync-1.264.tgz) = 4f2d06cddbe0ee56826a8f2e08f94da2c75f705c 3SHA1 (imapsync-1.286.tgz) = a98ab539270a811554e4bab476d815695be0e96b
4RMD160 (imapsync-1.264.tgz) = 1c56bfd7724d6906ccfd11aa066ba251661ee9b6 4RMD160 (imapsync-1.286.tgz) = 4e0cdbef137e743af5433c64859239cb5886decb
5Size (imapsync-1.264.tgz) = 318077 bytes 5Size (imapsync-1.286.tgz) = 740139 bytes