summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2017-08-04 16:53:48 -0400
committerMichael Orlitzky <mjo@gentoo.org>2017-08-04 16:57:07 -0400
commit819c3dc8032bf4280c87038a4c408e6cdd218235 (patch)
treea630397c8fb9a5f3c089a174ca1ecbfef7945de7
parentmail-filter/spamassassin: add a patch to -r11 for perl-5.26 compatibility. (diff)
downloadgentoo-819c3dc8032bf4280c87038a4c408e6cdd218235.tar.gz
gentoo-819c3dc8032bf4280c87038a4c408e6cdd218235.tar.bz2
gentoo-819c3dc8032bf4280c87038a4c408e6cdd218235.zip
mail-filter/spamassassin: new revision without the "bayes" USE flag.
In bug 617950, Deniss Gaplevsky asked that we add Redis support for the SA bayes engine. I looked into it, and it turns out that the support is already built-in. That makes things a little weird, because it would have put us in the position of adding a "redis" USE flag that does nothing. Some background will hopefully clarify: when I took over as maintainer of SA, you were required to choose one of USE="berkdb mysql postgres sqlite". In other words, bayes support wasn't optional, and you had to choose a database -- there was no "bayes" USE flag. I don't use bayes, so I added the "bayes" flag to let me proceed without selecting a database type. If I had known about Redis at the time, a better solution would have been to do what I just did: simply drop the REQUIRED_USE constraint forcing you to choose one of USE="berkdb mysql postgres sqlite". That is the end result of this commit, although I had to get rid of the "bayes" flag now to make it all work. Gentoo-Bug: 617950 Package-Manager: Portage-2.3.6, Repoman-2.3.1
-rw-r--r--mail-filter/spamassassin/spamassassin-3.4.1-r12.ebuild (renamed from mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild)5
1 files changed, 1 insertions, 4 deletions
diff --git a/mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild b/mail-filter/spamassassin/spamassassin-3.4.1-r12.ebuild
index 4c3583457734..02a2cce2c7e1 100644
--- a/mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild
+++ b/mail-filter/spamassassin/spamassassin-3.4.1-r12.ebuild
@@ -14,10 +14,7 @@ SRC_URI="mirror://apache/spamassassin/source/${MY_P}.tar.bz2"
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="+bayes berkdb cron ipv6 ldap libressl mysql postgres qmail sqlite ssl test"
-
-# You can do without a database unless you need the Bayes features.
-REQUIRED_USE="bayes? ( || ( berkdb mysql postgres sqlite ) )"
+IUSE="berkdb cron ipv6 ldap libressl mysql postgres qmail sqlite ssl test"
# The Makefile.PL script checks for dependencies, but only fails if a
# required (i.e. not optional) dependency is missing. We therefore