1 |
commit: 819c3dc8032bf4280c87038a4c408e6cdd218235 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 4 20:53:48 2017 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 4 20:57:07 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=819c3dc8 |
7 |
|
8 |
mail-filter/spamassassin: new revision without the "bayes" USE flag. |
9 |
|
10 |
In bug 617950, Deniss Gaplevsky asked that we add Redis support for |
11 |
the SA bayes engine. I looked into it, and it turns out that the |
12 |
support is already built-in. That makes things a little weird, because |
13 |
it would have put us in the position of adding a "redis" USE flag that |
14 |
does nothing. |
15 |
|
16 |
Some background will hopefully clarify: when I took over as maintainer |
17 |
of SA, you were required to choose one of USE="berkdb mysql postgres |
18 |
sqlite". In other words, bayes support wasn't optional, and you had to |
19 |
choose a database -- there was no "bayes" USE flag. I don't use bayes, |
20 |
so I added the "bayes" flag to let me proceed without selecting a |
21 |
database type. |
22 |
|
23 |
If I had known about Redis at the time, a better solution would have |
24 |
been to do what I just did: simply drop the REQUIRED_USE constraint |
25 |
forcing you to choose one of USE="berkdb mysql postgres sqlite". That |
26 |
is the end result of this commit, although I had to get rid of the |
27 |
"bayes" flag now to make it all work. |
28 |
|
29 |
Gentoo-Bug: 617950 |
30 |
|
31 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
32 |
|
33 |
.../{spamassassin-3.4.1-r11.ebuild => spamassassin-3.4.1-r12.ebuild} | 5 +---- |
34 |
1 file changed, 1 insertion(+), 4 deletions(-) |
35 |
|
36 |
diff --git a/mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild b/mail-filter/spamassassin/spamassassin-3.4.1-r12.ebuild |
37 |
similarity index 97% |
38 |
rename from mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild |
39 |
rename to mail-filter/spamassassin/spamassassin-3.4.1-r12.ebuild |
40 |
index 4c358345773..02a2cce2c7e 100644 |
41 |
--- a/mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild |
42 |
+++ b/mail-filter/spamassassin/spamassassin-3.4.1-r12.ebuild |
43 |
@@ -14,10 +14,7 @@ SRC_URI="mirror://apache/spamassassin/source/${MY_P}.tar.bz2" |
44 |
LICENSE="Apache-2.0 GPL-2" |
45 |
SLOT="0" |
46 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" |
47 |
-IUSE="+bayes berkdb cron ipv6 ldap libressl mysql postgres qmail sqlite ssl test" |
48 |
- |
49 |
-# You can do without a database unless you need the Bayes features. |
50 |
-REQUIRED_USE="bayes? ( || ( berkdb mysql postgres sqlite ) )" |
51 |
+IUSE="berkdb cron ipv6 ldap libressl mysql postgres qmail sqlite ssl test" |
52 |
|
53 |
# The Makefile.PL script checks for dependencies, but only fails if a |
54 |
# required (i.e. not optional) dependency is missing. We therefore |