Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276480 - net-mail/dovecot-1.2.0 version bump
Summary: net-mail/dovecot-1.2.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-04 16:49 UTC by Murph
Modified: 2009-09-10 17:18 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patched 1.1.16 ebuild in tree (dovecot-1.2.0.ebuild.patch,2.31 KB, patch)
2009-07-05 19:11 UTC, Robert Förster
Details | Diff
dovecot-1.2.1 ebuild (dovecot-1.2.1.ebuild,5.33 KB, text/plain)
2009-07-25 15:36 UTC, Björn
Details
ebuild for dovecot 1.2.2 (dovecot-1.2.2.ebuild,5.35 KB, text/plain)
2009-08-02 10:02 UTC, Björn
Details
ebuild for dovecot 1.2.2 (dovecot-1.2.2.ebuild,5.35 KB, text/plain)
2009-08-03 19:21 UTC, Björn
Details
revised ebuild (dovecot-1.2.2.ebuild,4.65 KB, text/plain)
2009-08-05 19:54 UTC, Thomas Arnett
Details
dovecot-1.2.4.ebuild (dovecot-1.2.4.ebuild,7.02 KB, text/plain)
2009-08-21 12:34 UTC, Eray Aslan
Details
dovecot-1.2.4 init script (dovecot.init-r2,1.75 KB, text/plain)
2009-08-21 12:35 UTC, Eray Aslan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Murph 2009-07-04 16:49:28 UTC
Dovecot went stable on 1.2.0 on 7-1-2009. Includes several bug fixes and enhancements.

Reproducible: Always
Comment 1 Oliver Sucker 2009-07-04 22:46: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
Comment 2 Robert Förster 2009-07-05 19:11:34 UTC
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
Comment 3 Oliver Sucker 2009-07-06 16:31:18 UTC
(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
Comment 4 tanstaafl@libertytrek.org 2009-07-10 11:05:04 UTC
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)...
Comment 5 Eray Aslan gentoo-dev 2009-07-12 06:22:18 UTC
(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
Comment 6 Murph 2009-07-14 23:31:49 UTC
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
Comment 7 Alexander Stoll 2009-07-24 14:16:27 UTC
Maybe in the meantime someone could do a quick trivial bump to 1.1.17, no issues via local overlay...
Comment 8 Björn 2009-07-25 15:36:41 UTC
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.
Comment 9 Björn 2009-08-02 10:02:44 UTC
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.
Comment 10 Adam Jacob Muller 2009-08-02 22:38:45 UTC
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.
Comment 11 Björn 2009-08-03 19:21:07 UTC
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
Comment 12 Thomas Arnett 2009-08-05 19:54:55 UTC
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.
Comment 13 Björn 2009-08-05 21:12:59 UTC
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.
Comment 14 Thomas Arnett 2009-08-06 16:01:46 UTC
(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}
Comment 15 Eray Aslan gentoo-dev 2009-08-21 12:33:53 UTC
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
Comment 16 Eray Aslan gentoo-dev 2009-08-21 12:34:42 UTC
Created attachment 201860 [details]
dovecot-1.2.4.ebuild
Comment 17 Eray Aslan gentoo-dev 2009-08-21 12:35:45 UTC
Created attachment 201862 [details]
dovecot-1.2.4 init script
Comment 18 Patrick Lauer gentoo-dev 2009-09-10 17:18:16 UTC
+  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