Summary: | New port: mail/dovecot20 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | nagy.attila | ||||||||||
Component: | Individual Port(s) | Assignee: | Greg Lewis <glewis> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | ||||||||||||
Priority: | Normal | ||||||||||||
Version: | Latest | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Description
nagy.attila
2010-09-21 17:20:00 UTC
Dovecot 2.0.4 is released, attached is a patch for the submitted port, users are advised to upgrade. Changelog: multi-dbox users: Be careful about the INDEX change. Maildir users: I hope v2.0 is now finally stable. * multi-dbox: If :INDEX=path is specified, keep storage/dovecot.map.index* files also in the index path rather than in the main storage directory. WARNING: if you specified :INDEX= with earlier mdbox installation, you must now manually move the storage indexes to the expected directory! Otherwise Dovecot won't see them and will rebuild the indexes, possibly unexpunging some mails. - Maildir: Copying messages with hard links sometimes caused the source maildir's entire tmp/ directory to be renamed to destination maildir as if it were a message. - Maildir: v2.0.3 broke expunging copied messages sometimes - Maildir: INBOX whose tmp/ directory was lost couldn't be opened - single-dbox: Messages weren't copied with hard links - vpopmail support is hopefully working again. - dsync: POP3 UIDLs weren't copied with Maildir - dict file: Fixed fd leak (showed up easily with LMTP + quota) Dovecot 2.0.4 is released, attached is a patch for the submitted port, users are advised to upgrade. Changelog: multi-dbox users: Be careful about the INDEX change. Maildir users: I hope v2.0 is now finally stable. * multi-dbox: If :INDEX=path is specified, keep storage/dovecot.map.index* files also in the index path rather than in the main storage directory. WARNING: if you specified :INDEX= with earlier mdbox installation, you must now manually move the storage indexes to the expected directory! Otherwise Dovecot won't see them and will rebuild the indexes, possibly unexpunging some mails. - Maildir: Copying messages with hard links sometimes caused the source maildir's entire tmp/ directory to be renamed to destination maildir as if it were a message. - Maildir: v2.0.3 broke expunging copied messages sometimes - Maildir: INBOX whose tmp/ directory was lost couldn't be opened - single-dbox: Messages weren't copied with hard links - vpopmail support is hopefully working again. - dsync: POP3 UIDLs weren't copied with Maildir - dict file: Fixed fd leak (showed up easily with LMTP + quota) Please do not forget to put in these two patches. These are very important to run dovecot2 href="http://hg.dovecot.org/dovecot-2.0/rev/e5f0231b7a40 And also the following, taken from the mailing list >> I upgraded from 2.0.2 this morning and now all the mails which were >> compressed using zlib plugin are not readable anymore. Also, new mails >> are not stored compressed anymore either. This is on OpenBSD amd64, and >> I am using sdbox. > >Whops. This fixes it: http://hg.dovecot.org/dovecot-2.0/rev/c359ee549df7 > >(and also making sure it won't happen again: >http://hg.dovecot.org/dovecot-2.0/rev/a3c8026d0305 Hi, I would like to avoid sending every (although important) patches which appear in hg until the port is committed to the tree. Until that I will send patches for new releases only. Thanks, Hi, I asked this question on freebsd-ports@, but I didn't really get any replies. Should mail/dovecot be updated to 2.0 or should a new port be created for 2.0? It seems that the port names are a bit inconsistent. E.g., mail/postfix contains the latest stable version and older versions are named mail/postfixXX. On the other hand, net/freeradius contains 1.1 while net/freeradius2 has the latest version. -- Denny Lin Hi, My personal opinion is that versioned ports are the best. Major versions usually differ so much that an automatic upgrade is not desireable. Take for example Berkeley DB and OpenLDAP... On 10/03/2010 12:00 PM, Denny Lin wrote: > Hi, > > I asked this question on freebsd-ports@, but I didn't really get any > replies. Should mail/dovecot be updated to 2.0 or should a new port be > created for 2.0? > > It seems that the port names are a bit inconsistent. E.g., mail/postfix > contains the latest stable version and older versions are named > mail/postfixXX. On the other hand, net/freeradius contains 1.1 while > net/freeradius2 has the latest version. > Thanks for working on this port! It looks very promising :) Attached is a shar that fixes most of the issues raised by portlint (and also updated to 2.0.5). Let me know if you've got any comments. The changes include: . Fix man page specification (use MAN1, MAN7). . Simplify PORTDOCS handling. . Use PORTEXAMPLES and fix example install. . Add a CONFLICTS/LATEST_LINKS entry to prevent collisions with dovecot. Couple of questions. . Why dovecot20 rather than dovecot2? I don't want to end up in the Samba situation (see net/samba3X). If we're unlikely to want a dovecot21 port (and I hope we are) then I'd recommend dovecot2. . What are you trying to do in these lines: @${GREP} '^@exec ' ${TMPPLIST} \ | ${SED} -e 's:^@exec ::; s:%D:${PREFIX}:g;' \ > ${WRKDIR}/.PLIST.exec \ && ${SH} ${WRKDIR}/.PLIST.exec 'cos that seems like something you shouldn't need to do explicitly... -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org Yuck. Looks like the shar file I attached got messed up. I've put it here: http://people.freebsd.org./~glewis/dovecot20.shar -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org Responsible Changed From-To: freebsd-ports-bugs->glewis I'll take it. State Changed From-To: open->feedback I'm actually using this, so I may as well check it in :). Atilla, please let me know if you have any comments on the last shar I posted and on dovecot20 vs. dovecot2. Hi, On 10/04/2010 09:09 PM, Greg Lewis wrote: > Attached is a shar that fixes most of the issues raised by portlint (and > also updated to 2.0.5). Let me know if you've got any comments. Thanks for checking and fixing it. > > Couple of questions. > > . Why dovecot20 rather than dovecot2? I don't want to end up in the Samba > situation (see net/samba3X). If we're unlikely to want a dovecot21 port > (and I hope we are) then I'd recommend dovecot2. I haven't really followed Dovecot's lifecycle until now, so I'm not sure how big changes can be expected between minor versions. If you did, and minor versions are "compatible" enough to make a 2.0->2.1 switch easy and safe for the user, let it be dovecot2. My assumption was that if there are big changes, it's safer to stick with that branch and let the port user decide whether to upgrade to a new minor version or not. > . What are you trying to do in these lines: > > @${GREP} '^@exec ' ${TMPPLIST} \ > | ${SED} -e 's:^@exec ::; s:%D:${PREFIX}:g;' \ > > ${WRKDIR}/.PLIST.exec \ > && ${SH} ${WRKDIR}/.PLIST.exec > > 'cos that seems like something you shouldn't need to do explicitly... > Hmm, it seems to be a leftover from the original port. BTW, please add the following patch to the 2.0.5 release: http://hg.dovecot.org/dovecot-2.0/rev/2b8b2875af26 It corrects an fd leak bug, which makes the system die in some minutes (at least this is the case here, with 500+ pop logins per sec). Thanks, ps: if you commit this, please take care about its pigeonhole part too, I'm using them together. :) The '@${GREP}' ... lines are an artifact from a mail/dovecot upgrade from r1.91 -> 1.92. -- Sahil Tandon <sahil@FreeBSD.org> glewis 2010-11-27 05:53:35 UTC FreeBSD ports repository Modified files: . UIDs GIDs mail Makefile Added files: mail/dovecot2 Makefile distinfo pkg-descr pkg-plist mail/dovecot2/files dovecot.sh.in pkg-deinstall.in pkg-install.in pkg-message.in Log: . Add a port of the 2.x series of Dovecot: Dovecot is a secure and compact IMAP server which is in the early stages of development. It supports Maildirs and mbox formats and much of the IMAP v4 protocol including SSL/TLS. IPv6 support is also included. Dovecot supports authentication with OpenLDAP, PostgreSQL, MySQL, vpopmail and PAM. WWW: http://www.dovecot.org/ PR: 150789 Submitted by: "Nagy, Attila" <bra@fsn.hu> Revision Changes Path 1.115 +2 -1 ports/GIDs 1.128 +2 -1 ports/UIDs 1.1044 +1 -0 ports/mail/Makefile 1.1 +227 -0 ports/mail/dovecot2/Makefile (new) 1.1 +2 -0 ports/mail/dovecot2/distinfo (new) 1.1 +59 -0 ports/mail/dovecot2/files/dovecot.sh.in (new) 1.1 +65 -0 ports/mail/dovecot2/files/pkg-deinstall.in (new) 1.1 +93 -0 ports/mail/dovecot2/files/pkg-install.in (new) 1.1 +21 -0 ports/mail/dovecot2/files/pkg-message.in (new) 1.1 +7 -0 ports/mail/dovecot2/pkg-descr (new) 1.1 +429 -0 ports/mail/dovecot2/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" State Changed From-To: feedback->closed New port added, with minor changes. Thanks! |