Up to [cvs.NetBSD.org] / pkgsrc / mail / isync
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
isync: update to 1.5.1 1.5.1 (2025-03-11) ================== Improvements: - mbsync-get-cert now supports STARTTLS; new option -s - Zero-sized messages from IMAP Stores are now accepted - UIDVALIDITY change recovery is now attempted even if both sides of the Channel are affected - The sync summary at the end is more concise again - Cosmetic improvements to some console output Bug Fixes: - Fixed IMAP INBOX not being properly recognized with some servers - Fixed Maildir INBOX nested into Path not being implicitly listed - Fixed crash when resuming message propagation with MaxMessages - Fixed --list-stores hanging after synchronous error - Fixed --dry-run without --debug-driver not being really dry - Fixed building from pristine git clones - Fixed building from shallow git clones 1.5.0 (2024-08-02) ================== Compatibility Concerns: - The reference point for relative local paths in the configuration file is now the file's containing directory - Maildir Path cannot be nested into Inbox anymore (this was never documented) - Renamed the ReNew/--renew/-N options to Upgrade/--upgrade/-u and Delete/--delete/-d to Gone/--gone/-g - Superseded SSLVersions option with TLSVersions, and disabled TLS v1.0 and v1.1 by default - Renamed SSLType option to TLSType - Placeholders will be now created for messages exceeding MaxSize even if they are flagged on the source side - Placeholder upgrades no longer pull flag updates along unless also requested - New messages which we are about to expunge from the source side are not propaged any more even if the target side would keep them - Tunnel is now consistently assumed to be secure, so some warnings are gone New Features: - Changed default config & state locations to follow the XDG basedir spec; the old locations remain supported - Added support for IMAP mailbox names with non-ASCII characters - Added support for Maildir Paths with suffixes (not ending with a slash) - Made the Channel side to expire with MaxMessages configurable - MaxMessages and MaxSize can be used together now - The unfiltered list of mailboxes in each Store can be printed now - A proper summary is now printed prior to exiting. This includes expunges, which are now included in the progress as well. - Added support for mirroring deletions more accurately; option ExpungeSolo - Added new sync operation 'Old' to retry previously skipped messages - Added --ext-exit option to indicate with the exit code whether Stores were modified - Added --dry-run option Improvements: - Added support for the LITERAL- IMAP extension, which improves upload performance with f.ex. GMail somewhat - Improved error handling when attempting to store too big messages on f.ex. GMail - Malformed messages with incomplete headers will be propagated now - A notice is now emitted if the server does not support race-free Trash - Improved checking for invalid command lines - Options not supported due to the build configuration are still recognized now, to make error messages more helpful - The progress indicator is rate-limited now - Various improvements to the debugging output - Vastly extended the autotest suite Bug Fixes: - Worked around "unexpected EOF" error messages at end of TLS connections; affects f.ex. GMail - Worked around protocol corruption issue with iCloud (mail.me.com) - Fixed missing CAPABILITY command after logging in if the server does not report updated capabilities automatically (affects f.ex. MS Exchange) - Fixed CopyArrivalDate failing on some date strings - Fixed propagation of new messages to non-UIDPLUS servers - Fixed Timeout being ignored by DNS host resolution - Fixed broken Tunnel potentially causing SIGPIPE - Fixed Tunnel leaving behind zombie processes - Fixed expunges not being propagated at all if the first run after they occurred did not include --delete - Fixed MaxMessages being exceeded when only --new was used - Fixed messages being instantly expired despite being important when only --new was used - Trash-ing failures now prevent expunging and cause a non-zero exit code - Fixed placeholders being needlessly trashed - Fixed TrashNewOnly and TrashRemoteNew omitting messages for which only a placeholder was synced - Fixed TrashRemoteNew omitting messages which exceed MaxSize - Fixed TrashRemoteNew not using race-free expunge - Optimized some places with unnecessarily high CPU usage - Fixed unnecessary network usage by non-selective uni-directional syncs when no placeholders are present - Fixed crash when Patterns yields nothing when built with new compilers - Fixed crash when all flag propagations to a mailbox failed - Fixed handling of errors during opening mailboxes - Removed useless "lost track of ... messages" warnings when resuming after an interruption - Fixed many minor bugs in corner cases, mostly when resuming after interruptions 1.4.4 (2021-12-03) ================== Bug Fixes: - Fixed CVE-2021-3657: multiple buffer overflows on excessively large IMAP literals - Fixed CVE-2021-44143: buffer overflow on header-less messages - Fixed crash on certain malformed messages in Maildirs - Fixed somewhat spurious notice about conflicting changes on messages marked as deleted
*: switch all sourceforge HOMEPAGEs to https
isync: Requires C11. via dreckly, original author jperkin@
isync: fix build on illumos
*: bump for openssl 3
isync: Fix runtime error with OpenSSL 3.
*: recursive bump for perl 5.36
isync: update to 1.4.4. Fixes CVE-2021-44143: heap overflow in isync/mbsync.
Update to 1.4.3. From the changelog: - limit maildir nesting depth - enable embedding arbitrarily long strings into IMAP commands - CVE-2021-3578: fix handling of unexpected APPENDUID response code - don't crash on malformed CAPABILITY responses - tolerate INBOX mis-casing in Path - make UIDVALIDITY recovery more strict about vanished messages - improve error messages about irrecoverably changed UIDVALIDITY - CVE-2021-20247: reject funny mailbox names from IMAP LIST/LSUB - be more tolerant of formally malformed response codes - fix bogus continuation of IMAP list parsing - accept unsolicited FETCH responses (without payload) after all - use correct <poll.h> header
*: recursive bump for perl 5.34
isync: Update to 1.4.0 * Import upstream patch to fix runtime errors. Changelog: This is a feature release that comes with significant new functionality: - The IMAP '$Forwarded' / Maildir 'P' (passed) flag is supported now. - Support for configuring a TLS cipher string was added. - IMAP mailbox subscriptions are supported now. - The IMAP user query can be scripted now. - Added built-in support for the macOS Keychain. - Messages excluded by MaxSize will now result in placeholders. Compatibility concerns: - The 'isync' compatibility wrapper was removed. - A C11 compiler is required for building now. - The validity of the config file is checked more stricly now, including: - Appearance of options in unexpected places - The capitalization of INBOX - The new TLSv1.3 flag must be added to SSLVersions if the option is used, unless disabling that version is desired (which is unlikely). - Removed support for the obsolete/insecure SSL v3. - The use of Master/Slave terminology has been deprecated. Bugfixes: - All bugfixes up to 1.3.4 are included. - IMAP protocol errors are handled more robustly now. - Fixed support for SASL's built-in EXTERNAL mechanism. - Improved reliability of synchronization when resuming interrupted runs. - Fixed MaxSize being ignored under certain circumstances when only one of New and ReNew was requested. - Fixed a network inefficiency occurring with server-side mailboxes that receive new messages only via mbsync.
*: bump PKGREVISION for perl-5.32.
isync: Increase PassCmd output buffer size to work with Gmail
*: Convert broken sourceforge HOMEPAGEs back to http
all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
*: Recursive revision bump for openssl 1.1.1.
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
Bump PKGREVISIONs for perl 5.30.0
Fix a typo
Support SNI with upstream patch * Support SNI. for example Google GMail IMAP4 server * Bump PKGREVISION
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.
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.
c99 fixes SunOS
Bump PKGREVISION for security/openssl ABI bump.
Pullup ticket #4760 - requested by bsiegert
mail/isync: bug fix patch
Revisions pulled up:
- mail/isync/Makefile 1.37
- mail/isync/distinfo 1.14
- mail/isync/patches/patch-src_socket.c 1.3
---
Module Name: pkgsrc
Committed By: bsiegert
Date: Sat Jul 4 15:52:51 UTC 2015
Modified Files:
pkgsrc/mail/isync: Makefile distinfo
Added Files:
pkgsrc/mail/isync/patches: patch-src_socket.c
Log Message:
Fix crashing bug in mbsync on NetBSD 6. From Enami Tsugutumo in
PR pkg/49784.
Fix crashing bug in mbsync on NetBSD 6. From Enami Tsugutumo in PR pkg/49784.
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
Update to 1.1.1. From the changelog:
* src/mbsync.1:
* don't lie about the default of User
* fix typos
* src/drv_maildir.c:
* don't forget to reset message counts when skipping scan
* remove apparently pointless resetting of recent message count
* src/compat/convert.c:
* error-check renaming of uid mapping database
* error-check reading of old uidvalidity and maxuid files
* src/sync.c:
* error-check committing of sync state
* better error messages for sync state and journal related errors
* remove pointless/counterproductive "Disk full?" error message suffixes
* don't crash in message expiration debug print
* src/compat/config.c:
* fix "inverse copy&pasto" in account labeling code
* don't needlessly quote strings
* write Sync and Expunge to global section if applicable
* don't bother checking impossible condition
* src/main.c:
* fix segfault on passing --{create,expunge}-{master,slave}
* don't needlessly spell out INBOX
* src/drv_imap.c:
* don't crash on malformed response code
* don't crash on truncated LIST response
* fix crash on store without prior fetch with non-UIDPLUS servers
* don't error out if we don't get an X-TUID header
* src/compat/main.c:
* remove pointless pointer assignment
* src/: drv_maildir.c, mdconvert.c:
* fix hypothetical buffer overflows
* close a bunch of fd leaks in error paths
* src/util.c:
* actually use prime numbers for all hash bucket sizes
* src/config.c:
* fix zero MaxSize override in Channels
* src/compat/: config.c, isync.h, util.c:
* rework maildir store mapping
* src/socket.c:
* remove pointless use of AI_V4MAPPED flag
* configure.ac, src/common.h, src/drv_imap.c, src/util.c:
* make date parsing portable, take 2
* src/: drv_maildir.c, sync.c:
* fix _POSIX_SYNCHRONIZED_IO usage
Many of these changes were in response to findings from a Coverity scan.
Detect absence of AI_V4MAPPED to fix build on NetBSD.
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.
Recursive PKGREVISION bump for OpenSSL API version bump.
PKGREVISION bumps for the security/openssl 1.0.1d update.
Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.
Revbump after updating db5
Revbump after updating databases/db5
Fix building with db5; revision bump for db4 update
Recursive PKGREVISION bump for jpeg update to 8.
Update mail/isync to 1.0.4 Changelog contains mostly bugfixes. Add path-af to handle 64bits time_t
Recursive PKGREVISION/ABI-depends bump for db4 4.6->4.7 update (shlib name change).
Per the process outlined in revbump(1), perform a recursive revbump on packages that are affected by the switch from the openssl 0.9.7 branch to the 0.9.8 branch. ok jlam@
db4 update related revision bump
PKGREVISION bump for db4 shlib name change.
Avoid segfault when parsing configuration file under netbsd
Update mail/isync to 1.0.3
2006-11-01 08:19 Oswald Buddenhagen <ossi@users.sf.net>
* src/: drv_imap.c, mbsync.1:
- un-document "Host imaps:[...]" syntax and introduce new option UseIMAPS
instead
- apply ted's patch to support UseIMAPS in conjunction with Tunnel
- document that SSLv2 is No Good (TM)
2006-11-01 08:14 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
- move assigning default port to the place of use
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.
Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
Fix -C for imap mailboxes : do not quote argument of CREATE (this fix comes from isync cvs) Bump PKGREVISION
DEPENDS and PKGREVISION bumps because db4's library name changed.
explicitly include databases/db4/buildlink3.mk, as isync only accepts db4
This pkg installs some README files etc. Add them to the PLIST. Bump PKGREVISION.
- 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
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Enable pkgviews installation.
This package needs Berkeley DB. Include bdb.buildlink3.mk.
Reset maintainer on his request.
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
Convert to buildlink3.
PKGREVISION bump after openssl-security-fix-update to 0.9.6m. Buildlink files: RECOMMENDED version changed to current version.
s/Syncronize/Synchronize/
Update to version 0.9.2. Changes in version 0.9 Added Tunnel directive to allow the user to specify a shell command to run to set up an IMAP connection in place of a TCP socket (eg., to run over an SSH session). Added PREAUTH support (useful mostly in conjunction with Tunnel). Messages marked deleted are not uploaded when we are going to expunge. Locally generated messages are not re-fetched after uploading even if the UIDPLUS extension is not supported by the server. Added `OneToOne' configuration option: ignore any Mailbox specifications and instead pick up all mailboxes from the local MailDir and remote Folder and map them 1:1 onto each other according to their names. -C now creates both local and remote boxes; -L and -R create only local/remote. --quiet is now really quiet.
PKGREVISION++ after openssl update.
Initial import of isync 0.8 into the NetBSD packages collection as mail/isync. isync is a command line utility for synchronizing a remote IMAP mailbox with a local maildir-style mailbox. This is useful for working in disconnected mode, such as on a laptop. Modifications made locally and remotely are synchronized so that no message status flags are lost. Supplied by Ceri Storey in PR#19314. Thanks!
Initial revision