Summary: | net-mail/dovecot-1.2.0 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Murph <edgetho007> |
Component: | New packages | Assignee: | Wolfram Schlich (RETIRED) <wschlich> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | a3li, benjamin, dan.carley+gentoo-bugs, H4xX0Rz1sT, mastamind, mjo, net-mail+disabled, premek, technoworx, tom, tsdh |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patched 1.1.16 ebuild in tree
dovecot-1.2.1 ebuild ebuild for dovecot 1.2.2 ebuild for dovecot 1.2.2 revised ebuild dovecot-1.2.4.ebuild dovecot-1.2.4 init script |
Description
Murph
2009-07-04 16:49:28 UTC
configure removed ipv6, deliver and pop3d flags, see http://www.dovecot.org/list/dovecot-news/2009-June/000117.html managesieve does not compile unless using version from hg, stay tuned for release. remaining stuff seems to be stable. HTH, Oliver Created attachment 196815 [details, diff] patched 1.1.16 ebuild in tree changes include: - dropped unneeded variable - goodbye cmusieve, hello sieve! the sieve plugin isn't developed in upstream dovecot repository anymore, see http://wiki.dovecot.org/LDA/Sieve/Dovecot and http://wiki.dovecot.org/LDA/Sieve for more info - fixed bug #240652 for real now, upstream added a configure option - dropped --with-poll=best, $(use_enable ipv6) and $(use_with pop3d) due to upstream removal of the configure options, left the ipv6 sed in as i can't see why it should break stuff (In reply to comment #2) -Works for me, including the now released managesieve. > - goodbye cmusieve, hello sieve! the sieve plugin isn't developed in upstream > dovecot repository anymore, see http://wiki.dovecot.org/LDA/Sieve/Dovecot and > http://wiki.dovecot.org/LDA/Sieve for more info -dovecot-sieve does not directly replace CMU-based sieve; moreover, you're given a choice of the two --IMHO a new flag should be introduced --for compatibility with old implementation, I propose leave 'sieve' for old CMU-based sieve and introduce 'dovecot-sieve' for the new implementation (also it's analogue to postfix' 'sasl' and 'dovecot-sasl') --an alternative would be to eerror if sieve flag is set, and ask the user to set 'cmu-sieve' or 'dovecot-sieve' to choose the implementation. --i've tested the old CMU-based sieve with dovecot 1.2.0, and, at least, it compiles (made no further functional tests so far) > - fixed bug #240652 for real now, upstream added a configure option -good point with caps, I fogot to mention that ;) HTH, Oliver So... is there an official maintainer for dovecot now? I'd love to upgrade, but really don't want to do the manual ebuild/local overlay dance if I don't have to (I'm not very good at it, and prone to breaking things)... (In reply to comment #4) > So... is there an official maintainer for dovecot now? Changelog and metadata suggest that there is and that the above are only sugesstions to the maintainer. dovecot-1.2.1 is out by the way: http://www.dovecot.org/releases/1.2/dovecot-1.2.1.tar.gz http://www.dovecot.org/releases/1.2/dovecot-1.2.1.tar.gz.sig Recommend switching away from CMU Sieve all together per the following: http://wiki.dovecot.org/Upgrading/1.2 Also recommend we stabilize at 1.2.1 because of serious bug corrections in 1.2.0 Maybe in the meantime someone could do a quick trivial bump to 1.1.17, no issues via local overlay... Created attachment 199145 [details]
dovecot-1.2.1 ebuild
This ebuild is mostly written from scratch. It uses the new dovecot sieve plugins.
Things to discuss:
- I have no idea what solr is and if that is even avaiable in portage.
- The ldap plugin will use cyrus-sasl if it is installed. We would need to patch the configure script to be able to disable cyrus-sasl.
- I did not use vpopmail and lucene. Please test both.
- I removed the default configuration generation. I think dovecot is too complex to create such a configuration. Everyone setting up an IMAP server should be able to create a configuration on their own.
Don't send me an e-mail. The address is not useable anymore. Therefore I cannot change it here.
Created attachment 199892 [details] ebuild for dovecot 1.2.2 This ebuild replaces the one for version 1.2.1. 1.2.2 seems to be a bugfix release, so we should skip version 1.2.1. @#3 I don't think that we should stick to the old cmu sieve plugin. AFAIK the new plugin supports the same features and more. I checked other distributions if they use patches for dovecot, but I only found some debian patches, that may be interesting. Please take a look: http://patch-tracking.debian.net/package/dovecot/1:1.2.2-2 If you know other patches that should be applied, please leave a comment and the url to the patch here. changes: - db useflags renamed to berkdb. mastamind, with your ebuids, I see: newinitd "${FILESDIR}"/dovecot.init-r1 dovecot but I only have: -rw-r--r-- 1 portage portage 874 Apr 21 2008 dovecot.init -rw-r--r-- 1 root root 1695 Nov 3 2008 dovecot.init-r2 in my files dir. So no init scripts are created. Created attachment 200041 [details]
ebuild for dovecot 1.2.2
fixes:
- dovecot.init-r1 renamed to dovecot.init-r2
- virtual/postgres-base changed to virtual/postgresql-base
Created attachment 200285 [details] revised ebuild Changes from attachment 200041 [details]: - Removed gnutls USE flag. GnuTLS support is broken and abandoned. - Removed checkpassword, nsswitch, passwd, passwd_file, prefetch_userdb, shadow, static_userdb USE flags. They have no external dependencies and can be disabled in EXTRA_ECONF. - Removed kerberos_plugin, ldap_plugin, sql_plugins USE flags and defaulted to building everything as plugins. Anyone who really wants something built in can use EXTRA_ECONF. - Corrected lucene dependency. - Refactored storage selection. - Alphabetized use_with tests. - Added warning about upgrade notes. Changes from tree: - Renamed sqlite3 USE flag to sqlite for consistency with other packages. (Other packages use sqlite3 only if they also support version 2.) - Reordered pkg_setup USE flag check for clarity. I am not sure if a user can set per-package EXTRA_ECONF options. paludis seems to support this but unless this is also possible for portage, users have to think about their configure configuration each time they emerge a new version of dovecot. Additionally it is not possible to emerge dovecot within a list of other package (e.g. while updating), because the EXTRA_ECONF options would be applied to each package in that list. (In reply to comment #13) > I am not sure if a user can set per-package EXTRA_ECONF options. They can, in /etc/portage/env/${CATEGORY}/${PN} Dovecot 1.2.4 is out. Ebuild is attached. This ebuild is somewhat closer to dovecot-1.1.x ebuilds: * dropped lucene USE flag. Lucune is depreciated in dovecot. * re-added net-mail/mailbase RDEPEND. * added tc-getCC to emakes * re-added dovecot.conf file wodoo in the ebuild. While I agree that an email admin should know what he/she is doing, a) no reason not to help b) changes in conf file should be seen by etc-update/dispatch.conf/etc while updating * re-worded warning for cmusieve to sieve change in dovecot.conf * added after postfix exim to init script. bug 239535 Created attachment 201860 [details]
dovecot-1.2.4.ebuild
Created attachment 201862 [details]
dovecot-1.2.4 init script
+ 10 Sep 2009; Patrick Lauer <patrick@gentoo.org> +dovecot-1.2.4.ebuild, + metadata.xml: + Bump to 1.2.4. Many new features and useflags, thanks to Robert Foerster, + Bjoern, Thomas Arnett and Eray Aslan for the patches and all the testers. + Fixes #276480 |