This release is built with autoconf 2.59 and libtool 1.9. We'll see how it works out :) The required changes were done by Matthias Andree.
- The last fix for connection hanging made IDLE use 100% CPU
- We don't use Maildir/.INBOX/ directory anymore, indexes are stored in Maildir-root
- Don't crash with FETCH BODY[n.MIME]
- Changed %p (protocol) -> %s (service) and %P (pid) -> %p. Hopefully people weren't using these much yet :)
- Added simple caching for sql passdb requests. Should be implemented soon for sql userdb and ldap passdb/userdb. See auth_cache_size and auth_cache_ttl settings. By default it's disabled.
Timo Sirainen wrote:
This release is built with autoconf 2.59 and libtool 1.9. We'll see how it works out :) The required changes were done by Matthias Andree.
And here are the results with Solaris 9 + Forte C :)
http://iso.ego.fi/misc/dovecot_1.0-test51.log
-- Toni Viemerö | http://selfdestruct.net "To hate is to show you still care, who needs that, focus on what's really important."
Toni Viemero wrote:
And here are the results with Solaris 9 + Forte C :) http://iso.ego.fi/misc/dovecot_1.0-test51.log
After moving f77, f90 and f95 fortran compilers away I managed to get ./configure running.
Here are the errors from "make":
source='buffer.c' object='buffer.o' libtool=no
DEPDIR=.deps depmode=none /bin/bash ../../depcomp
cc -DHAVE_CONFIG_H -I. -I. -I../.. -g -c buffer.c
"buffer.c", line 159: void function cannot return value
"buffer.c", line 205: void function cannot return value
cc: acomp failed for buffer.c
make[3]: *** [buffer.o] Error 2
Compilation went ok after applying a patch sent by Gregory Bond.
-- Toni Viemerö | http://selfdestruct.net "The ones who dont do anything are always the ones who try to pull you down."
On Thu, 2004-10-21 at 15:57 +0300, Toni Viemero wrote:
Toni Viemero wrote:
And here are the results with Solaris 9 + Forte C :) http://iso.ego.fi/misc/dovecot_1.0-test51.log
After moving f77, f90 and f95 fortran compilers away I managed to get ./configure running.
Interesting. I am building with Sun's Studio 8 compiler as well and configure completed normally. Using Solaris 8, which should not matter, and recently patched OS and compiler collection. Attached is my config.log
Alex
Timo Sirainen wrote:
So far, so good:
- no index corruption
- no FD leak
- no hard looping
- no error msgs from Thunderbird
Yay team!
Same here,
Been running for about 1/2 day and so far so good Thunderbird, imap and maildir's seem to be behaving themselfs. Do notice that even though I set the default_mail_env = maildir:/%h/Maildir I still have to manually create the Maildir dir for a new user whereas before I didn't have to
Steve
Gregory Bond wrote:
Timo Sirainen wrote:
So far, so good:
- no index corruption
- no FD leak
- no hard looping
- no error msgs from Thunderbird
Yay team!
Timo Sirainen <tss@iki.fi> writes:
This release is built with autoconf 2.59 and libtool 1.9. We'll see how it works out :) The required changes were done by Matthias Andree.
I have some minor cleanups (1.0-test51 doesn't appear to be in CVS, I hope the other patches apply fine) - the configure.in cleanups were auto-generated by "autoupdate" * perhaps omit this patch and run "autoupdate" instead. - the lib.h patch fixes VPATH builds * i. e.: mkdir build ; cd build ; ../configure -C && make - the Makefile.am patch fixes automake warnings and "does the right thing" Index: src/lib/lib.h =================================================================== RCS file: /home/cvs/dovecot/src/lib/lib.h,v retrieving revision 1.15 diff -u -r1.15 lib.h --- src/lib/lib.h 11 Sep 2004 17:24:50 -0000 1.15 +++ src/lib/lib.h 22 Oct 2004 11:04:27 -0000 @@ -3,7 +3,7 @@ /* default lib includes */ #ifdef HAVE_CONFIG_H -# include "../../config.h" +# include "config.h" #endif /* default system includes - keep these at minimum.. */ Index: src/lib-storage/register/Makefile.am =================================================================== RCS file: /home/cvs/dovecot/src/lib-storage/register/Makefile.am,v retrieving revision 1.3 diff -u -r1.3 Makefile.am --- src/lib-storage/register/Makefile.am 20 Oct 2004 23:06:04 -0000 1.3 +++ src/lib-storage/register/Makefile.am 22 Oct 2004 11:04:28 -0000 @@ -25,7 +25,4 @@ libstorage_register_a_SOURCES = \ mail-storage-register.c -DISTFILES = $(DIST_COMMON) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -distclean-generic: - rm -f Makefile mail-storage-register.c +DISTCLEANFILES = mail-storage-register.c Index: configure.in =================================================================== RCS file: /home/cvs/dovecot/configure.in,v retrieving revision 1.190 diff -u -r1.190 configure.in --- configure.in 20 Oct 2004 23:05:53 -0000 1.190 +++ configure.in 22 Oct 2004 11:04:27 -0000 @@ -1,4 +1,4 @@ -AC_INIT(dovecot, 1.0-test50, [dovecot@dovecot.org]) +AC_INIT([dovecot],[1.0-test50],[dovecot@dovecot.org]) AC_CONFIG_SRCDIR([src]) AC_CONFIG_HEADERS([config.h]) @@ -288,27 +288,27 @@ fi dnl * dnotify? -AC_TRY_COMPILE([ +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #define _GNU_SOURCE #include <fcntl.h> #include <signal.h> #include <unistd.h> -], [ +]], [[ fcntl(0, F_SETSIG, SIGRTMIN); fcntl(0, F_NOTIFY, DN_CREATE | DN_DELETE | DN_RENAME | DN_MULTISHOT); -], [ +]])],[ AC_DEFINE(IOLOOP_NOTIFY_DNOTIFY,, Use Linux dnotify) -], [ +],[ AC_DEFINE(IOLOOP_NOTIFY_NONE,, No special notify support) ]) dnl * GLIBC? -AC_TRY_COMPILE([ +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <stdlib.h> #ifdef __GLIBC__ we have glibc #endif -],,, [ +]], [[]])],[],[ AC_DEFINE(PREAD_WRAPPERS,, Define if pread/pwrite needs _XOPEN_SOURCE 500) ]) @@ -704,22 +704,22 @@ dnl * Linux compatible mremap() AC_MSG_CHECKING([Linux compatible mremap()]) -AC_TRY_LINK([ +AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <unistd.h> #define __USE_GNU #include <sys/mman.h> -], [ +]], [[ mremap(0, 0, 0, MREMAP_MAYMOVE); -], [ +]])],[ AC_DEFINE(HAVE_LINUX_MREMAP,, Define if you have Linux-compatible mremap()) AC_MSG_RESULT(yes) -], [ +],[ AC_MSG_RESULT(no) ]) dnl * If mmap() plays nicely with write() AC_MSG_CHECKING([whether shared mmaps get updated by write()s]) -AC_TRY_RUN([ +AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> @@ -749,12 +749,12 @@ return strcmp(mem, "3") == 0 ? 0 : 1; } -], [ +]])],[ AC_MSG_RESULT(yes) -], [ +],[ AC_MSG_RESULT(no) AC_DEFINE(MMAP_CONFLICTS_WRITE,, [Define if shared mmaps don't get updated by write()s]) -]) +],[]) dnl * see if fd passing works AC_MSG_CHECKING([whether fd passing works]) @@ -765,7 +765,7 @@ CFLAGS="$CFLAGS -DBUGGY_CMSG_MACROS" fi - AC_TRY_RUN([ + AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include <sys/types.h> #include <sys/socket.h> #include <sys/wait.h> @@ -799,20 +799,20 @@ return st.st_ino == st2.st_ino ? 0 : 1; } } - ], [ + ]])],[ CFLAGS=$old_cflags if test $i = 2; then AC_DEFINE(BUGGY_CMSG_MACROS,, Define if you have buggy CMSG macros) fi AC_MSG_RESULT(yes) break - ], [ + ],[ dnl no, try with BUGGY_CMSG_MACROS CFLAGS=$old_cflags if test $i = 2; then AC_MSG_RESULT(no) fi - ]) + ],[]) done dnl * Solaris compatible sendfile() @@ -823,33 +823,33 @@ dnl * Linux compatible sendfile() - don't check if Solaris one was found. dnl * This seems to pass with Solaris for some reason.. AC_MSG_CHECKING([Linux compatible sendfile()]) - AC_TRY_LINK([ + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #undef _FILE_OFFSET_BITS #include <sys/types.h> #include <sys/socket.h> #include <sys/sendfile.h> - ], [ + ]], [[ sendfile(0, 0, (void *) 0, 0); - ], [ + ]])],[ AC_DEFINE(HAVE_LINUX_SENDFILE,, Define if you have Linux-compatible sendfile()) AC_MSG_RESULT(yes) - ], [ + ],[ AC_MSG_RESULT(no) ]) dnl * FreeBSD compatible sendfile() AC_MSG_CHECKING([FreeBSD compatible sendfile()]) - AC_TRY_LINK([ + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> #include <sys/socket.h> #include <sys/uio.h> - ], [ + ]], [[ struct sf_hdtr hdtr; sendfile(0, 0, 0, 0, &hdtr, (void *) 0, 0); - ], [ + ]])],[ AC_DEFINE(HAVE_FREEBSD_SENDFILE,, Define if you have FreeBSD-compatible sendfile()) AC_MSG_RESULT(yes) - ], [ + ],[ AC_MSG_RESULT(no) ]) ]) @@ -1173,14 +1173,14 @@ else ssl_define="" fi - AC_TRY_COMPILE([ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ $ssl_define #include <mysql.h> - ], [ + ]], [[ mysql_set_ssl(0, 0, 0, 0, 0, 0); - ], [ + ]])],[ AC_DEFINE(HAVE_MYSQL_SSL_CIPHER,, Define if your MySQL library supports setting cipher) - ]) + ],[]) ]) AC_DEFINE(HAVE_MYSQL,, Build with MySQL support) -- Matthias Andree
participants (6)
-
Alex S Moore
-
Gregory Bond
-
Matthias Andree
-
Steve Sloan
-
Timo Sirainen
-
Toni Viemero