Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358599 - mail-filter/dovecot-antispam version bump to support dovecot 2.x
Summary: mail-filter/dovecot-antispam version bump to support dovecot 2.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal enhancement with 4 votes (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-12 17:15 UTC by Leeman Strout
Modified: 2011-10-24 09:36 UTC (History)
4 users (show)

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


Attachments
dovecot-antispam-9999 live ebuild (dovecot-antispam-9999.ebuild,645 bytes, text/plain)
2011-06-13 10:29 UTC, Wicher Minnaard
Details
dovecot-antispam-9999 metadata (metadata.xml,236 bytes, text/plain)
2011-06-13 10:31 UTC, Wicher Minnaard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leeman Strout 2011-03-12 17:15:56 UTC
I'd like to get the dovecot-antispam plugin bumped to support the currently available releases of dovecot 2.*

Here's Mercurial repo http://hg.dovecot.org/dovecot-antispam-plugin/  supporting 2.x

Reproducible: Always
Comment 1 Jesse Adelman 2011-03-24 04:03:30 UTC
And here's the 1.4-RC releases from upstream:

http://johannes.sipsolutions.net/download/dovecot-antispam/

Thanks!
Comment 2 Wicher Minnaard 2011-04-15 13:20:31 UTC
Couldn't get the 1.4 RCs to compile ("antispam-storage.c:3:26: fatal error: antispam-storage-2.0.c: No such file or directory").

However, it seems it has been forked and is now hosted at dovecot.org:
http://wiki2.dovecot.org/Plugins/Antispam

Manpage from HG repo says:
"This  is the fork of the antispam dovecot plugin as the original one is aimed for dovecot  versions  before  2.0  and  the  respectful  authors weren't going to update it."

No releases yet, but I managed to compile revision 46:43880985e3dd from the HG repo. Haven't tested yet, though.
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2011-05-14 06:46:44 UTC
@net-mail: i've dropped this package into your herd. if you don't want it, reassign to m-n. thanks
Comment 4 Eray Aslan gentoo-dev 2011-05-14 08:43:34 UTC
Assigned to maintainer-needed
Comment 5 Wicher Minnaard 2011-06-13 10:29:52 UTC
Created attachment 276877 [details]
dovecot-antispam-9999 live ebuild

Live (mercurial) ebuild for dovecot-antispam for dovecot > 2.0
Comment 6 Wicher Minnaard 2011-06-13 10:31:43 UTC
Created attachment 276879 [details]
dovecot-antispam-9999 metadata

Drop USE flags from metadata; dovecot-antispam-9999 has no build time deps other than dovecot-2. It'll build *all* backends.
Comment 7 Wicher Minnaard 2011-06-13 10:34:22 UTC
I've been running this plugin with the dspam backend of r46 for a week now. It's working fine, so here's a live ebuild.
Comment 8 Roy Thompson 2011-06-15 12:10:28 UTC
I've tested this with the mailtrain backend and it is working fine for me.
Comment 9 Guillaume Hilt 2011-07-20 11:10:51 UTC
Could we please have this one merged on the portage tree ?
Comment 10 Benjamin Börngen-Schmidt 2011-09-19 23:35:13 UTC
Maybe it is not needed to create an extra ebuild but use a USE-Flag like 'antispam' in the ebuild for dovecot-2.x
Comment 11 Guillaume Hilt 2011-09-20 07:31:10 UTC
You'll then another use flag then since antispam can use multiple backends.
Unless it's build with all backends available ?
Comment 12 Benjamin Börngen-Schmidt 2011-09-20 14:31:52 UTC
Since you choose the backend via configuration just using 'antispam' as USE flag would be sufficient in my eyes.
Comment 13 Guillaume Hilt 2011-09-20 14:32:50 UTC
You're right.
Well, anything as long as we can have this one added to portage :)
Comment 14 Wicher Minnaard 2011-09-27 06:51:56 UTC
(In reply to comment #10)
> Maybe it is not needed to create an extra ebuild but use a USE-Flag like
> 'antispam' in the ebuild for dovecot-2.x

No. I don't think that's a good idea.
A separate ebuild is a necessity.

The plugin is distributed separately, has no official (and no stable) releases, and users may very well wish to upgrade it independently from dovecot.

I see no reason to *not* to have it as an ebuild (as it has lived in this form, in the tree, for some years!) and every reason to keep dovecot and this plugin separate.

Having a USE-flag "antispam" that makes dovecot depend on dovecot-antispam is OK though. But that is a *separate* issue and does not need to be addressed immediately; for it has nothing to do with this ebuild. Someone who whishes such a USE-flag in the dovecot ebuild should open a new bug and offer a patch to said dovecot ebuild.

Let's focus on getting this live ebuild in the tree. It's been over three months now since I posted dovecot-antispam-9999.ebuild and I haven't seen any comments indicating anything's wrong with the ebuild /per se/.
Comment 15 Tim Harder gentoo-dev 2011-10-24 09:36:47 UTC
Latest snapshot now in CVS.