Spamassassin has a bunch of USE flags that merely pull in extra dependencies while not actually modifying spamassassin itself. Currently these include: berkdb ldap spf dcc pyzor razor extramodules ipv6. Of these, I would say berkdb is questionable to remove, you can leave it, or just depend on berkdb unconditionally since it isn't exactly clear that you need berkdb to have Bayes working, and if you want to make it so you don't need the dep, you would need to disable Bayes somehow in spamassassin, since it is somewhat misleading otherwise. For the rest, adding a message to postinst listing some possible useful plugins is the way to go, otherwise you can quickly have _alot_ of USE flags to pull in every single possible plugin for spamassassin if you want to stay consistent.
all set. i asked that this bug be started for record (so we had something to point to when someone somewhere someday asks the inevitible why)
Actually you do not need berkdb for bayes to work. You can use mysql or postgresql (and I think sqlite as well) to hold the bayes database. So in order to use bayes, you just need one of the db engines. As for the other USE flags, personally I think that they are useful as their use ensures that the packages required for the other optional modules are installed. Though maybe (for less experienced Spamassassin users, I was using it before I switched to Gentoo), it might be useful if enabling the USE flags also edited local.cf or v310.pre (as appropriate) to enable to option.
(In reply to comment #0) > Spamassassin has a bunch of USE flags that merely pull in extra dependencies > while not actually modifying spamassassin itself. Currently these include: > berkdb ldap spf dcc pyzor razor extramodules ipv6. > > For the rest, adding a message to postinst listing some possible useful plugins > is the way to go, otherwise you can quickly have _alot_ of USE flags to pull in > every single possible plugin for spamassassin if you want to stay consistent. > What happens if I unmerge spamassassin? I will be left with a bunch of plugins installed which would be in the world file so depclean won't clean them up. I think the per package USE flags are the way to go. I would recommend at the end of a spamassassin emerge that possible use flags be recommended. Requesting functionality be restored to the way it was in 3.1.0-r2.