File imapsync.changes of Package imapsync

-------------------------------------------------------------------
Sun Sep 25 17:56:15 UTC 2022 - chris@computersalat.de

- add dependencies
  * lsb-release
  * openSUSE-release
- remove Source imapsync-imapsync-2.200.tar.gz
- add Source imapsync-2.200.tar.gz from fork with clean tag

-------------------------------------------------------------------
Sat Sep 24 21:33:01 UTC 2022 - chris@computersalat.de

- 2.200
  * https://imapsync.lamiral.info/S/news.shtml
    https://github.com/imapsync/imapsync/blob/master/ChangeLog
- add dependencies
  * perl(Compress::Zlib)
  * perl(Encode::IMAPUTF7)
- remove _service file
- add github Source imapsync-imapsync-2.200.tar.gz

-------------------------------------------------------------------
Sun May 23 06:06:06 UTC 2021 - olaf@aepfle.de

- update to 1.977 (2c11245) via _service file
  no changelog provided by upstream

-------------------------------------------------------------------
Tue May 18 11:48:16 UTC 2021 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>

- Update to 1.945
  - Enhancement: A new /X including:
    - Options like --dry --justlogin --justfolders --justfoldersizes,
    - An extra mode with --delete1 --delete2 --subfolder1 --subfolder2 in
      order to make backup/restore syncs online,
    - A button to reverse source and destination parameters.
  - Usability: Added the error message text after "Exiting with return value xx".
  - Usability: Now "imapsync --host1 imap.lamiral.info" or "imapsync --host2 127.0.0.1"
    or both do like a --justconnect on servers.
  - Usability: Added some error message texts explaining the exit numbers.
  - Usability: Added what function is called when installing a signal.
  - Usability: Now --justfolders activates --foldersizesatend
  - Usability: Moved the warning "no header by parse_headers so taking whole header
    with BODY.PEEK[HEADER]" to --debug mode.
  - Usability: Moved the warning "no header found so adding our own" to --debug mode.
  - Bug fix: USR1 signal for toggle_sleep call was never installed.
  - Bug fix: The number of messages deleted reported at the end was not accurate at all.
  - Bug fix: Change the longest line in --exchange2 and --office from 10500 to 10239.
    (\n inserted for those long lines)
  - Enhancement: Added PROCESS_ID after "Tail -f finished."
  - Enhancement: --maxage and --minage can take float as value in order to filter part
    of a day. (Need --noabletosearch also).
  - Enhancement: Gmail context. Added --resynclabels to resync the Gmail labels X-GM-LABELS.
  - Enhancement: Backup/Restore context. Added --subfolder1 "Foo/Bar" option in order to
    restore a backup made with --subfolder2 "Foo/Bar". The option --folderrec "Foo/Bar" is
    implied by --subfolder1 "Foo/Bar" because it's the most common purpose.
    Also, options --subfolder1 and --subfolder2 turn off --automap if it is set because no
    one would have it set in this context.
  - Enhancement: All exits are now done with a specific return code related to the error
    causing the exit
  - Usability: Gmail context. Activate --resynclabels by default with --gmail1 --gmail2
  - Usability: The maximum size of a message is the minimum of --maxsize and
    APPENDLIMIT=xxx (given the imap servers) or each one if the other no exists.
  - Usability: CGI context. Added default like --maxsize 1_000_000_000.
  - Usability: CGI context. Only use "Message-Id" to identify messages, instead
    of "Message-Id" + "Received". We'll see.
  - Usability: CGI context. --addheader on by default. In order to remove it from the /X call.
  - Enhancement: Added option --appendlimit xxxx in order to override the value got by
    APPENDLIMIT in CAPABILITY. The goal is to permit --truncmess of large messages.
  - Enhancement: Added option --truncmess to allow transfer of too big messages
  - Usability: CGI context. Instead of quit with "another imapsync may be curently running",
    do like a tail -f on the other running sync, if the standard (crendentials) parameters
    are the same.
  - Usability: CGI context. A heavy load is now logged.
  - Usability: CGI context. Tolerate more load. Double the threshold.
    Now accept load at 2 per core instead of 1 per core
  - Usability: CGI context. Remove edging blanks of the 6 options --hostX --userX
    --passwordX (where X = 1 or 2).
    It will solve some login failures on /X just because blanks are not visible but
    sometimes there, copy/paste my friend you're not always my friend... use --nosanitize
    to avoid it.
  - Bug fix: With --gmail1 or --gmail2 do not sync [Gmail]/All Mail if it is not requested.
  - Bug fix: When asked to terminate by a signal, kill myself by the signal instead of
    an exit call. Applied Martin Cracauer's advice on Proper handling of SIGINT/SIGQUIT.
  - Bug fix: Fixed tests to pass imapsync --tests under the docker image.
  - Bug fix: Gmail context. --synclabels --subfolder2 "Foo" create only sublabels under
    "Foo" and not a mixture with root labels.
  - Bug fix: --subfolder2 "Pf2/Sub2" and --subfolder2 "Sub2" perform the same when "Pf2"
    is the prefix of host2
  - Bug fix: imapsync now syncs messages whatever their proclaimed size are.
  - Security: Sanitized --subfolder1 and --subfolder2 values.
  - Portability: Upgraded Mac binary to handle TLSv1.2

    1.921 (2019/02/18)
  - Enhancement: Script sync_parallel_unix.sh to parallelize massive syncs.
  - Enhancement: Added option --synclabels to sync Gmail labels.
  - Enhancement: Option --synclabels is activated with --gmail1 --gmail2 used together.
  - Portability: The imapsync script Shebang (first line of imapsync) uses env now,
    instead of direct perl path.
  - Enhancement: Final stats:
    - Added a counter of crossduplicates on host2
    - Added counter of "Messages found in host1 not in host2"
    - Added counter of "Messages found in host2 not in host1"
    - Added stat "Load end is"
    - Added comment on final stat about messages in host1 not in host2
    - Added comment on final stat about messages in host2 not in host1
    - Added comment on final stat about unidentified messages and an --addheader suggestion
    - Removed counters of "Total bytes duplicate host1" and "Total bytes duplicate host2"
    - Removed counter of "Total bytes error"
  - Enhancement: Added authmech X-MASTERAUTH.
    To be used for Kerio with --authmech1 X-MASTERAUTH or --authmech2 X-MASTERAUTH
  - Enhancement: Added --sigprint HUP (signal HUP by default) in order to allow some
    asynchronous prints in CGI mode and avoid timeouts from browser
  - Enhancement: --skipcrossduplicates activated with --gmail1 alone
  - Enhancement: --skipcrossduplicates is NOT activated with --gmail2 alone or
    with --gmail1 --gmail2 together used.
  - Enhancement: Speed. Deletions on host1 are done by batch during a resync.
  - Enhancement: Added automatic --maxsize from "CAPABILITY APPENDLIMIT=xxxx" (Gmail)
  - Enhancement: Added --folderlast '[Gmail]/All Mail' with --gmail1 --gmail2
  - Enhancement: With --office1 option, folder "Files" is excluded because it's a
    "special" folder. Like --exclude "^Files$". Unless --noexclude is used.
  - Enhancement: With --office2 option, folder "Files" on host1 is renamed like
    --f1f2 "Files=Files_renamed_by_imapsync". Unless --nof1f2 is used.
  - Enhancement: Added --exclude '^Files$' with --office2 option.
  - Enhancement: Added inline explanations for the options --office1 --office2
    --exchange1 --exchange2 (what they set and how to avoid what they set).
  - Enhancement: Added --noregexmess to avoid the regexmess setting with --office2
    and --exchange2 (wrap long lines >= 10500 char).
  - Enhancement: Added --noregexflag to avoid the regexflag set by --exchange2.
  - Enhancement: Added IO::Socket::IP and CGI in the list of the modules versions.
  - Usability: Added PPID info where PID is printed. Unix only.
  - Bug fix: Now split the deletion of messages in several chunks (using --split1)
  - Bug fix: --debugssl 0 was impossible and equivalent to --debugssl 1
  - Bug fix: Removed --nosubscribed usage since it is not coded and useless anyway.
  - Bug fix: Option --maxsleep override variable $MAX_SLEEP in gmail*() subroutines.
  - Bug fix: Do not create host2 folder when no messages are found on this folder on host1
  - Bug fix: The regex to remove the flag \Flagged was wrong.
  - Bug fix: The options --exchange1 and --exchange2 were not options! No one complained...
  - Bug fix: A pid can be up to 99999 on FreeBSD

    1.882 (2018/05/06) On the road to a proxy mode! (not done yet)
  - Enhancement: Added option --nocheckfoldersexist
  - Enhancement: Added option --noresyncflags
    Do not resync flags for already transfered messages.
  - Enhancement: Option --abort now creates a log too, in order to see if imapsync ended
    by signal comes from option --abort or something else.
  - Enhancement: Added option --sigexit; For example --sigexit QUIT --sigexit TERM to exit
    when receiving QUIT or TERM signals.
  - Added option --sigreconnect. For example --sigreconnect INT to reconnect to both imap
    servers when receiving INT signal.
  - Added option --sigignore. For example --sigignore TERM to "ignore" the TERM signal.
  - Default is like: --sigexit QUIT --sigexit TERM --sigreconnect INT
  - Enhancement: Moved the hostname printing at first line.
  - Added free RAM info in the banner.
  - Enhancement: When using sleeping behavior, a signal USR1 toggles sleep from 2s to 0s
   (back to 2s with on next USR1 signal). Unix only.
  - Usability: Detect extra arguments. Meaning usually a quoting issue in the command line
    or that options are not well parsed.
  - Usability: Added inline documentation about --releasecheck and --noreleasecheck
  - Usability: Added inline advice to resync after an end commanded by a TERM or QUIT signal.
  - Bug fix: Fixed sub epoch() to allow that kind of silly INTERNALDATE
    00-Jan-0000 00:00:00 +0000
  - Bug fix: --releasecheck activated was hardcoded in cgi context.
  - Bug fix: Added \t\r\n characters to be replaced by character _ in sub
    filter_forbidden_characters()
  - Bug fix: fixes to pass --tests under root user.

    1.836 (2017/09/05) More secure by default, ssl or tls activation!
  - Enhancement: An Imapsync Docker image available!
  - Usability: Now goes to SSL by default if port 993 is open. Use --nosslcheck to avoid that.
  - Usability: Now goes to TLS by default if possible, ie, only if STARTTLS is in CAPABILITY.
  - Usability: Now if you want a basic imap connection on port 143 with no default encryption
    behavior, ie, no ssl nor tls, then use --nossl1 --notls1 for host1
    and --nossl2 --notls2 for host2.
  - Enhancement: Added --gmail1 and --gmail2 to simplify Gmail options setting.
  - Enhancement: Added --office1 and --office2 to simplify Office 365 options setting.
  - Enhancement: Added --exchange1 and --exchange2 to simplify Exchange options setting.
  - Enhancement: Added --domino1 and --domino2 to simplify Domino options setting.
  - Enhancement: Added --maxsleep in order to avoid timeouts with --maxbytespersecond and
     --maxmessagespersecond options.
  - Enhancement: Added --maxbytesafter in order to start --maxbytespersecond limitation only
    after --maxbytesafter amount of data transferred.
  - Enhancement: Added --testsunit in order to run any unit test individualy from the
    command line.
  - Enhancement: Added password setting via environment variables IMAPSYNC_PASSWORD1 and
    IMAPSYNC_PASSWORD2
  - Usability: No more useless and false warning
    "says it has NO CAPABILITY for AUTHENTICATE LOGIN"
  - Usability: Options --delete1 and --delete are now aliases.
  - Usability: Now prints always permanentflags info.
  - Usability: Now prints "could not append ( Subject:[$subject], Date:[$h1_date], Size:[$h1_size] )"
    when append fails.
  - Usability: Option --showpasswords now shows also passwords with --debugimap.
  - Usability: --ipv4 is now synonym of --inet4 and --ipv6 is now synonim of --inet6
  - Usability: Added --testslive6 to check pure ipv6 connectivity.
  - Enhancement: Added --noabletosearch1 and --noabletosearch2
  - Enhancement: Added --abort option to terminate a previous call still running
  - Enhancement: Added milliseconds in the default logfile name since several runs is
    possible within one second in cgi context or on a powerful machine.
  - Bugfix: Fixed issue "SSL routines:ssl3_check_cert_and_algorithm:dh key too small" with
    openssl-dh-key-too-small-error SSL_cipher_list => 'DEFAULT:!DH'
  - Bug fix: Guessed prefix is the empty string even when there is no folders.
  - Bug fix: Option --skipmess could not work most of the time.

-------------------------------------------------------------------
Sun Jun 11 14:38:57 UTC 2017 - lars@linux-schulserver.de

- update to 1.727
  + Enhancement: Added option --delete1emptyfolders. It deletes empty
    folders on host1, INBOX excepted. Useful with --delete since what 
    remains on host1 is only what failed to be synced.
  + Enhancement: Imapsync can be used as a CGI program. 
    Still experimental. The web UI interface has to be written.
  + Enhancement: XOAUTH2 authentication works with json files without 
    extra tool openssl. Old pk12 files are still supported (still with openssl).
  + Enhancement: Memory usage passed from 5x to 2x of the biggest message
    size. Some users do send 700MB messages, imapsync needed 3.5 GB of RAM,
    now it crunches only 1.4 GB, a more common RAM value available on small hosts.
  + Enhancement: Added option --inet4 to force ipv4 in ssl and tls modes.
    Useful with Gmail and Office365 when ipv6 is disable on the imapsync
    host but not ipv6 resolution.
  + Enhancement: Reconnect to imap servers with a Ctrl-c. Exit with
    two Ctrl-c within one second or one Ctrl-\
  + Enhancement: Copy is not done when one --pipemess command ends 
    with an empty message generated.
  + Enhancement: STDERR of --pipemess commands are reported on STDOUT
    and in the logfile (they were ignored before).
  + Enhancement:
  + Dependency: Added Perl module dependency of Readonly to transform 
    hard coded magic numbers into names. Mandatory module.
  + Dependency: Added Perl module dependency of Test::MockObject for some 
    tests. Only a "require" for now.
  + Security: In CGI mode, remove all content in the unsafe "eval"uated 
    options (--regextrans2 --regexflag --regexmess --skipmess --pipemess 
    --delete2foldersonly --delete2foldersbutnot). Consider these options
    not available in CGI mode.
  + Bug fix: Fixed -1 wrong output in statistics for big accounts 
    (%d => %s) in printf.
  + Bug fix: Uncommented call to $test_builder->reset( ) Don't know why
    it was commented but it was bad for knowing tests go wrong.
  + Bug fix: Check connected state in sub create_folder(). 
    Avoid multiple useless failures.
  + Refactoring: Wrote Perl package Imapsync::Getopt::Long to handle CGI requests
    like command line options. Started as a copy of Luke Ross Getopt::Long::CGI
  + Refactoring: Perlcritic cleanup 627 violations of CodeLayout::ProhibitTrailingWhitespace.
  + Refactoring: Perlcritic cleanup 60 Double-sigil dereferences.
  + Refactoring: Perlcritic cleanup 458 ValuesAndExpressions::ProhibitInterpolationOfLiterals.
    "Useless interpolation of literal string"
  + Refactoring: Perlcritic cleanup 420 CodeLayout::ProhibitParensWithBuiltins. 
    "Builtin function called with parentheses". (Severity: 1).
  + Refactoring: Perlcritic cleanup, various small advices.
  + Refactoring: Replaced print by myprint, printf by myprintf, sprinf by 
    mysprintf. Will ease --quiet mode and general output handling.

  1.684 Small changes, bugfixes
  + Bug fix: Imapsync.exe updated to Mail-IMAPClient-3.38 (3.37 had a bug with 
    credentials containing special characters)
  + Usability: Added inline help about "use --noexpungeaftereach to speed up"
    if --delete is used.
  + Usability: Added --sslargs1 in documentation, usage option list.
  + Bug fix: No more warning about "Use of uninitialized value $sockargs[7] in
    join or string at" in ssl or tls mode. Was due to "'SSL_version' => undef".
  + Bug fix: No more "Can't use an undefined value as a HASH reference at
    /usr/bin/imapsync line 1247."
  + Bug fix: Added --expungeaftereach check in sub delete_message_on_host1().

  1.678 Improved website! (I hope...)
  + Enhancement: Added --sslargs1 and --sslargs2 to pass any ssl parameter for 
    host1 or host2 connection. Example: --sslargs1 SSL_verify_mode=1 
    --sslargs1 SSL_version=SSLv3
  + Enhancement: Added --timeout1 int and --timeout2 int in seconds (--timeout int
    still available to set both with the same value)
  + Enhancement: Added --debugssl int. Default is like --debugssl 1
    (Only print out errors).
  + Enhancement: Added several polls to know where I shall focus improvements.
  + Usability: Added env_proxy call in sub xoauth2() to read proxy settings from
    environment variable http_proxy without using PERL_LWP_ENV_PROXY=1
  + Usability: Wrote TUTORIAL_Unix.
  + Usability: Check f1 folder exists when specified by --f1f2 and warns
    when it doesn't
  + Usability: Added --automap --justfolders --dry in imapsync_example.sh
    and imapsync_example.bat
  + Bug fix: Added require Encode::Byte to solve "The locale codeset (cp1252)
    isn't one that perl can decode" on Win32.
  + Refactoring: Removed --allow3xx option.
  + Refactoring: Continue to move to one global $sync-> in order to reduce number
    of parameters in routines.

  1.670 Folders mapping made easy with --automap
  + Enhancement: Added option --automap that guesses folders mapping, for folders
    like "Sent", "Junk", "Drafts", "All", "Archive", "Flagged".
     IMAP Special-Use folders described in rfc6154 are supported and also well 
     known names for Exchange and common clients.
     Automap is turned off by default, to try it a safe method is to use
     --automap --justautomap, it will exit early
  + Enhancement: Added --f1f2 str1=str2 : Force folder str1 to be synced to str2.
     Option --f1f2 overrides any --automap mapping and any --regextrans2 transformation.
     Example --f1f2 Spam=Junk to map Spam folder to Junk.
  + Enhancement: Added --justautomap to exit after seeing what will happen with 
    --automap and --f1f2 options.
  + Enhancement: Added IMAP4 QUOTA values (RFC 2087) when they are available. A warning
    goes up when it's time to find space.
  + Enhancement: Added IMAP4 ID extension.
     ID feature is on by default if supported by the IMAP servers, use --noid to turn it off.
     ID Infos returned by the imap servers are shown.
     Infos sent to the servers are name=imapsync, version=`imapsync --version`, os=$OSNAME`, 
     vendor='Gilles LAMIRAL' and date=`rcs date of release`.
     For github or other distributors you can hack this part by searching $imapsync_id_github
  + Enhancement: Added --logdir path to change the default log directory. Default is LOG_imapsync/
  + Usability: Added folders counting in outputs.
  + Usability: Better output in the login part
  + Usability: Guess prefixes and separators instead of forcing the user to find them.
  + Usability: Output, added Host1: or Host2: at the beginning of lines.
  + Bug fix: SSL_VERIFY_NONE in --ssl and --tls modes
  + Bug fix: Fixed xoauth2 calls. Now XOAUTH2 Works on Windows --authmech1 XOAUTH2 
    with openssl installed. See FAQ.d/FAQ.XOAUTH2.txt.
  + Bug fix: Fixed IO::Socket::SSL constants issue with latest releases
  + Bug fix: Changed "Host1: checking all wanted folders exist" not efficient algorithm in order
    to allow efficiently a 2.4 million folders account. Yes, some accounts have this.
  + Refactoring: Started to use global $sync-> in order to reduce number of parameters in routines.
  + Refactoring: Some perlcritic fixes.
- added perl(Test::MockObject), perl(JSON::WebToken), perl(Readonly)
  to BuildRequires
- added perl(JSON::WebToken), perl(Readonly) to Requires
- remove .htaccess from FAQd 
- add doc directory to documentation
- remove executable bits from examples, as they need to be 
  adapted before use anyway

-------------------------------------------------------------------
Wed Nov 18 20:52:11 UTC 2015 - chris@computersalat.de

- update to 1.644
  * Added NOOP in --dry mode during fake APPEND.
  * Added --fetch_hash_set "1:*" to permit Mail2World success.
  * Need a patched Mail::IMAPClient 3.35 in sub fetch_hash()
  * See https://rt.cpan.org/Public/Bug/Display.html?id=105456
  * Added JSON::WebToken in modules list.
  * Replaced imap servers software list by a link to the web list.
  * Added option --subfolder2 SUB Move whole host1 folders hierarchy under folder SUB.
  * No folders sizes if --justfolders, unless really wanted.
  * *** empty log message ***
  * No warning about messages when --dry --justfolders together.
- fic deps
  * add perl(Test::Pod), perl(IO::Socket::INET6)
- fix License: SUSE-WTFPL-2.0 -> WTFPL
- add missing files to doc
  * LICENSE, TUTORIAL.html
- add examples, FAQ.d to doc

-------------------------------------------------------------------
Fri Jul 31 19:30:48 UTC 2015 - lars@linux-schulserver.de

- update to 1.637
  + Bugfix. Win32 regression with long_path_2_prefix test. Was too long.
  + Added errors dump. By default. Use --noerrorsdump to avoid it.
  + Added --errorsmax switch. Default is like --errorsmax 50. 
    Exit after 50 errors encountered.
  + Changed basic example to a working one with test1.lamiral.info
  + Bugfix. Remove tmp files upon failure as well.
  + IO::Socket::SSL not mandatory. (Sometimes hard to install).
  + Bugfix. SKIP sections for Unix or Windows tests. Removed no_plan. 
    561 non-regression tests.
  + Added tests_live_result() call at the end of --livetests
  + README part review.
- add recommends:
  + perl(IO::Socket::IP)
  + perl(IO::Socket::SSL)
  + perl(Net::SSLeay)
  + perl(Authen::NTLM)
  + perl(URI::Escape)
  + perl(Data::Uniqid)
  + perl(IO::Socket::SSL)

-------------------------------------------------------------------
Thu Jan  1 22:30:11 UTC 2015 - alexandre@exatati.com.br

- Update to 1.607:
  - Please refer to CHANGELOG.

-------------------------------------------------------------------
Fri Nov  8 19:18:00 UTC 2013 - chris@computersalat.de

- update to 1.569
  * Fixed bug on Windows with --tmpdir "E:\TEMP". The colon was badly
    converted to _, ending with "E_\TEMP".
    The fix also automatically moves the old cache to the new one if
    the new does not exist yet.
  * Fix. Example for --delete2foldersonly "/Junk$/" in help message.
- for more info see ChangeLog file
  * http://imapsync.lamiral.info/ChangeLog

-------------------------------------------------------------------
Tue Feb 19 21:07:12 UTC 2013 - chris@computersalat.de

- update to 1.525
  * Typo synchronise -> synchronize
- for more info see:
  * https://github.com/imapsync/imapsync/blob/imapsync-1.525/ChangeLog

-------------------------------------------------------------------
Thu Jan 17 17:43:19 UTC 2013 - chris@computersalat.de

- update to 1.518
  * Bugfix. When identtifying with header, change tabulations to spaces
    (Gmail bug on with "Received:" on multilines)

-------------------------------------------------------------------
Tue May 27 20:38:54 CET 2008 - mmahut@fedoraproject.org

- update to version 1.252
  * Dependency fix (BZ#447800)

-------------------------------------------------------------------
Thu Apr 10 06:46:01 CET 2008 - mmahut@fedoraproject.org

- Initial version 1.249
openSUSE Build Service is sponsored by