http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc4.tar.gz http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc4.tar.gz.sig I'm planning to release rc5 maybe this Friday or weekend, and if there are no serious bugs just change the version number to v2.0.0 a day or two later. Largest changes since rc3: + director: Added director_doveadm_port for accepting doveadm TCP connections. + doveadm: Added client/server architecture support for running mail commands. Enable this by setting doveadm_worker_count to non-zero. + mail-log: Added support for mailbox_create event. + imap_capability = +XFOO BAR can be used to add capabilities instead of replacing the whole capability string. + virtual storage: Added support for IDLE notifications. - doveadm mailbox status: Fixed listing non-ASCII mailbox names. - doveadm fetch: Fixed output when fetching message header or body - doveadm director map/add/remove: Fixed handling IP address as parameter. - dsync: A few more fixes
On Aug 4, 2010, at 12:35 PM, Timo Sirainen wrote:> http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc4.tar.gz > http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc4.tar.gz.sigThe configure script allows for user override with MYSQL_CONFIG but does not use the value in two places. - MYSQL_INCLUDE="`mysql_config --include`" - MYSQL_LIBS="`mysql_config --libs`" + MYSQL_INCLUDE="`$MYSQL_CONFIG --include`" + MYSQL_LIBS="`$MYSQL_CONFIG --libs`" Regards, Bradley Giesbrecht -------------- next part -------------- A non-text attachment was scrubbed... Name: patch-configure.diff Type: application/octet-stream Size: 352 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20100804/f80164a3/attachment-0002.obj> -------------- next part --------------
On Wed, Aug 04, 2010 at 08:35:30PM +0100, Timo Sirainen wrote:> http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc4.tar.gzLinking fails with the --as-needed flag: [...] libtool: link: i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -Wl,-O1 -Wl,--as-needed -o .libs/doveadm doveadm-mail.o doveadm-mail-altmove.o doveadm-mail-expunge.o doveadm-mail-fetch.o doveadm-mail-iter.o doveadm-mail-mailbox.o doveadm-mail-mailbox-status.o doveadm-mail-list-iter.o doveadm-mail-search.o doveadm-print.o doveadm-settings.o doveadm-util.o doveadm.o doveadm-auth.o doveadm-director.o doveadm-dump.o doveadm-dump-index.o doveadm-dump-log.o doveadm-dump-mailboxlog.o doveadm-dump-thread.o doveadm-kick.o doveadm-log.o doveadm-master.o doveadm-mail-server.o doveadm-mutf7.o doveadm-penalty.o doveadm-print-flow.o doveadm-print-pager.o doveadm-print-tab.o doveadm-print-table.o doveadm-pw.o doveadm-who.o server-connection.o -Wl,--export-dynamic ../../src/lib-storage/.libs/libdovecot-storage.so -lcrypt -lpam ../auth/libpassword.a ../lib-ntlm/libntlm.a ../lib-otp/libotp.a ../../src/lib-dovecot/.libs/libdovecot.so -ldl -lrt -Wl,-rpath -Wl,/usr/lib/dovecot ../auth/libpassword.a(mycrypt.o): In function `mycrypt': mycrypt.c:(.text+0x7): undefined reference to `crypt' collect2: ld returned 1 exit status make[3]: *** [doveadm] Error 1 Looks like the linkng order is wrong. I believe libcrypt and libpam should be after the static archives: --- src/doveadm/Makefile.in.orig 2010-08-04 17:34:24.000000000 +0000 +++ src/doveadm/Makefile.in 2010-08-05 07:38:30.000000000 +0000 @@ -293,8 +293,9 @@ $(unused_objects) doveadm_LDADD = \ - $(libs) $(AUTH_LIBS) \ + $(libs) \ $(cmd_pw_libs) \ + $(AUTH_LIBS) \ $(LIBDOVECOT) \ $(MODULE_LIBS) --- src/doveadm/Makefile.am.orig 2010-07-30 14:04:48.000000000 +0000 +++ src/doveadm/Makefile.am 2010-08-05 07:38:30.000000000 +0000 @@ -38,8 +38,9 @@ $(unused_objects) doveadm_LDADD = \ - $(libs) $(AUTH_LIBS) \ + $(libs) \ $(cmd_pw_libs) \ + $(AUTH_LIBS) \ $(LIBDOVECOT) \ $(MODULE_LIBS) doveadm_DEPENDENCIES = \ -- Eray
On Wed, 2010-08-04 at 21:56 -0700, Bradley Giesbrecht wrote:> The configure script allows for user override with MYSQL_CONFIG but > does not use the value in two places. > > - MYSQL_INCLUDE="`mysql_config --include`" > - MYSQL_LIBS="`mysql_config --libs`" > + MYSQL_INCLUDE="`$MYSQL_CONFIG --include`" > + MYSQL_LIBS="`$MYSQL_CONFIG --libs`"Uh. This looked good and I even commited it, until I realized that it doesn't work. $MYSQL_CONFIG value is YES or NO, not the path. Maybe there's some other way to make this work.
On Thu, 2010-08-05 at 10:47 +0300, Eray Aslan wrote:> --- src/doveadm/Makefile.am.orig 2010-07-30 14:04:48.000000000 +0000 > +++ src/doveadm/Makefile.am 2010-08-05 07:38:30.000000000 +0000 > @@ -38,8 +38,9 @@ > $(unused_objects) > > doveadm_LDADD = \ > - $(libs) $(AUTH_LIBS) \ > + $(libs) \ > $(cmd_pw_libs) \ > + $(AUTH_LIBS) \ > $(LIBDOVECOT) \ > $(MODULE_LIBS) > doveadm_DEPENDENCIES = \Thanks, committed: http://hg.dovecot.org/dovecot-2.0/rev/335434b424b8
On Aug 5, 2010, at 9:33 AM, Timo Sirainen wrote:> On Thu, 2010-08-05 at 08:38 -0700, Bradley Giesbrecht wrote: >> I add the following to env and configure worked for me. >> >> MYSQL_CONFIG=/opt/local/bin/mysql_config5 > > Here: http://hg.dovecot.org/dovecot-2.0/rev/ebb4362b6d0dOk, good, so you fixed postgres too. Done with this one I suppose. Regards, Bradley Giesbrecht