head 1.8; access; symbols pkgsrc-2019Q4:1.7.0.14 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.10 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.8 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.6 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.4 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.2 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.6.0.16 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.14 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.12 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.10 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.6 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.4 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.2 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.5.0.20 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.18 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.16 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.14 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.12 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.10 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.8 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.6 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.4 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.2 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.4.0.38 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.36 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.34 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.32 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.30 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.28 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.26 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.24 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.22 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.20 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.18 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.16 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.14 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.12 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.10 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.8 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.6 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.4 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.2 pkgsrc-2009Q3-base:1.4 pkgsrc-2008Q4:1.3.0.26 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.24 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.22 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.20 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.18 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.16 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.14 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.12 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.10 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.8 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.6 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.4 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.2 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.1.0.6 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.4 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.2 pkgsrc-2005Q2-base:1.1; locks; strict; comment @# @; 1.8 date 2019.12.29.01.00.22; author ryoon; state dead; branches; next 1.7; commitid Bc3jA85t1ZTjqxQB; 1.7 date 2018.09.19.13.08.14; author schmonz; state Exp; branches; next 1.6; commitid xt6PA98ofK6KqISA; 1.6 date 2016.12.15.14.15.01; author schmonz; state Exp; branches; next 1.5; commitid SA2ND45RLIm5t5yz; 1.5 date 2014.04.24.14.48.44; author schmonz; state Exp; branches; next 1.4; commitid E0zbv9yWNOWNHWxx; 1.4 date 2009.07.12.20.26.59; author tonio; state Exp; branches; next 1.3; 1.3 date 2006.03.07.20.20.26; author tonio; state dead; branches; next 1.2; 1.2 date 2006.01.25.17.35.49; author tonio; state Exp; branches; next 1.1; 1.1 date 2005.04.24.09.31.54; author adrianp; state Exp; branches; next ; desc @@ 1.8 log @Update to 1.3.1 * Enable SASL support Changelog: This is a long overdue maintenance release: - SSL now uses SNI, which for example GMail requires - fixed fallbacks for missing UIDPLUS extension (with e.g. DavMail) - fixed UIDVALIDITY recovery with really long Message-id headers - fixed GSSAPI authentication with Kerberos - fixed support for IMAP servers which do not sort search results (e.g., poczta.o2.pl) - fixed CopyArrivalDate on platforms without glibc - fixed useless SASL warnings with certain plugins - the perl 5.14 requirement is now made explicit - improved OpenBSD support - fixed a bunch of compiler warnings @ text @$NetBSD: patch-af,v 1.7 2018/09/19 13:08:14 schmonz Exp $ time_t may be 64-bit. --- src/drv_maildir.c.orig 2017-10-01 08:41:29.000000000 +0000 +++ src/drv_maildir.c @@@@ -1569,7 +1569,7 @@@@ maildir_store_msg( store_t *gctx, msg_da uint uid; char buf[_POSIX_PATH_MAX], nbuf[_POSIX_PATH_MAX], fbuf[NUM_FLAGS + 3], base[128]; - bl = nfsnprintf( base, sizeof(base), "%ld.%d_%d.%s", (long)time( 0 ), Pid, ++MaildirCount, Hostname ); + bl = nfsnprintf( base, sizeof(base), "%lld.%d_%d.%s", (long long int)time( 0 ), Pid, ++MaildirCount, Hostname ); if (!to_trash) { #ifdef USE_DB if (ctx->usedb) { @@@@ -1750,8 +1750,8 @@@@ maildir_trash_msg( store_t *gctx, messag for (;;) { nfsnprintf( buf, sizeof(buf), "%s/%s/%s", ctx->path, subdirs[gmsg->status & M_RECENT], msg->base ); s = strstr( msg->base, ((maildir_store_conf_t *)gctx->conf)->info_prefix ); - nfsnprintf( nbuf, sizeof(nbuf), "%s/%s/%ld.%d_%d.%s%s", ctx->trash, - subdirs[gmsg->status & M_RECENT], (long)time( 0 ), Pid, ++MaildirCount, Hostname, s ? s : "" ); + nfsnprintf( nbuf, sizeof(nbuf), "%s/%s/%lld.%d_%d.%s%s", ctx->trash, + subdirs[gmsg->status & M_RECENT], (long long int)time( 0 ), Pid, ++MaildirCount, Hostname, s ? s : "" ); if (!rename( buf, nbuf )) break; if (!stat( buf, &st )) { @ 1.7 log @Update to 1.3.0. From the changelog: - Network timeout handling has been added. - Support for proper Maildir++ and a Maildir sub-folder naming style without extra dots have been added. - Support for TLS client certificates was added. - Support for recovering from baseless UID validity changes was added. - The get-cert script was renamed to mbsync-get-cert. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.6 2016/12/15 14:15:01 schmonz Exp $ @ 1.6 log @Update to 1.2.1. From the changelog: - The 'isync' compatibility wrapper is now deprecated. - An IMAP Path/NAMESPACE rooted in INBOX won't be handled specially any more. This means that some Patterns may need adjustment. - The default output is a lot less verbose now. The meanings of the -V and -D options changed significantly. - The SSL/TLS configuration has been re-designed. SSL is now explicitly enabled or disabled - "use SSL if available" is gone. Notice: Tunnels are assumed to be secure and thus default to no SSL. - Support for SASL (flexible authentication) has been added. - Support for Windows file systems has been added. - Support for compressed data transfer has been added. - Folder deletions can be propagated now. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.5 2014/04/24 14:48:44 schmonz Exp $ d5 1 a5 1 --- src/drv_maildir.c.orig 2015-09-27 09:47:19.000000000 +0000 d7 2 a8 2 @@@@ -1336,7 +1336,7 @@@@ maildir_store_msg( store_t *gctx, msg_da int ret, fd, bl, uid; d16 1 a16 1 @@@@ -1518,8 +1518,8 @@@@ maildir_trash_msg( store_t *gctx, messag d18 1 a18 1 nfsnprintf( buf, sizeof(buf), "%s/%s/%s", gctx->path, subdirs[gmsg->status & M_RECENT], msg->base ); @ 1.5 log @Update to 1.1.0. From the changelog: * Support for hierarchical mailboxes in Patterns. * Full support for IMAP pipelining (streaming, parallelization) added. This is considerably faster especially with high-latency networks. * Faster and hopefully more reliable support for IMAP servers without the UIDPLUS extension (e.g., M$ Exchange). * More automatic handling of SSL certificates. * IPv6 support. * IMAP password query can be scripted. * Message arrival dates can be propagated. * Data safety in case of system crashes was improved. * MaxMessages was made vastly more useful. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.4 2009/07/12 20:26:59 tonio Exp $ d5 1 a5 1 --- src/drv_maildir.c.orig 2013-12-18 17:58:26.000000000 +0000 d7 1 a7 1 @@@@ -1167,7 +1167,7 @@@@ maildir_store_msg( store_t *gctx, msg_da d15 2 a16 2 if (ctx->db) { @@@@ -1347,8 +1347,8 @@@@ maildir_trash_msg( store_t *gctx, messag d19 1 a19 1 s = strstr( msg->base, ":2," ); @ 1.4 log @Update mail/isync to 1.0.4 Changelog contains mostly bugfixes. Add path-af to handle 64bits time_t @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 time_t may be 64bits d5 1 a5 1 --- src/drv_maildir.c.orig 2008-02-23 10:02:21.000000000 +0100 d7 2 a8 2 @@@@ -936,7 +936,7 @@@@ maildir_store_msg( store_t *gctx, msg_da int ret, fd, bl; d11 3 a13 3 - bl = nfsnprintf( base, sizeof(base), "%ld.%d_%d.%s", time( 0 ), Pid, ++MaildirCount, Hostname ); + bl = nfsnprintf( base, sizeof(base), "%lld.%d_%d.%s", (long long int) time( 0 ), Pid, ++MaildirCount, Hostname ); if (uid) { d16 1 a16 1 @@@@ -1086,8 +1086,8 @@@@ maildir_trash_msg( store_t *gctx, messag d20 4 a23 4 - nfsnprintf( nbuf, sizeof(nbuf), "%s%s/%s/%ld.%d_%d.%s%s", gctx->conf->path, gctx->conf->trash, - subdirs[gmsg->status & M_RECENT], time( 0 ), Pid, ++MaildirCount, Hostname, s ? s : "" ); + nfsnprintf( nbuf, sizeof(nbuf), "%s%s/%s/%lld.%d_%d.%s%s", gctx->conf->path, gctx->conf->trash, + subdirs[gmsg->status & M_RECENT], (long long int) time( 0 ), Pid, ++MaildirCount, Hostname, s ? s : "" ); @ 1.3 log @Update mail/isync to 1.0.2 - remove patch-af, as it is already in the release - take maintainership. Changelog: * src/compat/main.c: fix 'isync -w' writing .mbsyncrc to a wrong directory * src/sync.c: less confusing uid ranges in debug * src/sync.c: - sanitize flag handling of expired messages - don't record we synced flags if we didn't - remove now superfluous temporary rflags * src/drv_maildir.c: less confusing error message on invalid mailbox. * src/drv_imap.c: revert 1.8 - what was i smoking?! the CREATE argument is already quoted; we just extracted it from the previous command. ( that was patch-af ) * src/drv_maildir.c: make flag changes unset "new" status - unless a ghost is acting in the background, a flag change indicates that the message was at least noticed. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.2 2006/01/25 17:35:49 tonio Exp $ d3 24 a26 19 --- 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 #include #include +#include #if HAVE_LIBSSL # include # include @@@@ -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; } @ 1.2 log @Fix -C for imap mailboxes : do not quote argument of CREATE (this fix comes from isync cvs) Bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @- Update isync to 1.0.1 - thanks to Antoine.Reilles@@loria.fr for the first set of patches - Many updates and bugfixes, in summary: - better OpenSSL detection - update c-client support - use legacy flock() only on linux - cope with out-of-disk-space halfways gracefully @ text @d3 3 a5 3 --- 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 @@@@ d13 9 @