Date: Sat, 15 Jan 2011 01:37:29 +0100 From: Alexander Wittig <alexander@wittig.name> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/154004: [PATCH] Update of mail/dovecot2 to 2.0.9 Message-ID: <E1Pdu93-0006Cz-9T@hotzenplotz.wittig.name> Resent-Message-ID: <201101150040.p0F0e9Sw085351@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 154004 >Category: ports >Synopsis: [PATCH] Update of mail/dovecot2 to 2.0.9 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Jan 15 00:40:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Alexander Wittig >Release: FreeBSD 8.2-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD hotzenplotz.wittig.name 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #1: Fri Dec 10 16:45:33 CET 2010 root@hotzenplotz.wittig.name:/usr/obj/usr/src/sys/ALEX amd64 >Description: Update the port (2.0.7) to the just recently released version 2.0.9. Major Changes (2.0.8): * Services' default vsz_limits weren't being enforced correctly in earlier v2.0 releases. Now that they are enforced, you might notice that the default limits are too low and you need to increase them. This problem will show up in logs as "out of memory" errors. See default_vsz_limit and service { vsz_limit } settings. * LMTP: In earlier versions if mail was delivered to user+detail at domain address, LMTP server always attempted to deliver the mail to mailbox named "detail". This was rather unintentional and shouldn't have been the default. lmtp_save_to_detail_mailbox=yes setting now preserves this behavior (default is no). + Added systemd support (configure --with-systemdsystemunitdir). Based on patch by Christophe Fergeau. + Replaced broken mbox-snarf plugin with a new more generic snarf plugin. - dbox: Fixes to handling external mail attachments - verbose_proctitle=yes didn't work for all processes in v2.0.7 - imap, pop3: When service { client_count } was larger than 1, the log messages didn't use the correct prefix. Last logged in user's prefix was always used, regardless of what user's session actually logged it. Now the proper log prefix is always used. - MySQL: Only the first specified host was ever used Major Changes (2.0.9): - Linux: Fixed a high system CPU usage / high context switch count performance problem - Maildir: Avoid unnecessarily reading dovecot-uidlist while opening mailbox. - Maildir: Fixed renaming child mailboxes when namespace had a prefix. - mdbox: Don't leave partially written messages to mdbox files when aborting saving. - Fixed master user logins when using userdb prefetch - lda: Fixed a crash when trying to send "out of quota" reply - lmtp: If delivering duplicate messages to same user's INBOX, create different GUIDs for them. This helps to avoid duplicate POP3 UIDLs when pop3_uidl_format=%g. - virtual storage: Fixed saving multiple mails in a transaction (e.g. copy multiple messages). - dsync: Saved messages' save-date was set to 1970-01-01. >How-To-Repeat: N/A >Fix: Attached patch works for me. I didn't test all options. Also I don't use mail/dovecot2-pigeonhole so this patch does not update that port. According to the comments in the Makefiles, they need to be updated together. Ask users / maintainers of that port for patches. --- patch.diff begins here --- diff -u /usr/ports/mail/dovecot2/Makefile dovecot2/Makefile --- /usr/ports/mail/dovecot2/Makefile 2010-11-27 06:53:35.000000000 +0100 +++ dovecot2/Makefile 2011-01-15 01:25:33.000000000 +0100 @@ -6,7 +6,7 @@ # PORTNAME= dovecot -PORTVERSION= 2.0.7 +PORTVERSION= 2.0.9 CATEGORIES= mail ipv6 MASTER_SITES= http://www.dovecot.org/releases/${DOVECOTVERSION}/ diff -u /usr/ports/mail/dovecot2/distinfo dovecot2/distinfo --- /usr/ports/mail/dovecot2/distinfo 2010-11-27 06:53:35.000000000 +0100 +++ dovecot2/distinfo 2011-01-15 01:25:33.000000000 +0100 @@ -1,2 +1,2 @@ -SHA256 (dovecot-2.0.7.tar.gz) = d862ca1bf5aaa3bc15f5962058351517b8f42fa6947feeb634f4d085ec0f4ce3 -SIZE (dovecot-2.0.7.tar.gz) = 3174912 +SHA256 (dovecot-2.0.9.tar.gz) = 37b4f3112284eeb099e4c9e89b9d433261d8b22040bc5d6b28f275c2e70070ee +SIZE (dovecot-2.0.9.tar.gz) = 3208677 Common subdirectories: /usr/ports/mail/dovecot2/files and dovecot2/files diff -u /usr/ports/mail/dovecot2/pkg-plist dovecot2/pkg-plist --- /usr/ports/mail/dovecot2/pkg-plist 2010-11-29 08:32:36.000000000 +0100 +++ dovecot2/pkg-plist 2011-01-15 01:25:33.000000000 +0100 @@ -338,6 +338,9 @@ lib/dovecot/lib02_lazy_expunge_plugin.a lib/dovecot/lib02_lazy_expunge_plugin.la lib/dovecot/lib02_lazy_expunge_plugin.so +lib/dovecot/lib05_snarf_plugin.a +lib/dovecot/lib05_snarf_plugin.la +lib/dovecot/lib05_snarf_plugin.so lib/dovecot/lib10_quota_plugin.a lib/dovecot/lib10_quota_plugin.la lib/dovecot/lib10_quota_plugin.so @@ -365,9 +368,6 @@ lib/dovecot/lib20_mail_log_plugin.a lib/dovecot/lib20_mail_log_plugin.la lib/dovecot/lib20_mail_log_plugin.so -lib/dovecot/lib20_mbox_snarf_plugin.a -lib/dovecot/lib20_mbox_snarf_plugin.la -lib/dovecot/lib20_mbox_snarf_plugin.so lib/dovecot/lib20_virtual_plugin.a lib/dovecot/lib20_virtual_plugin.la lib/dovecot/lib20_virtual_plugin.so --- patch.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Pdu93-0006Cz-9T>