Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71429 - spamassassin should NOT be required evolution dependency
Summary: spamassassin should NOT be required evolution dependency
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.ximian.com/show_bug.c...
Whiteboard:
Keywords:
: 81441 115932 125341 130202 180968 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-16 12:44 UTC by Ed Catmur
Modified: 2007-06-08 08:29 UTC (History)
12 users (show)

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


Attachments
mail-client/evolution-2.0.2-r1.ebuild (evolution-2.0.2-r1.ebuild,4.02 KB, text/plain)
2005-02-10 12:51 UTC, Bel Zébute
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2004-11-16 12:44:00 UTC
Evolution does not need spamassassin to compile or run.

Accordingly, Gentoo should not force it to be installed.

This is what USE flags are for.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-11-16 14:16:39 UTC
i loathe to introduce another useflag like "nospamassassin". but if enough people insist. i for one don't really mind another few packages to get spam filtering, the combined dep size isn't nearly as big as libgtkhtml/gal/soup and co.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-11-16 20:35:05 UTC
yes please. spamassassin pulls in 12 other packages and I don't even use evolution. 
Comment 3 Roy Marples (RETIRED) gentoo-dev 2004-11-17 00:30:48 UTC
I use evo but do my spam filtering server-side and have no use for spamassassin on my laptop - so a USE flag would make sense
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-11-17 01:24:55 UTC
odd, seeing that if you don't use evolution, you probably should of gone for gnome-light or something.
Comment 5 Ian Hubbertz 2004-11-17 02:16:33 UTC
Please add an use flag +spamassassin.

I think, at least half of the evolution users don't need SA, as they

* are not using Evo as mail client
* have server side Spamfiltering
* does not like SA
* ...


Comment 6 foser (RETIRED) gentoo-dev 2004-11-17 16:00:39 UTC
To get back to the initial comment, gentoo should force it. For the UI to work as expected, SA is needed. It is a runtime dep and not optional (it doesn't break in a visible way, but it is broken behaviour).

That being said I do agree that in some situations it might not be very useful, what I'd like to see is some UI feedback that SA is not available : grayed out icons, a dialog, etc. for it to be made optional.
Comment 7 Keith Constable 2004-11-17 22:23:56 UTC
I agree with foser.  If the Evolution team decides to implement "grayed out icons, a dialog, etc" when SA is not available, then it should be optional.  Otherwise, I like it as an RDEP.

This may sound foolish, but until I saw Spamassassin as a new dependency, I had no idea why spam filtering in Evolution wasn't working.  I'm sure there are others like me.
Comment 8 Ed Catmur 2004-11-18 05:57:51 UTC
OK, I see what the issue is, thanks foser.

There is an upstream bug on the UI aspect at http://bugzilla.ximian.com/show_bug.cgi?id=57091 - I'll cc myself on it, put a fake spamassassin ebuild in an overlay and wait for the UI issue to be resolved.

Unless anyone objects I think this can be closed.
Comment 9 Keith Constable 2004-11-18 08:54:59 UTC
Ed, instead of a fake ebuild, you could just put 'mail-filter/spamassassin' into '/etc/portage/profile/package.provided'.   If the file or directory doesn't exist, you will obviously have to create it.

You can read about that here:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=5#doc_chap3
Comment 10 foser (RETIRED) gentoo-dev 2004-11-20 09:14:15 UTC
resolving this upstream for now, we'll keep an eye on the upstream bugreport.
Comment 11 foser (RETIRED) gentoo-dev 2005-02-10 08:53:13 UTC
*** Bug 81441 has been marked as a duplicate of this bug. ***
Comment 12 Bel Zébute 2005-02-10 12:51:17 UTC
Created attachment 50950 [details]
mail-client/evolution-2.0.2-r1.ebuild

The packages.provided will not work when a new version gets out because of the
annhability to specify wildcards in that file.

What the upstream developper do does not mean we have to oblige by them.  I
find it utterly stupid to force SA on every client when clearly a lot of people
will have SA on the server side.  

It's not because Ximian/Novell are being dumb that we also have to be dumb.  No
need to be Einstein.  It's crystal clear they got it wrong.  Give the users
what they want and implement the darn "nospamassassin" USE flag.  It should at
least be available on the bugzilla. What's the big deal?
Comment 13 Spider (RETIRED) gentoo-dev 2005-02-10 15:17:02 UTC
all no-flags are broken by design,  see discussion on gentoo-dev.  (double-negations are bad by design)


Also, see the discussion about functionality as expected and feedback for a good reason why not to break things for users.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2005-12-18 06:36:29 UTC
*** Bug 115932 has been marked as a duplicate of this bug. ***
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-03-07 03:35:06 UTC
*** Bug 125341 has been marked as a duplicate of this bug. ***
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-04-16 23:55:51 UTC
*** Bug 130202 has been marked as a duplicate of this bug. ***
Comment 17 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-12-12 14:10:42 UTC
If you object to spamassassin, you can instead use bogofilter with the bogofilter use flag.  It does pull in bogofilter, but that's one small C package, not the multitude (and constantly growing) set of perl deps that spamassassin pulls in.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2007-06-05 14:34:32 UTC
*** Bug 180968 has been marked as a duplicate of this bug. ***
Comment 19 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-06-07 17:57:17 UTC
For the record: evo 2.12 will have a bogofilter and a spamassassin flag; if neither are there, neither will be pulled in as a dep.  2.11.x in the overlay already has this.
Comment 20 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-06-07 22:14:59 UTC
dang, are you sure you want to do this ? In any case the UI will stay even if bogofilter and spamassassin support is not compiled because of other providers (exchange, ...). I can get you the proper gnome's bugzilla link if you want.

Anyway, if we go that route, I think BIG FAT WARNING will be appropriate for evolution's ebuild about spam filtering support :)
Comment 21 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-06-08 00:08:49 UTC
Sure.  Using spammassassin/bogofilter is not a compile time choice anymore, it's a runtime choice, so all the flags control is the deps.  I plan on submitting a patch that grays out the spam buttons unless one of the plugins reports it's available.
Comment 22 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-06-08 08:29:44 UTC
Ok fine with me then :)

relevant bug is http://bugzilla.gnome.org/show_bug.cgi?id=257091