Summary: | mail-filter/spamassassin should depend on || ( perl-core/DB_File dev-lang/perl[berkdb] ) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mattias Merilai <jah> |
Component: | [OLD] Server | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | casta |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mattias Merilai
2014-11-10 13:11:30 UTC
Fixed. Please revert. This is false, berkDB is not mandatory, there is other way to use bayes. You just have to enable ONE database backend and configure it (some does not need to be configured): postgres OR berkdb OR mysql OR sqlite. Personally I use postgres, and bayes is working, thanks (and berekdb is not installed on my system and I do not want it: I like to avoid packages with crappy licenses). Read the doc on how to configure it : /usr/share/doc/spamassassin-3.4.0/README.bayes.bz2 The correct fix is certainly not to remove berkdb USE flag, it looks like this: --- spamassassin-3.4.0.ebuild.orig 2014-11-30 07:09:52.330406552 +0100 +++ spamassassin-3.4.0.ebuild 2014-11-30 07:11:19.635099601 +0100 @@ -15,7 +15,9 @@ LICENSE="Apache-2.0 GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" -IUSE="berkdb qmail ssl doc ldap mysql postgres sqlite ipv6" +IUSE="+berkdb qmail ssl doc ldap mysql postgres sqlite ipv6" + +REQUIRED_USE="|| ( berkdb mysql postgres sqlite )" DEPEND=">=dev-lang/perl-5.8.8-r8 virtual/perl-MIME-Base64 Thanks ! (In reply to Guillaume Castagnino from comment #2) > Please revert. This is false, berkDB is not mandatory, there is other way to > use bayes. > You just have to enable ONE database backend and configure it (some does not > need to be configured): postgres OR berkdb OR mysql OR sqlite. Personally I > use postgres, and bayes is working, thanks (and berekdb is not installed on > my system and I do not want it: I like to avoid packages with crappy > licenses). > > Read the doc on how to configure it : > /usr/share/doc/spamassassin-3.4.0/README.bayes.bz2 > > The correct fix is certainly not to remove berkdb USE flag, it looks like > this: > > --- spamassassin-3.4.0.ebuild.orig 2014-11-30 07:09:52.330406552 +0100 > +++ spamassassin-3.4.0.ebuild 2014-11-30 07:11:19.635099601 +0100 > @@ -15,7 +15,9 @@ > LICENSE="Apache-2.0 GPL-2" > SLOT="0" > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 > ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" > -IUSE="berkdb qmail ssl doc ldap mysql postgres sqlite ipv6" > +IUSE="+berkdb qmail ssl doc ldap mysql postgres sqlite ipv6" > + > +REQUIRED_USE="|| ( berkdb mysql postgres sqlite )" > > DEPEND=">=dev-lang/perl-5.8.8-r8 > virtual/perl-MIME-Base64 > > Thanks ! Done as you suggested. |