- took over maintenance

- moved to sourceforge
- reorganized cvs structure
This commit is contained in:
Oswald Buddenhagen 2002-12-28 03:05:43 +00:00
parent d228fae394
commit b10718cf20
24 changed files with 293 additions and 198 deletions

View File

@ -1,4 +1,3 @@
.deps
Makefile Makefile
Makefile.in Makefile.in
autom4te.cache autom4te.cache
@ -9,4 +8,3 @@ config.log
config.status config.status
configure configure
configure-stamp configure-stamp
isync

View File

@ -1,5 +1,5 @@
Michael Elkins <me@mutt.org> Michael Elkins <me@mutt.org>
* Author, Lead Developer * Author, Lead Developer
Contributors: Oswald Buddenhagen <ossi@users.sf.net>
Oswald Buddenhagen <ossi@kde.org> * Contributor, Current Maintainer

399
ChangeLog
View File

@ -1,16 +1,144 @@
2002-01-28 me <me@sigpipe.org> 2002-10-30 Michael Elkins <me@sigpipe.org>
* TODO, configure.in: * isync.1, src/config.c, src/cram.c, src/dotlock.c, src/dotlock.h, src/imap.c, src/isync.h, src/list.c, src/maildir.c, src/main.c, src/sync.c:
check for dbm_open() in libc and libdb Updated the copyright notice to allow an exception for linking with OpenSSL,
which has a non-GPL compatible license.
2002-01-17 me <me@sigpipe.org> * .cvsignore, isync.1, src/config.c, src/imap.c, src/isync.h, src/maildir.c, src/main.c, src/sync.c:
Bunch 'o patches from Oswald Buddenhagen:
* sync.c: i implemented some cool stuff (tm).
first, the long missing "create server-side missing mailboxes". -C now
creates both local and remote boxes; -L and -R create only local/remote.
second, i implemented a 1:1 remote:local folder mapping (-1) with an
optional INBOX exception (inbox/-I). the remote folder is specified with
the folder keyword (or -F switch) and takes precedence over the
namespace setting. the local directory with the mailboxes can now be
specified on the command line, too (-M).
another patch:
- made the -1 switch settable permanently (OneToOne). after all, you
usually define your mailbox layout once forever. removed -A, as it is
semantically -a modified by -1.
- cleaned up message output a bit. still, the quiet variable should be
used throughout the program. at best, create some generic output
function, which obeys a global verbosity level variable.
- optimized + cleaned up configuration parser slightly
- minor cleanups
add an (almost) unique id to every uploaded message and search for it
right after. i thought about using the message-id, but a) it is not
guaranteed to be unique in a mailbox (imagine you edit a mail and store
the dupe in the same box) and b) some mails (e.g., postponed) don't even
have one. a downside of the current implementation is, that this
id-header remains in the mailbox, but given that it wastes only 27 bytes
per mail and removing it would mean several roundtrips more, this seems
acceptable.
i changed the line-counting loop to use a mmapped file instead of
reading it in chunks, as it makes things simpler and is probably even
faster for big mails.
the amount of goto statements in my code may be scary, but c is simply
lacking a multi-level break statement. :)
this is the "shut up" patch. :) it makes the -q option consequent, so to
say.
additionally it adds an -l option which gathers all defined/found
mailboxes and just outputs the list. don't ask what i need it for. ;)
* src/maildir.c: fixed missing closedir() call (Joey Hess)
2002-06-27 Michael Elkins <me@sigpipe.org>
* src/imap.c:
explicitly set global.pass to NULL when getpass() returns an empty string.
* src/imap.c: Oswald Buddenhagen <ossi@kde.org>
* fix imap_open() brokeness with PREAUTH (missed hunk from previous patch)
2002-06-22 Michael Elkins <me@sigpipe.org>
* src/dotlock.c, src/imap.c:
fixed errors introduced by ME when hand-applying Oswald Nuddenhagen's
patch.
* autogen.sh, src/dotlock.c, src/imap.c, src/isync.h, src/main.c:
Patch from Oswald Buddenhagen <ossi@kde.org>
- move prompt for password to imap_open()
- don't ask for global password in PREAUTH state
- use socketpair() to create one full-duplex fd in tunnel mode
instead of two half-duplex pipes
- don't set lck.l_pid in fcntl() call (its read-only)
- use F_SETLK instead of F_SETLKW to avoid infinite waiting
- use "$@" in autogen.sh to get proper word expansion
2002-06-21 Michael Elkins <me@sigpipe.org>
* configure.in, src/isync.h:
Fixed to compile under FreeBSD 4.6-RELEASE. Must include ndbm.h rather than
db.h.
2002-06-20 Michael Elkins <me@sigpipe.org>
* Makefile.am, src/dotlock.c, src/dotlock.h, src/maildir.c:
remove debian/files
move dotlocking code to dotlock.c.
dotlocking code fixed to ignore whether or not the lockfile exists on
open(). we only care about whether fcntl() was able to lock it.
2002-06-19 Michael Elkins <me@sigpipe.org>
* src/sync.c:
Don't bother uploaded messages marked deleted when we are going to expunge.
* src/maildir.c, AUTHORS, src/imap.c:
fixed unused var warning in imap_open()
locking cleanups from Oswald Buddenhagen <ossi@kde.org>
* don't need to stat the lockfile since it will always be size 0
* only remove lockfile when we actually succeeded in locking
* Makefile.am, debian/Makefile.am, debian/changelog:
Debian package cleanups from Oswald Buddenhagen <ossi@kde.org>
2002-06-18 Michael Elkins <me@sigpipe.org>
* README, isync.1, src/isync.h, src/maildir.c, src/main.c, src/sync.c:
updated URL for project
fixed segmentation fault caused by double free() when an error occurred
during the IMAP transmission.
fixed bug where isync could not handle a 0 value UIDVALIDITY
2002-04-19 Michael Elkins <me@sigpipe.org>
* debian/changelog, debian/rules:
changed debian/rules to set DESTDIR instead of `prefix' when doing a make
install.
* configure.in, isync.1, isyncrc.sample, src/config.c, src/imap.c, src/isync.h, src/main.c:
PREAUTH support from Oswald Buddenhagen <ossi@kde.org>
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).
2002-01-28 Michael Elkins <me@sigpipe.org>
* debian/changelog, ChangeLog, isync.spec.in: post 0.8 release commit
* TODO, configure.in: check for dbm_open() in libc and libdb
2002-01-17 Michael Elkins <me@sigpipe.org>
* src/sync.c:
don't bother renaming the message file if we are about to unlink() it don't bother renaming the message file if we are about to unlink() it
2002-01-16 me <me@sigpipe.org> 2002-01-16 Michael Elkins <me@sigpipe.org>
* AUTHORS, Makefile.am, NEWS, sync.c: * AUTHORS, Makefile.am, NEWS, src/sync.c:
remove tilde backup files for distclean remove tilde backup files for distclean
fixed indentation fixed indentation
@ -19,7 +147,7 @@
reformated NEWS blurb for 0.8 reformated NEWS blurb for 0.8
* sync.c, maildir.c: * src/sync.c, src/maildir.c:
sync_mailbox() did not update the msg struct when flags were changed, sync_mailbox() did not update the msg struct when flags were changed,
causing the expunge command to fail causing the expunge command to fail
@ -29,7 +157,7 @@
added debian build files dist target so that people can use them to build added debian build files dist target so that people can use them to build
their own .deb packages without having to use CVS their own .deb packages without having to use CVS
* debian/changelog, debian/control, debian/copyright, debian/dirs, debian/docs, debian/files, debian/rules, isync.1, maildir.c, sync.c: * debian/changelog, debian/control, debian/copyright, debian/docs, debian/rules, isync.1, src/maildir.c, src/sync.c:
added debian build files added debian build files
fixed indentation fixed indentation
@ -37,12 +165,12 @@
added bug note to manpage about db file format not being architecture added bug note to manpage about db file format not being architecture
independent independent
* sync.c, maildir.c: * src/sync.c, src/maildir.c:
remove the uid from the db when a message is deleted from the maildir remove the uid from the db when a message is deleted from the maildir
optimize db fetch/store to not copy the base filename optimize db fetch/store to not copy the base filename
* NEWS, TODO, config.c, configure.in, cram.c, debug.c, debug.h, imap.c, isync.1, isync.h, list.c, maildir.c, main.c, sync.c, ChangeLog: * NEWS, TODO, configure.in, isync.1, src/config.c, src/cram.c, src/imap.c, src/isync.h, src/list.c, src/maildir.c, src/main.c, src/sync.c, ChangeLog:
updated year in copyright notice updated year in copyright notice
the uid for each message in the maildir is now stored in a dbm database the uid for each message in the maildir is now stored in a dbm database
@ -57,36 +185,35 @@
to always call maildir_close() so that the lock can be disabled, and the to always call maildir_close() so that the lock can be disabled, and the
database closed. database closed.
2001-11-20 me <me@sigpipe.org> 2001-11-20 Michael Elkins <me@sigpipe.org>
* ChangeLog, Makefile.am, isync.spec: * ChangeLog, Makefile.am, isync.spec.in: post 0.7-release commit
post 0.7-release commit
* Makefile.am, NEWS, isync.1, isync.h, maildir.c, main.c: * Makefile.am, NEWS, isync.1, src/isync.h, src/maildir.c, src/main.c:
added --create/-C command line option to force creation of the local added --create/-C command line option to force creation of the local
maildir-style mailbox if nonexistent maildir-style mailbox if nonexistent
debug.h was not included in isync_SOURCES in Makefile.am debug.h was not included in isync_SOURCES in Makefile.am
2001-11-19 me <me@sigpipe.org> 2001-11-19 Michael Elkins <me@sigpipe.org>
* config.c, configure.in, debug.c, debug.h, isync.h, list.c, main.c, Makefile.am, TODO: * configure.in, src/config.c, src/isync.h, src/list.c, src/main.c, Makefile.am, TODO:
added memory debugging code added memory debugging code
fixed memory leak in free_list() fixed memory leak in free_list()
free memory associated with global settings on exit free memory associated with global settings on exit
2001-11-16 me <me@sigpipe.org> 2001-11-16 Michael Elkins <me@sigpipe.org>
* isync.h, sync.c, ChangeLog, cram.c, imap.c: * src/isync.h, src/sync.c, ChangeLog, src/cram.c, src/imap.c:
remove c++ style comments remove c++ style comments
use %lu and cast off_t to unsigned long in printf() use %lu and cast off_t to unsigned long in printf()
2001-11-15 me <me@sigpipe.org> 2001-11-15 Michael Elkins <me@sigpipe.org>
* NEWS, config.c, isync.1, isync.h, main.c, sync.c: * NEWS, isync.1, src/config.c, src/isync.h, src/main.c, src/sync.c:
Added MaxMessages patch from Eivind Eklund <eivind@FreeBSD.org>. Added MaxMessages patch from Eivind Eklund <eivind@FreeBSD.org>.
config_defaults() can just use memcpy() instead of assigning each struct config_defaults() can just use memcpy() instead of assigning each struct
@ -94,9 +221,9 @@
config_defaults() can be declared static config_defaults() can be declared static
2001-11-14 me <me@sigpipe.org> 2001-11-14 Michael Elkins <me@sigpipe.org>
* config.c, configure.in, strndup.c: * configure.in, src/config.c:
move strndup() code into config.c for less complexity move strndup() code into config.c for less complexity
change AC_REPLACE_FUNC(strndup) to AC_CHECK_FUNCS(strndup) change AC_REPLACE_FUNC(strndup) to AC_CHECK_FUNCS(strndup)
@ -104,9 +231,9 @@
sed expression checking for gcc-3.0 should be quoted beccause it sed expression checking for gcc-3.0 should be quoted beccause it
fails under Solaris 2.7 fails under Solaris 2.7
2001-11-13 me <me@sigpipe.org> 2001-11-13 Michael Elkins <me@sigpipe.org>
* config.c, strndup.c, sync.c: * src/config.c, src/sync.c:
strndup() could return a non-NULL terminated string strndup() could return a non-NULL terminated string
size_t should be printed with %lu size_t should be printed with %lu
@ -114,27 +241,27 @@
when expending tildes (~), an extra slash was inserted after the user's home when expending tildes (~), an extra slash was inserted after the user's home
directory directory
2001-11-12 me <me@sigpipe.org> 2001-11-12 Michael Elkins <me@sigpipe.org>
* isync.h, maildir.c, main.c: * src/isync.h, src/maildir.c, src/main.c:
merge maildir_sync() and maildir_close(). the maxuid in a maildir still merge maildir_sync() and maildir_close(). the maxuid in a maildir still
needs to be updated in --fast mode, and the sync code already checks to see needs to be updated in --fast mode, and the sync code already checks to see
if any changes were made to the mailbox. if any changes were made to the mailbox.
2001-11-09 me <me@sigpipe.org> 2001-11-09 Michael Elkins <me@sigpipe.org>
* README: add FreeBSD to the list of tested platforms * README: add FreeBSD to the list of tested platforms
* config.c, configure.in, imap.c, maildir.c: * configure.in, src/config.c, src/imap.c, src/maildir.c:
update version to 0.7 update version to 0.7
detect short write in write_strip() detect short write in write_strip()
fix compilation warnings with gcc-2.95.4 fix compilation warnings with gcc-2.95.4
2001-10-31 me <me@sigpipe.org> 2001-10-31 Michael Elkins <me@sigpipe.org>
* configure.in, imap.c, isync.h, main.c, sync.c: * configure.in, src/imap.c, src/isync.h, src/main.c, src/sync.c:
set compiler warnings for gcc-3.0 as well set compiler warnings for gcc-3.0 as well
display message with count of uploaded messages display message with count of uploaded messages
@ -143,35 +270,33 @@
fixed compiler warnings with -Wshadow fixed compiler warnings with -Wshadow
* ChangeLog, NEWS, isync.1: * ChangeLog, NEWS, isync.1: post 0.6 commit
post 0.6 commit
2001-10-30 me <me@sigpipe.org> 2001-10-30 Michael Elkins <me@sigpipe.org>
* README, configure.in, strndup.c: * README, configure.in:
add strndup replacement function for systems which lack it add strndup replacement function for systems which lack it
2001-10-03 me <me@sigpipe.org> 2001-10-03 Michael Elkins <me@sigpipe.org>
* ChangeLog, Makefile.am, maildir.c: * ChangeLog, Makefile.am, src/maildir.c:
fixed broken code in maildir_clean_tmp() fixed broken code in maildir_clean_tmp()
* TODO, maildir.c: * TODO, src/maildir.c:
added code to clean the tmp directory in a maildir to comply with added code to clean the tmp directory in a maildir to comply with
maildir(5) maildir(5)
* config.c: * src/config.c: forgot to add code to parse the `Delete' option
forgot to add code to parse the `Delete' option
* main.c: * src/main.c:
forgot conditional #if HAVE_LIBSSL around setting of .use_imaps in main() forgot conditional #if HAVE_LIBSSL around setting of .use_imaps in main()
from command line arguments from command line arguments
* main.c: update Copyright printed by --help * src/main.c: update Copyright printed by --help
add compile time option list to --help output add compile time option list to --help output
* NEWS, TODO, config.c, isync.1, isync.h, main.c, sample.isyncrc, sync.c: * NEWS, TODO, isync.1, isyncrc.sample, src/config.c, src/isync.h, src/main.c, src/sync.c:
added `Delete' configuration option to force -d option added `Delete' configuration option to force -d option
sync_mailbox() didn't consider MaxSize == 0 to mean "unlimited". sync_mailbox() didn't consider MaxSize == 0 to mean "unlimited".
@ -182,45 +307,45 @@
* TODO: update TODO list with action items * TODO: update TODO list with action items
* imap.c, sync.c: * src/imap.c, src/sync.c:
fixed maildir message filenames to comply with the maildir(5) specification. fixed maildir message filenames to comply with the maildir(5) specification.
fixed write_strip() and imap_fetch_message() to check the return code of fixed write_strip() and imap_fetch_message() to check the return code of
write() and fsync() to comply with maildir(5) spec. write() and fsync() to comply with maildir(5) spec.
2001-10-02 me <me@sigpipe.org> 2001-10-02 Michael Elkins <me@sigpipe.org>
* main.c: * src/main.c:
the `Expunge' config directive didn't work since only the -e command line the `Expunge' config directive didn't work since only the -e command line
argument was consulted. argument was consulted.
* config.c, imap.c, isync.h: * src/config.c, src/imap.c, src/isync.h:
we should issue a CAPABILITY even if we aren't going to use ssl/tls so that we should issue a CAPABILITY even if we aren't going to use ssl/tls so that
cram-md5 auth still works. cram-md5 auth still works.
2001-07-18 me <me@sigpipe.org> 2001-07-18 Michael Elkins <me@sigpipe.org>
* config.c: * src/config.c:
find_box() should attempt to expand all filenames if none of the other find_box() should attempt to expand all filenames if none of the other
methods found a match. methods found a match.
* isync.h, maildir.c, config.c: * src/isync.h, src/maildir.c, src/config.c:
fixed to not expand filenames until they are used inside of maildir_open(), fixed to not expand filenames until they are used inside of maildir_open(),
so that aliases are not required for simple filenames. so that aliases are not required for simple filenames.
[re: http://bugs.debian.org/102255] [re: http://bugs.debian.org/102255]
2001-06-22 me <me@sigpipe.org> 2001-06-22 Michael Elkins <me@sigpipe.org>
* main.c: --host option didn't check for imaps: prefix * src/main.c: --host option didn't check for imaps: prefix
2001-06-21 me <me@sigpipe.org> 2001-06-21 Michael Elkins <me@sigpipe.org>
* main.c: * src/main.c:
fixed core when specifying multiple mailboxes on the command line fixed core when specifying multiple mailboxes on the command line
2001-06-18 me <me@sigpipe.org> 2001-06-18 Michael Elkins <me@sigpipe.org>
* isync.1, TODO, configure.in, imap.c: * isync.1, TODO, configure.in, src/imap.c:
handle untagged responses in imap_fetch_message() so that it doesn't bomb handle untagged responses in imap_fetch_message() so that it doesn't bomb
out if new mail arrives while in the process of downloading out if new mail arrives while in the process of downloading
@ -228,50 +353,37 @@
message list has been retrieved from the IMAP server, that new mail will not message list has been retrieved from the IMAP server, that new mail will not
be fetched until the next invocation of isync. be fetched until the next invocation of isync.
* config.c, imap.c, isync.h, main.c: * src/config.c, src/imap.c, src/isync.h, src/main.c:
isync should continue to process additional mailboxes even if there is an isync should continue to process additional mailboxes even if there is an
error with a previous mailbox. error with a previous mailbox.
added -a (--all) flag to synchronize all mailboxes defined in ~/.isyncrc added -a (--all) flag to synchronize all mailboxes defined in ~/.isyncrc
2001-06-13 me <me@sigpipe.org> 2001-06-13 Michael Elkins <me@sigpipe.org>
* NEWS: post 0.5-release commit * NEWS: post 0.5-release commit
* ChangeLog, smtppush: * ChangeLog: updated ChangeLog. removed smtppush binary.
updated ChangeLog. removed smtppush binary.
2001-06-12 me <me@sigpipe.org> 2001-06-12 Michael Elkins <me@sigpipe.org>
* Makefile, config.cache, config.log, config.status: * COPYING, Makefile.am, configure.in, src/main.c, AUTHORS, README:
auto generated files should not be part of the CVS tree
* Makefile, config.cache, config.status, smtppush:
New file.
* Makefile, config.cache, config.status, smtppush:
initial import initial import
* config.log: New file. 2001-02-28 Michael Elkins <me@sigpipe.org>
* COPYING, INSTALL, Makefile.am, config.log, configure, configure.in, install-sh, main.c, missing, mkinstalldirs, AUTHORS, Makefile.in, README: * src/config.c, src/imap.c: fixed compiler warnings under Solaris 2.7
initial import
2001-02-28 me <me@sigpipe.org> 2001-02-19 Michael Elkins <me@sigpipe.org>
* config.c, imap.c: * ChangeLog, src/cram.c, src/imap.c, src/maildir.c:
fixed compiler warnings under Solaris 2.7
2001-02-19 me <me@sigpipe.org>
* ChangeLog, cram.c, imap.c, maildir.c:
rfc2595 compliance patch from Daniel Resare <noa@metamatrix.se> rfc2595 compliance patch from Daniel Resare <noa@metamatrix.se>
- CAPABILITY should be reissued after starting TLS since the - CAPABILITY should be reissued after starting TLS since the
previous call was not protected previous call was not protected
2001-02-14 me <me@sigpipe.org> 2001-02-14 Michael Elkins <me@sigpipe.org>
* config.c, imap.c, isync.1, main.c, sync.c: * isync.1, src/config.c, src/imap.c, src/main.c, src/sync.c:
patch from Daniel Resare <noa@metamatrix.se>: patch from Daniel Resare <noa@metamatrix.se>:
1 giving a path to a nonexistant rc-file with the -c argument dumps core 1 giving a path to a nonexistant rc-file with the -c argument dumps core
@ -308,29 +420,28 @@
give error message when the LOGIN command fails give error message when the LOGIN command fails
2001-02-01 me <me@sigpipe.org> 2001-02-01 Michael Elkins <me@sigpipe.org>
* imap.c: patch from Daniel Resare <noa@metamatrix.se> * src/imap.c: patch from Daniel Resare <noa@metamatrix.se>
- don't initialize ssl support if none of use_sslv* is enabled - don't initialize ssl support if none of use_sslv* is enabled
2001-01-26 me <me@sigpipe.org> 2001-01-26 Michael Elkins <me@sigpipe.org>
* imap.c, isync.h: * src/imap.c, src/isync.h: include <sys/types.h> for off_t
include <sys/types.h> for off_t
patch from "lorenzo martignoni" <lorenzo.martignoni@technologist.com> patch from "lorenzo martignoni" <lorenzo.martignoni@technologist.com>
- fixed uploading of message to IMAP server - fixed uploading of message to IMAP server
2001-01-24 me <me@sigpipe.org> 2001-01-24 Michael Elkins <me@sigpipe.org>
* config.c, cram.c, imap.c, isync.1, list.c, maildir.c, main.c, sync.c: * isync.1, src/config.c, src/cram.c, src/imap.c, src/list.c, src/maildir.c, src/main.c, src/sync.c:
fixed cram compilation error under bsd fixed cram compilation error under bsd
updated man page updated man page
2001-01-16 me <me@sigpipe.org> 2001-01-16 Michael Elkins <me@sigpipe.org>
* TODO, config.c, imap.c, isync.1, isync.h, main.c: * TODO, isync.1, src/config.c, src/imap.c, src/isync.h, src/main.c:
added support for tilde (~) expansion in the `Mailbox' and `CertificateFile' added support for tilde (~) expansion in the `Mailbox' and `CertificateFile'
configuration directives configuration directives
@ -338,16 +449,16 @@
user's mailboxes. If a relative path is used in a `Mailbox' command, this user's mailboxes. If a relative path is used in a `Mailbox' command, this
path is used as a prefix. path is used as a prefix.
2001-01-11 me <me@sigpipe.org> 2001-01-11 Michael Elkins <me@sigpipe.org>
* configure.in, imap.c, isync.h: * configure.in, src/imap.c, src/isync.h:
set imap->prefix to be the namespace prefix set imap->prefix to be the namespace prefix
update version to 0.5 update version to 0.5
fixed compilation warnings in imap.c fixed compilation warnings in imap.c
* Makefile.am, config.c, imap.c, isync.1, isync.h, main.c, sample.isyncrc, sync.c: * Makefile.am, isync.1, isyncrc.sample, src/config.c, src/imap.c, src/isync.h, src/main.c, src/sync.c:
broke config code into config.c broke config code into config.c
added support for uploading local messages with no UID to the IMAP server added support for uploading local messages with no UID to the IMAP server
@ -356,9 +467,9 @@
added CopyDeletedTo configuration option added CopyDeletedTo configuration option
2001-01-09 me <me@sigpipe.org> 2001-01-09 Michael Elkins <me@sigpipe.org>
* maildir.c, sync.c: * src/maildir.c, src/sync.c:
always put changed messages in the cur/ subdirectory since they are no always put changed messages in the cur/ subdirectory since they are no
longer new. longer new.
@ -366,45 +477,40 @@
flag on the message since Mutt will move Old (unread, but not recent) flag on the message since Mutt will move Old (unread, but not recent)
messges into cur/. messges into cur/.
2001-01-08 me <me@sigpipe.org> 2001-01-08 Michael Elkins <me@sigpipe.org>
* Makefile.am, main.c: * Makefile.am, src/main.c: patch from Hugo Haas <hugo@larve.net>
patch from Hugo Haas <hugo@larve.net>
-c was not specified in the getopt*() calls -c was not specified in the getopt*() calls
set global password to the one the user inputs and use that as the set global password to the one the user inputs and use that as the
default for remaining mailboxes default for remaining mailboxes
2001-01-05 me <me@sigpipe.org> 2001-01-05 Michael Elkins <me@sigpipe.org>
* configure.in: * configure.in:
added --with-ssl-dir to specify an alternate installation of OpenSSL added --with-ssl-dir to specify an alternate installation of OpenSSL
2000-12-31 me <me@sigpipe.org> 2000-12-31 Michael Elkins <me@sigpipe.org>
* ChangeLog, isync.spec: * ChangeLog, isync.spec.in: pre 0.4 commit.
pre 0.4 commit.
updated rpm spec file updated rpm spec file
* sync.c: * src/sync.c: display how many messages were fetched from the server
display how many messages were fetched from the server
* imap.c: * src/imap.c:
fixed compilation error with no libssl support ("lorenzo martignoni" fixed compilation error with no libssl support ("lorenzo martignoni"
<lorenzo.martignoni@technologist.com>) <lorenzo.martignoni@technologist.com>)
2000-12-28 me <me@sigpipe.org> 2000-12-28 Michael Elkins <me@sigpipe.org>
* main.c: * src/main.c: fixed config parser to accept arbitrary whitespace
fixed config parser to accept arbitrary whitespace
2000-12-27 me <me@sigpipe.org> 2000-12-27 Michael Elkins <me@sigpipe.org>
* imap.c: * src/imap.c: use imap_close to terminate a connection in imap_open()
use imap_close to terminate a connection in imap_open()
* imap.c, isync.1, isync.h, maildir.c, main.c: * isync.1, src/imap.c, src/isync.h, src/maildir.c, src/main.c:
allow leading whitespace in config files allow leading whitespace in config files
now possible to sync multiple mailboxes by specifying multiple aliases on now possible to sync multiple mailboxes by specifying multiple aliases on
@ -412,47 +518,47 @@
don't initialize ssl unless we are going to use it. don't initialize ssl unless we are going to use it.
2000-12-23 me <me@sigpipe.org> 2000-12-23 Michael Elkins <me@sigpipe.org>
* imap.c, isync.h: * src/imap.c, src/isync.h:
don't use NAMESPACE unless the server supports it don't use NAMESPACE unless the server supports it
* Makefile.am, README, cram.c, imap.c, isync.h: * Makefile.am, README, src/cram.c, src/imap.c, src/isync.h:
added CRAM-MD5 authentication support. added CRAM-MD5 authentication support.
parse server capability string to determine if STARTTLS is available parse server capability string to determine if STARTTLS is available
2000-12-22 me <me@sigpipe.org> 2000-12-22 Michael Elkins <me@sigpipe.org>
* README, imap.c, isync.1, isync.h, main.c: * README, isync.1, src/imap.c, src/isync.h, src/main.c:
isync-brokenservers.diff (Jeremy Katz <katzj@linuxpower.org>) isync-brokenservers.diff (Jeremy Katz <katzj@linuxpower.org>)
adds support for disabling NAMESPACE, and disable various flavors of TLS/SSL adds support for disabling NAMESPACE, and disable various flavors of TLS/SSL
for use with some broken IMAP servers. for use with some broken IMAP servers.
* imap.c, sync.c: * src/imap.c, src/sync.c:
prompt user if they wish to continue if the server's X.509 certificate can't prompt user if they wish to continue if the server's X.509 certificate can't
be verified. be verified.
sync_mailbox should consider uid == 0 to be "unknown" sync_mailbox should consider uid == 0 to be "unknown"
* main.c, sync.c: * src/main.c, src/sync.c:
fixed sync_mailbox() to correctly write new messages to the local maildir fixed sync_mailbox() to correctly write new messages to the local maildir
box (Thomas Roessler <roessler@does-not-exist.org>) box (Thomas Roessler <roessler@does-not-exist.org>)
* main.c: set default MaxSize to 0 (unlimited) * src/main.c: set default MaxSize to 0 (unlimited)
invert test for password being set after getpass() call (Magnus Jonsson invert test for password being set after getpass() call (Magnus Jonsson
<bigfoot@acc.umu.se>) <bigfoot@acc.umu.se>)
* ChangeLog, NEWS, configure.in, imap.c, isync.1, isync.h, maildir.c, main.c, sample.isyncrc, sync.c: * ChangeLog, NEWS, configure.in, isync.1, isyncrc.sample, src/imap.c, src/isync.h, src/maildir.c, src/main.c, src/sync.c:
added MaxSize configuration variable added MaxSize configuration variable
fixed --fast to work robustly without relying on the \Recent flag in fixed --fast to work robustly without relying on the \Recent flag in
messages messages
2000-12-21 me <me@sigpipe.org> 2000-12-21 Michael Elkins <me@sigpipe.org>
* imap.c, isync.h, maildir.c, sync.c: * src/imap.c, src/isync.h, src/maildir.c, src/sync.c:
RFC822.PEEK is obsolete in RFC2060. Use BODY.PEEK[] instead, which does RFC822.PEEK is obsolete in RFC2060. Use BODY.PEEK[] instead, which does
the same thing the same thing
@ -461,25 +567,24 @@
* NEWS: updated NEWS for 0.3 release * NEWS: updated NEWS for 0.3 release
* Makefile.am, isync.spec: * Makefile.am, isync.spec.in: added support for building RPMS
added support for building RPMS
* Makefile.am, isync.1: * Makefile.am, isync.1:
added target for creating html version of the man page added target for creating html version of the man page
documented the imaps: prefix to the Host command documented the imaps: prefix to the Host command
* imap.c, sync.c: * src/imap.c, src/sync.c:
can't assume flag order when fetching a message. just search for the can't assume flag order when fetching a message. just search for the
first `{' to find the message size. first `{' to find the message size.
* isync.1, sync.c: * isync.1, src/sync.c:
added BUGS section to manpage detailing the fact that we break the added BUGS section to manpage detailing the fact that we break the
maildir(5) spec by parsing the filename maildir(5) spec by parsing the filename
change message delivery to use the method described in maildir(5) change message delivery to use the method described in maildir(5)
* configure.in, main.c, sync.c: * configure.in, src/main.c, src/sync.c:
use getpass() to get the user's password use getpass() to get the user's password
unlink the temp file if we are unable to fetch a new message from the unlink the temp file if we are unable to fetch a new message from the
@ -489,20 +594,20 @@
* isync.1: fixed typo in man page for --verbose option * isync.1: fixed typo in man page for --verbose option
* Makefile.am, README, TODO, imap.c, isync.h, list.c: * Makefile.am, README, TODO, src/imap.c, src/isync.h, src/list.c:
added generic IMAP list parser and rewrote imap_exec() to handle added generic IMAP list parser and rewrote imap_exec() to handle
arbitrary data instead of hardcoded arbitrary data instead of hardcoded
* Makefile.am, README, configure.in, main.c: * Makefile.am, README, configure.in, src/main.c:
fixes to compile cleanly under Solaris 2.7 fixes to compile cleanly under Solaris 2.7
* configure.in, imap.c, isync.1, isync.h, main.c: * configure.in, isync.1, src/imap.c, src/isync.h, src/main.c:
added OpenSSL support added OpenSSL support
* ChangeLog, configure.in, main.c: * ChangeLog, configure.in, src/main.c:
config options were not case insensitive config options were not case insensitive
* imap.c, isync.h, maildir.c, main.c, sync.c: * src/imap.c, src/isync.h, src/maildir.c, src/main.c, src/sync.c:
don't fetch deleted messages when expunging don't fetch deleted messages when expunging
display number of messages that are to be deleted display number of messages that are to be deleted
@ -511,35 +616,27 @@
local messages with updated flags were not corrected renamed local messages with updated flags were not corrected renamed
2000-12-20 me <me@sigpipe.org> 2000-12-20 Michael Elkins <me@sigpipe.org>
* ChangeLog, Makefile.am: * ChangeLog, Makefile.am: updated ChangeLog
updated ChangeLog
added log: rule in Makefile.am added log: rule in Makefile.am
* configure: forgot to remove configure script * autogen.sh: added autogen.sh to regenerate the build environment
* INSTALL, Makefile.in, aclocal.m4, autogen.sh, install-sh, missing, mkinstalldirs: * COPYING: added missing files
added autogen.sh to regenerate the build environment
* COPYING, INSTALL, install-sh, missing, mkinstalldirs: * isync.1, isyncrc.sample: New file.
added missing files
* isync.1, sample.isyncrc: New file. * isync.1, isyncrc.sample: initial import
* isync.1, sample.isyncrc: * TODO, src/imap.c, src/maildir.c, src/sync.c: New file.
initial import
* TODO, configure, imap.c, maildir.c, sync.c: * TODO, src/imap.c, src/maildir.c, src/sync.c: initial import
* AUTHORS, ChangeLog, Makefile.am, NEWS, README, configure.in, src/isync.h, src/main.c:
New file. New file.
* TODO, configure, imap.c, maildir.c, sync.c: * AUTHORS, ChangeLog, Makefile.am, NEWS, README, configure.in, src/isync.h, src/main.c:
initial import
* AUTHORS, ChangeLog, INSTALL, Makefile.am, Makefile.in, NEWS, README, aclocal.m4, configure.in, isync.h, main.c:
New file.
* AUTHORS, ChangeLog, INSTALL, Makefile.am, Makefile.in, NEWS, README, aclocal.m4, configure.in, isync.h, main.c:
initial import initial import

View File

@ -1,22 +1,15 @@
SUBDIRS=debian SUBDIRS = debian src
bin_PROGRAMS=isync man_MANS = isync.1
isync_SOURCES=main.c imap.c sync.c maildir.c isync.h list.c cram.c config.c \ EXTRA_DIST = isyncrc.sample isync.spec.in $(man_MANS)
debug.h dotlock.c dotlock.h DISTCLEANFILES = *~ build-stamp configure-stamp
isync_LDADD=@DEBUGOBJ@
isync_DEPENDENCIES=@DEBUGOBJ@
EXTRA_isync_SOURCES=debug.c
man_MANS=isync.1
EXTRA_DIST=sample.isyncrc $(man_MANS)
INCLUDES=$(RPM_OPT_FLAGS)
DISTCLEANFILES=*~ build-stamp configure-stamp
log: log:
rcs2log -h sigpipe.org | sed 's;/home/cvs/isync/;;g' > ChangeLog rcs2log -u "me Michael Elkins me@sigpipe.org" \
-u "melkins Michael Elkins me@sigpipe.org" \
isync.html: isync.1 -u "ossi Oswald Buddenhagen ossi@users.sf.net" \
groff -Thtml -man isync.1 > isync.html -l 79 > ChangeLog
rpm: rpm:
make dist make dist
cp isync-$(VERSION).tar.gz /usr/src/rpm/SOURCES cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/rpm/SOURCES
rpm -ba --target=i586 --clean isync.spec rpm -ba --target=i586 --clean isync.spec

4
NEWS
View File

@ -1,3 +1,7 @@
[0.9]
TODO
[0.8] [0.8]
!!! IMPORTANT !!! !!! IMPORTANT !!!

3
README
View File

@ -5,9 +5,10 @@
|_|___/\__, |_| |_|\___| |_|___/\__, |_| |_|\___|
|___/ |___/
isync - IMAP4 to maildir mailbox synchronization program isync - IMAP4 to maildir mailbox synchronization program
http://www.cs.hmc.edu/~me/isync/ http://isync.sf.net/
Author: Michael Elkins <me@mutt.org> Author: Michael Elkins <me@mutt.org>
Current maintainer: Oswald Buddenhagen <ossi@users.sf.net>
``isync'' is a command line application which synchronizes a local ``isync'' is a command line application which synchronizes a local
maildir-style mailbox with a remote IMAP4 mailbox, suitable for use in maildir-style mailbox with a remote IMAP4 mailbox, suitable for use in

View File

@ -1,15 +1,7 @@
#!/bin/sh #! /bin/sh
# $Id$ # $Id$
set -e -v
aclocal aclocal
if test $? -ne 0; then
exit
fi
automake --add-missing automake --add-missing
if test $? -ne 0; then
exit
fi
autoconf autoconf
if test $? -ne 0; then
exit
fi
./configure "$@" ./configure "$@"

View File

@ -1,4 +1,4 @@
AC_INIT(isync.h) AC_INIT(src/isync.h)
AM_INIT_AUTOMAKE(isync,0.9) AM_INIT_AUTOMAKE(isync,0.9)
AM_PROG_CC_STDC AM_PROG_CC_STDC
AC_ARG_WITH(ssl-dir, [ --with-ssl-dir=DIR location where openssl is insalled], AC_ARG_WITH(ssl-dir, [ --with-ssl-dir=DIR location where openssl is insalled],
@ -47,4 +47,4 @@ dnl test for gcc. use the prefix so we know that gcc-3.0 is also gcc
if test `echo $CC | sed 's/^gcc.*/gcc/'` = gcc; then if test `echo $CC | sed 's/^gcc.*/gcc/'` = gcc; then
CFLAGS="$CFLAGS -pipe -W -Wall -Wshadow -Wmissing-prototypes" CFLAGS="$CFLAGS -pipe -W -Wall -Wshadow -Wmissing-prototypes"
fi fi
AC_OUTPUT(Makefile debian/Makefile) AC_OUTPUT(Makefile src/Makefile debian/Makefile isync.spec)

2
debian/control vendored
View File

@ -1,7 +1,7 @@
Source: isync Source: isync
Section: unknown Section: unknown
Priority: optional Priority: optional
Maintainer: Michael Elkins <me@mutt.org> Maintainer: Oswald Buddenhagen <ossi@users.sf.net>
Build-Depends: debhelper (>> 3.0.0) Build-Depends: debhelper (>> 3.0.0)
Standards-Version: 3.5.2 Standards-Version: 3.5.2

8
debian/copyright vendored
View File

@ -1,14 +1,16 @@
This package was debianized by Michael Elkins <melkins@debian> on This package was debianized by Michael Elkins <melkins@debian> on
Wed, 16 Jan 2002 13:36:52 -0800. Wed, 16 Jan 2002 13:36:52 -0800.
It was downloaded from http://www.sigpipe.org:8080/isync/ It was downloaded from http://isync.sf.net/
Upstream Author(s): Michael Elkins <me@mutt.org> Upstream author(s): Michael Elkins <me@mutt.org>
Current upstream maintainer(s): Oswald Buddenhagen <ossi@users.sf.net>
Copyright: Copyright:
* isync - IMAP4 to maildir mailbox synchronizer * isync - IMAP4 to maildir mailbox synchronizer
* Copyright (C) 2000-2 Michael R. Elkins <me@mutt.org> * Copyright (C) 2000-2002 Michael R. Elkins <me@mutt.org>
* Copyright (C) 2002 Oswald Buddenhagen <ossi@users.sf.net>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

2
debian/docs vendored
View File

@ -1,4 +1,4 @@
NEWS NEWS
README README
TODO TODO
sample.isyncrc isyncrc.sample

View File

@ -1,12 +1,12 @@
Summary: Utility to synchronize IMAP mailboxes with local maildir folders Summary: Utility to synchronize IMAP mailboxes with local maildir folders
Name: isync Name: isync
Version: 0.8 Version: 0.9
Release: 1 Release: 1
Copyright: GPL Copyright: GPL
Group: Applications/Internet Group: Applications/Internet
Source: http://www.sigpipe.org:8080/isync/isync-0.8.tar.gz Source: http://prdownloads.sf.net/@PACKAGE@/@PACKAGE@-@VERSION@.tar.gz?download
URL: http://www.sigpipe.org:8080/isync/ URL: http://@PACKAGE@.sf.net/
Packager: Michael Elkins <me@mutt.org> Packager: Oswald Buddenhagen <ossi@users.sf.net>
BuildRoot: /var/tmp/%{name}-buildroot BuildRoot: /var/tmp/%{name}-buildroot
%description %description

4
src/.cvsignore Normal file
View File

@ -0,0 +1,4 @@
.deps
Makefile
Makefile.in
isync

5
src/Makefile.am Normal file
View File

@ -0,0 +1,5 @@
bin_PROGRAMS = isync
isync_SOURCES = main.c imap.c sync.c maildir.c list.c cram.c config.c dotlock.c
noinst_HEADERS = isync.h dotlock.h
INCLUDES=$(RPM_OPT_FLAGS)
DISTCLEANFILES = *~

View File

View File

View File

@ -22,18 +22,17 @@
*/ */
#if HAVE_LIBDB #if HAVE_LIBDB
#define DB_DBM_HSEARCH 1 # define DB_DBM_HSEARCH 1
#include <db.h> # include <db.h>
#else #else
#include <ndbm.h> # include <ndbm.h>
#endif #endif
#include <sys/types.h> #include <sys/types.h>
#include <stdarg.h> #include <stdarg.h>
#if HAVE_LIBSSL #if HAVE_LIBSSL
#include <openssl/ssl.h> # include <openssl/ssl.h>
#endif #endif
#include "debug.h"
typedef struct typedef struct
{ {

View File

View File

View File