[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/files/, mail-filter/bogofilter/

2022-04-10 Thread David Seifert
commit: 61ad9bea5277b4623a36bde0f8769db93643d449
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr 10 09:07:49 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Apr 10 09:07:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61ad9bea

mail-filter/bogofilter: drop 1.2.4-r4

Signed-off-by: David Seifert  gentoo.org>

 mail-filter/bogofilter/Manifest|   1 -
 mail-filter/bogofilter/bogofilter-1.2.4-r4.ebuild  | 131 -
 .../files/bogofilter-1.2.4-test-env.patch  |  11 --
 3 files changed, 143 deletions(-)

diff --git a/mail-filter/bogofilter/Manifest b/mail-filter/bogofilter/Manifest
index 0c769c323e61..e1b22449d116 100644
--- a/mail-filter/bogofilter/Manifest
+++ b/mail-filter/bogofilter/Manifest
@@ -1,2 +1 @@
-DIST bogofilter-1.2.4.tar.bz2 887848 BLAKE2B 
4ed5c15a44f5a166e3858581ccc59b36ebde2fe1eb402cc0471378600b555b2452f4eae04d7d37dcb7638568db0c196da2d2504a3a569d7571c4aacd7e0ceea7
 SHA512 
e8c0b6bcc14f12fbbb2752e697a6d9065e17abfca3f70045ce9fe668d01c1cfad4adaa35c81546ecdd3639b0c28f3f4776bb5ed4699f21e9e2a5b19ca33479db
 DIST bogofilter-1.2.5.tar.xz 801240 BLAKE2B 
90fc5f0ab258ada722ca2fb79d17279b621eb089f646eade2ab41b78c44deea7f3fd8f219053e09ce5b4c64f5fc81f43a17c20b84261b22d5529c06106e80b3c
 SHA512 
3a7280485cfe5802dd3e9721c153f88ccf28bff7a6a24590e985e860d1f1e0ddea7bde8a8e5ad1ff643e94c9fd7b26b2a5ed5a9fb991cee3fd5b0ce67ce9abfe

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r4.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r4.ebuild
deleted file mode 100644
index b44ae36e1abe..
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r4.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools db-use flag-o-matic toolchain-funcs
-
-DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for 
speed"
-HOMEPAGE="https://bogofilter.sourceforge.io/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
-IUSE="berkdb +sqlite tokyocabinet"
-
-# pax needed for bf_tar
-DEPEND="
-   app-arch/pax
-   sci-libs/gsl:=
-   virtual/libiconv
-   berkdb?  ( >=sys-libs/db-3.2:* )
-   !berkdb? (
-   sqlite?  ( >=dev-db/sqlite-3.6.22 )
-   !sqlite? (
-   tokyocabinet? ( dev-db/tokyocabinet )
-   !tokyocabinet? ( >=sys-libs/db-3.2:* )
-   )
-   )
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}-test-env.patch" )
-
-pkg_setup() {
-   has_version mail-filter/bogofilter || return 0
-   if  (   use berkdb && ! has_version 'mail-filter/bogofilter[berkdb]' ) 
|| \
-   ( ! use berkdb &&   has_version 
'mail-filter/bogofilter[berkdb]' ) || \
-   (   use sqlite && ! has_version 
'mail-filter/bogofilter[sqlite]' ) || \
-   ( ! use sqlite &&   has_version 
'mail-filter/bogofilter[sqlite]' ) || \
-   ( has_version '>=mail-filter/bogofilter-1.2.1-r1' && \
-   (   use tokyocabinet && ! has_version 
'mail-filter/bogofilter[tokyocabinet]' ) || \
-   ( ! use tokyocabinet &&   has_version 
'mail-filter/bogofilter[tokyocabinet]' )
-   ) ; then
-   ewarn
-   ewarn "If you want to switch the database backend, you must 
dump the wordlist"
-   ewarn "with the current version (old use flags) and load it 
with the new version!"
-   ewarn
-   fi
-}
-
-src_prepare() {
-   default
-
-   # bug 445918
-   sed -i -e 's/ -ggdb//' configure.ac || die
-
-   # bug 421747
-   chmod +x 
src/tests/t.{ctype,leakfind,lexer.qpcr,lexer.eoh,message_id,queue_id} || die
-
-   # bug 654990
-   sed -i -e 's/t.bulkmode//' \
-   -e 's/t.dump.load//' \
-   -e 's/t.nonascii.replace//' \
-   src/tests/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   local myconf="" berkdb=true
-   myconf="--without-included-gsl"
-
-   # determine backend: berkdb *is* default
-   if use berkdb && use sqlite ; then
-   elog "Both useflags berkdb and sqlite are in USE:"
-   elog "Using berkdb as database backend."
-   elif use berkdb && use tokyocabinet ; then
-   elog "Both useflags berkdb and tokyocabinet are in USE:"
-   elog "Using berkdb as database backend."
-   elif use sqlite && use tokyocabinet ; then
-   elog "Both useflags sqlite and tokyocabinet are in USE:"
-   elog "Using sqlite as database backend."
-   myconf="${myconf} --with-database=sqlite"
-   berkdb=false
-   elif use sqlite ; then
-   myconf="${myconf} --with-database=sqlite"
-   berkdb=false
-   

[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2022-01-27 Thread David Seifert
commit: be55b2a28c885c9097e82cd5be305b21bde8
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu Jan 27 09:30:04 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jan 27 09:30:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be55b2a2

mail-filter/bogofilter: use https

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: David Seifert  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.4-r4.ebuild | 4 ++--
 mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r4.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r4.ebuild
index f7de05ae32a1..b44ae36e1abe 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r4.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
 inherit autotools db-use flag-o-matic toolchain-funcs
 
 DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for 
speed"
-HOMEPAGE="http://bogofilter.sourceforge.net/;
+HOMEPAGE="https://bogofilter.sourceforge.io/;
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"

diff --git a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
index e207e681e47d..07a2b89c742d 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
 inherit autotools db-use flag-o-matic toolchain-funcs
 
 DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for 
speed"
-HOMEPAGE="http://bogofilter.sourceforge.net/;
+HOMEPAGE="https://bogofilter.sourceforge.io/;
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
 
 LICENSE="GPL-3+"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2021-12-06 Thread Sam James
commit: 8ad7771655e22fe9305122baf73467d616153e60
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec  6 15:21:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec  6 15:21:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ad77716

mail-filter/bogofilter: Stabilize 1.2.5-r1 arm, #828297

Signed-off-by: Sam James  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
index 07cd5ba97b82..96a5184a4306 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc ~x86"
 IUSE="berkdb +sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2021-12-06 Thread Sam James
commit: 66ab710b1a8def4dcae865abb0e3e48b7bd9d38f
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec  6 15:18:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec  6 15:18:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ab710b

mail-filter/bogofilter: Stabilize 1.2.5-r1 arm64, #828297

Signed-off-by: Sam James  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
index 7ea3c838d80c..07cd5ba97b82 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc ~x86"
 IUSE="berkdb +sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2021-12-05 Thread Sam James
commit: bf22c261eb20b332fe7decb1c8e4b1161e5e6482
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec  5 18:37:21 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  5 18:37:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf22c261

mail-filter/bogofilter: Stabilize 1.2.5-r1 ppc, #828297

Signed-off-by: Sam James  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
index d5d4d1061488..7ea3c838d80c 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc ~x86"
 IUSE="berkdb +sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2021-12-04 Thread Sam James
commit: 8417d34877ed2c1fb9986990db9bdfac360ff46c
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec  5 04:44:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  5 04:44:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8417d348

mail-filter/bogofilter: Stabilize 1.2.5-r1 amd64, #828297

Signed-off-by: Sam James  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
index 70cd191c4154..83218ae73f1c 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="berkdb +sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2021-09-25 Thread Marek Szuba
commit: 92dc15ee2200e4390c263977c686401b5dd6112c
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Sep 25 20:05:48 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Sep 25 21:59:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92dc15ee

mail-filter/bogofilter: keyword 1.2.5-r1 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
index 91ec8033446..70cd191c415 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="berkdb +sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2021-07-21 Thread David Seifert
commit: 7e8821676856744b3e8db1c7fb420b8a74a0ce51
Author: David Seifert  gentoo  org>
AuthorDate: Wed Jul 21 14:17:07 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jul 21 14:17:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e882167

mail-filter/bogofilter: Make sqlite the default backend

Signed-off-by: David Seifert  gentoo.org>

 .../{bogofilter-1.2.4-r3.ebuild => bogofilter-1.2.4-r4.ebuild}| 4 ++--
 .../{bogofilter-1.2.5.ebuild => bogofilter-1.2.5-r1.ebuild}   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r4.ebuild
similarity index 98%
rename from mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
rename to mail-filter/bogofilter/bogofilter-1.2.4-r4.ebuild
index 833ba677f9b..f7de05ae32a 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
-IUSE="berkdb sqlite tokyocabinet"
+IUSE="berkdb +sqlite tokyocabinet"
 
 # pax needed for bf_tar
 DEPEND="

diff --git a/mail-filter/bogofilter/bogofilter-1.2.5.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
similarity index 99%
rename from mail-filter/bogofilter/bogofilter-1.2.5.ebuild
rename to mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
index f6824cef0e8..91ec8033446 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.5.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.5-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="berkdb sqlite tokyocabinet"
+IUSE="berkdb +sqlite tokyocabinet"
 
 # pax needed for bf_tar
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2021-07-15 Thread Joonas Niilola
commit: 952e51b2f75dbc9b9a7a35ab7dd667133a81f155
Author: Marco Scardovi  scardovi  com>
AuthorDate: Tue Jul 13 06:14:24 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jul 15 11:35:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=952e51b2

mail-filter/bogofilter: removed wrong license

Closes: https://bugs.gentoo.org/801964
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Marco Scardovi  scardovi.com>
Closes: https://github.com/gentoo/gentoo/pull/21622
Signed-off-by: Joonas Niilola  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.5.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.5.ebuild
index 6b621458523..f6824cef0e8 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.5.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.5.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="Bayesian spam filter designed with fast 
algorithms, and tuned for s
 HOMEPAGE="http://bogofilter.sourceforge.net/;
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
 
-LICENSE="GPL-3+ CC-BY-ND-3.0"
+LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="berkdb sqlite tokyocabinet"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2021-07-08 Thread Joonas Niilola
commit: 063b180e11f29d4d8cbba732c65d8cef9d77c777
Author: Marco Scardovi  scardovi  com>
AuthorDate: Thu Jun 24 14:53:47 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jul  8 07:35:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=063b180e

mail-filter/bogofilter: bump to 1.2.5

This also drop patch made for v1.2.4
Closes: https://bugs.gentoo.org/763024
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Marco Scardovi  scardovi.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 mail-filter/bogofilter/Manifest|   1 +
 mail-filter/bogofilter/bogofilter-1.2.5.ebuild | 129 +
 2 files changed, 130 insertions(+)

diff --git a/mail-filter/bogofilter/Manifest b/mail-filter/bogofilter/Manifest
index 30f3319892a..0c769c323e6 100644
--- a/mail-filter/bogofilter/Manifest
+++ b/mail-filter/bogofilter/Manifest
@@ -1 +1,2 @@
 DIST bogofilter-1.2.4.tar.bz2 887848 BLAKE2B 
4ed5c15a44f5a166e3858581ccc59b36ebde2fe1eb402cc0471378600b555b2452f4eae04d7d37dcb7638568db0c196da2d2504a3a569d7571c4aacd7e0ceea7
 SHA512 
e8c0b6bcc14f12fbbb2752e697a6d9065e17abfca3f70045ce9fe668d01c1cfad4adaa35c81546ecdd3639b0c28f3f4776bb5ed4699f21e9e2a5b19ca33479db
+DIST bogofilter-1.2.5.tar.xz 801240 BLAKE2B 
90fc5f0ab258ada722ca2fb79d17279b621eb089f646eade2ab41b78c44deea7f3fd8f219053e09ce5b4c64f5fc81f43a17c20b84261b22d5529c06106e80b3c
 SHA512 
3a7280485cfe5802dd3e9721c153f88ccf28bff7a6a24590e985e860d1f1e0ddea7bde8a8e5ad1ff643e94c9fd7b26b2a5ed5a9fb991cee3fd5b0ce67ce9abfe

diff --git a/mail-filter/bogofilter/bogofilter-1.2.5.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.5.ebuild
new file mode 100644
index 000..6b621458523
--- /dev/null
+++ b/mail-filter/bogofilter/bogofilter-1.2.5.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools db-use flag-o-matic toolchain-funcs
+
+DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for 
speed"
+HOMEPAGE="http://bogofilter.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3+ CC-BY-ND-3.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="berkdb sqlite tokyocabinet"
+
+# pax needed for bf_tar
+DEPEND="
+   app-arch/pax
+   sci-libs/gsl:=
+   virtual/libiconv
+   berkdb?  ( >=sys-libs/db-3.2:* )
+   !berkdb? (
+   sqlite?  ( >=dev-db/sqlite-3.6.22 )
+   !sqlite? (
+   tokyocabinet? ( dev-db/tokyocabinet )
+   !tokyocabinet? ( >=sys-libs/db-3.2:* )
+   )
+   )
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+   has_version mail-filter/bogofilter || return 0
+   if  (   use berkdb && ! has_version 'mail-filter/bogofilter[berkdb]' ) 
|| \
+   ( ! use berkdb &&   has_version 
'mail-filter/bogofilter[berkdb]' ) || \
+   (   use sqlite && ! has_version 
'mail-filter/bogofilter[sqlite]' ) || \
+   ( ! use sqlite &&   has_version 
'mail-filter/bogofilter[sqlite]' ) || \
+   ( has_version '>=mail-filter/bogofilter-1.2.1-r1' && \
+   (   use tokyocabinet && ! has_version 
'mail-filter/bogofilter[tokyocabinet]' ) || \
+   ( ! use tokyocabinet &&   has_version 
'mail-filter/bogofilter[tokyocabinet]' )
+   ) ; then
+   ewarn
+   ewarn "If you want to switch the database backend, you must 
dump the wordlist"
+   ewarn "with the current version (old use flags) and load it 
with the new version!"
+   ewarn
+   fi
+}
+
+src_prepare() {
+   default
+
+   # bug 445918
+   sed -i -e 's/ -ggdb//' configure.ac || die
+
+   # bug 421747
+   chmod +x 
src/tests/t.{ctype,leakfind,lexer.qpcr,lexer.eoh,message_id,queue_id} || die
+
+   # bug 654990
+   sed -i -e 's/t.bulkmode//' \
+   -e 's/t.dump.load//' \
+   -e 's/t.nonascii.replace//' \
+   src/tests/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   local myconf="" berkdb=true
+   myconf="--without-included-gsl"
+
+   # determine backend: berkdb *is* default
+   if use berkdb && use sqlite ; then
+   elog "Both useflags berkdb and sqlite are in USE:"
+   elog "Using berkdb as database backend."
+   elif use berkdb && use tokyocabinet ; then
+   elog "Both useflags berkdb and tokyocabinet are in USE:"
+   elog "Using berkdb as database backend."
+   elif use sqlite && use tokyocabinet ; then
+   elog "Both useflags sqlite and tokyocabinet are in USE:"
+   elog "Using sqlite as database backend."
+   myconf="${myconf} --with-database=sqlite"
+   berkdb=false
+   elif use sqlite ; then
+   myconf="${myconf} 

[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2021-07-08 Thread Joonas Niilola
commit: a2b96f8b5734f79946fe57ba30ce10f080fc2f3f
Author: Marco Scardovi  scardovi  com>
AuthorDate: Thu Jun 24 15:10:31 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jul  8 07:35:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2b96f8b

mail-filter/bogofilter: add myself as proxy-maintainer

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Marco Scardovi  scardovi.com>
Closes: https://github.com/gentoo/gentoo/pull/21406
Signed-off-by: Joonas Niilola  gentoo.org>

 mail-filter/bogofilter/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/metadata.xml 
b/mail-filter/bogofilter/metadata.xml
index 65b8ce19428..3de4cce9643 100644
--- a/mail-filter/bogofilter/metadata.xml
+++ b/mail-filter/bogofilter/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   ma...@scardovi.com
+   Marco Scardovi
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

Bogofilter is a mail filter that classifies mail as spam or ham 
(non-spam)
by a statistical analysis of the message's header and content 
(body). The



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2021-06-12 Thread David Seifert
commit: 492e507eeb751e5919d9d224e45ce7bfd506d735
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jun 12 13:41:26 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jun 12 13:41:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=492e507e

mail-filter/bogofilter: drop inactive maintainer

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 mail-filter/bogofilter/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/mail-filter/bogofilter/metadata.xml 
b/mail-filter/bogofilter/metadata.xml
index e8137c9d6c9..65b8ce19428 100644
--- a/mail-filter/bogofilter/metadata.xml
+++ b/mail-filter/bogofilter/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   j...@gentoo.org
-   Johannes Huber
-   
+   

Bogofilter is a mail filter that classifies mail as spam or ham 
(non-spam)
by a statistical analysis of the message's header and content 
(body). The



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2020-03-24 Thread Johannes Huber
commit: ed7c587fa7517f772c8ec629c2a27fb30ed5a92c
Author: Johannes Huber  gentoo  org>
AuthorDate: Tue Mar 24 15:35:58 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue Mar 24 15:36:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed7c587f

mail-filter/bogofilter: Remove 1.2.4-r2

Package-Manager: Portage-2.3.95, Repoman-2.3.21
Signed-off-by: Johannes Huber  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild | 131 --
 1 file changed, 131 deletions(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
deleted file mode 100644
index 195141b4503..000
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools db-use flag-o-matic toolchain-funcs
-
-DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for 
speed"
-HOMEPAGE="http://bogofilter.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ppc ppc64 ~sh ~sparc x86"
-IUSE="berkdb sqlite tokyocabinet"
-
-# pax needed for bf_tar
-DEPEND="
-   app-arch/pax
-   sci-libs/gsl:=
-   virtual/libiconv
-   berkdb?  ( >=sys-libs/db-3.2:* )
-   !berkdb? (
-   sqlite?  ( >=dev-db/sqlite-3.6.22 )
-   !sqlite? (
-   tokyocabinet? ( dev-db/tokyocabinet )
-   !tokyocabinet? ( >=sys-libs/db-3.2:* )
-   )
-   )
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}-test-env.patch" )
-
-pkg_setup() {
-   has_version mail-filter/bogofilter || return 0
-   if  (   use berkdb && ! has_version 'mail-filter/bogofilter[berkdb]' ) 
|| \
-   ( ! use berkdb &&   has_version 
'mail-filter/bogofilter[berkdb]' ) || \
-   (   use sqlite && ! has_version 
'mail-filter/bogofilter[sqlite]' ) || \
-   ( ! use sqlite &&   has_version 
'mail-filter/bogofilter[sqlite]' ) || \
-   ( has_version '>=mail-filter/bogofilter-1.2.1-r1' && \
-   (   use tokyocabinet && ! has_version 
'mail-filter/bogofilter[tokyocabinet]' ) || \
-   ( ! use tokyocabinet &&   has_version 
'mail-filter/bogofilter[tokyocabinet]' )
-   ) ; then
-   ewarn
-   ewarn "If you want to switch the database backend, you must 
dump the wordlist"
-   ewarn "with the current version (old use flags) and load it 
with the new version!"
-   ewarn
-   fi
-}
-
-src_prepare() {
-   default
-
-   # bug 445918
-   sed -i -e 's/ -ggdb//' configure.ac || die
-
-   # bug 421747
-   chmod +x 
src/tests/t.{ctype,leakfind,lexer.qpcr,lexer.eoh,message_id,queue_id}
-
-   # bug 654990
-   sed -i -e 's/t.bulkmode//' \
-   -e 's/t.dump.load//' \
-   -e 's/t.nonascii.replace//' \
-   src/tests/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   local myconf="" berkdb=true
-   myconf="--without-included-gsl"
-
-   # determine backend: berkdb *is* default
-   if use berkdb && use sqlite ; then
-   elog "Both useflags berkdb and sqlite are in USE:"
-   elog "Using berkdb as database backend."
-   elif use berkdb && use tokyocabinet ; then
-   elog "Both useflags berkdb and tokyocabinet are in USE:"
-   elog "Using berkdb as database backend."
-   elif use sqlite && use tokyocabinet ; then
-   elog "Both useflags sqlite and tokyocabinet are in USE:"
-   elog "Using sqlite as database backend."
-   myconf="${myconf} --with-database=sqlite"
-   berkdb=false
-   elif use sqlite ; then
-   myconf="${myconf} --with-database=sqlite"
-   berkdb=false
-   elif use tokyocabinet ; then
-   myconf="${myconf} --with-database=tokyocabinet"
-   berkdb=false
-   elif ! use berkdb ; then
-   elog "Neither berkdb nor sqlite nor tokyocabinet are in USE:"
-   elog "Using berkdb as database backend."
-   fi
-
-   # Include the right berkdb headers for FreeBSD
-   if ${berkdb} ; then
-   append-cppflags "-I$(db_includedir)"
-   fi
-
-   econf ${myconf}
-}
-
-src_test() {
-   emake -C src/ check
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   exeinto /usr/share/${PN}/contrib
-   doexe contrib/{bogofilter-qfe,parmtest,randomtrain}.sh \
-   contrib/{bfproxy,bogominitrain,mime.get.rfc822,printmaildir}.pl 
\
-   contrib/{spamitarium,stripsearch}.pl
-
-   insinto /usr/share/${PN}/contrib
-   doins 

[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2020-03-19 Thread Mart Raudsepp
commit: d5742f59bc2a5873bda952174e50e4d08f7708f1
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Thu Mar 19 20:32:36 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu Mar 19 20:38:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5742f59

mail-filter/bogofilter: arm64 stable (bug #709710)

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
index 7bb589b17c1..bfba8461099 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 ~sh ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ppc ppc64 ~sh ~sparc x86"
 IUSE="berkdb sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2020-02-17 Thread Agostino Sarubbo
commit: 54f78b8c4ad3d2a190933a20f79bf617f926011b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb 17 12:16:54 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb 17 12:16:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54f78b8c

mail-filter/bogofilter: ia64 stable wrt bug #709710

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
index f1b098ae3ef..b2d6da30172 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sh ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ppc ~ppc64 ~sh ~sparc x86"
 IUSE="berkdb sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2020-02-17 Thread Agostino Sarubbo
commit: ae33cca4c20ca2287bb1576a70182f224171a54d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb 17 12:11:38 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb 17 12:11:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae33cca4

mail-filter/bogofilter: amd64 stable wrt bug #709710

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
index b7cf1bd4b77..f1b098ae3ef 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sh ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sh ~sparc x86"
 IUSE="berkdb sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2020-02-17 Thread Agostino Sarubbo
commit: 097afd52c043900b0ffcfd65846636cf5510cd99
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb 17 12:08:12 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb 17 12:08:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=097afd52

mail-filter/bogofilter: ppc stable wrt bug #709710

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
index 7dbd8688028..b7cf1bd4b77 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sh ~sparc x86"
 IUSE="berkdb sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2020-02-17 Thread Agostino Sarubbo
commit: 0c2114ea81f39807b1990b3b591ba8fd9f85614d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb 17 11:44:35 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb 17 11:44:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c2114ea

mail-filter/bogofilter: arm stable wrt bug #709710

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
index 0c05b327f47..7dbd8688028 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
 IUSE="berkdb sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2020-01-12 Thread Johannes Huber
commit: b5749f59d491b07f85c359b9b1595e24e80db913
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Jan 12 13:08:31 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Jan 12 13:08:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5749f59

mail-filter/bogofilter: EAPI 7

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild | 131 ++
 1 file changed, 131 insertions(+)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
new file mode 100644
index 000..278f265ab73
--- /dev/null
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools db-use flag-o-matic toolchain-funcs
+
+DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for 
speed"
+HOMEPAGE="http://bogofilter.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="berkdb sqlite tokyocabinet"
+
+# pax needed for bf_tar
+DEPEND="
+   app-arch/pax
+   sci-libs/gsl:=
+   virtual/libiconv
+   berkdb?  ( >=sys-libs/db-3.2:* )
+   !berkdb? (
+   sqlite?  ( >=dev-db/sqlite-3.6.22 )
+   !sqlite? (
+   tokyocabinet? ( dev-db/tokyocabinet )
+   !tokyocabinet? ( >=sys-libs/db-3.2:* )
+   )
+   )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-test-env.patch" )
+
+pkg_setup() {
+   has_version mail-filter/bogofilter || return 0
+   if  (   use berkdb && ! has_version 'mail-filter/bogofilter[berkdb]' ) 
|| \
+   ( ! use berkdb &&   has_version 
'mail-filter/bogofilter[berkdb]' ) || \
+   (   use sqlite && ! has_version 
'mail-filter/bogofilter[sqlite]' ) || \
+   ( ! use sqlite &&   has_version 
'mail-filter/bogofilter[sqlite]' ) || \
+   ( has_version '>=mail-filter/bogofilter-1.2.1-r1' && \
+   (   use tokyocabinet && ! has_version 
'mail-filter/bogofilter[tokyocabinet]' ) || \
+   ( ! use tokyocabinet &&   has_version 
'mail-filter/bogofilter[tokyocabinet]' )
+   ) ; then
+   ewarn
+   ewarn "If you want to switch the database backend, you must 
dump the wordlist"
+   ewarn "with the current version (old use flags) and load it 
with the new version!"
+   ewarn
+   fi
+}
+
+src_prepare() {
+   default
+
+   # bug 445918
+   sed -i -e 's/ -ggdb//' configure.ac || die
+
+   # bug 421747
+   chmod +x 
src/tests/t.{ctype,leakfind,lexer.qpcr,lexer.eoh,message_id,queue_id} || die
+
+   # bug 654990
+   sed -i -e 's/t.bulkmode//' \
+   -e 's/t.dump.load//' \
+   -e 's/t.nonascii.replace//' \
+   src/tests/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   local myconf="" berkdb=true
+   myconf="--without-included-gsl"
+
+   # determine backend: berkdb *is* default
+   if use berkdb && use sqlite ; then
+   elog "Both useflags berkdb and sqlite are in USE:"
+   elog "Using berkdb as database backend."
+   elif use berkdb && use tokyocabinet ; then
+   elog "Both useflags berkdb and tokyocabinet are in USE:"
+   elog "Using berkdb as database backend."
+   elif use sqlite && use tokyocabinet ; then
+   elog "Both useflags sqlite and tokyocabinet are in USE:"
+   elog "Using sqlite as database backend."
+   myconf="${myconf} --with-database=sqlite"
+   berkdb=false
+   elif use sqlite ; then
+   myconf="${myconf} --with-database=sqlite"
+   berkdb=false
+   elif use tokyocabinet ; then
+   myconf="${myconf} --with-database=tokyocabinet"
+   berkdb=false
+   elif ! use berkdb ; then
+   elog "Neither berkdb nor sqlite nor tokyocabinet are in USE:"
+   elog "Using berkdb as database backend."
+   fi
+
+   # Include the right berkdb headers for FreeBSD
+   if ${berkdb} ; then
+   append-cppflags "-I$(db_includedir)"
+   fi
+
+   econf ${myconf}
+}
+
+src_test() {
+   emake -C src/ check
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   exeinto /usr/share/${PN}/contrib
+   doexe contrib/{bogofilter-qfe,parmtest,randomtrain}.sh \
+   contrib/{bfproxy,bogominitrain,mime.get.rfc822,printmaildir}.pl 
\
+   contrib/{spamitarium,stripsearch}.pl
+
+   insinto /usr/share/${PN}/contrib
+   doins 

[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2019-03-19 Thread Andreas Sturmlechner
commit: 66cad1ee0205fcd46c27d7b79c85736063bf8e56
Author: Roy Bamford  gentoo  org>
AuthorDate: Wed Mar 13 21:48:30 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Mar 19 11:18:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66cad1ee

mail-filter/bogofilter: added ~arm64

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Roy Bamford  gentoo.org>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
index f83e1f2d5ab..86db3f12cfa 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 ~sh ~sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 ~sh ~sparc x86 ~x86-fbsd"
 IUSE="berkdb sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/, mail-filter/bogofilter/files/

2018-10-21 Thread Johannes Huber
commit: 31f964fa027019c0e51068629c80c60450f3dcfb
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Oct 21 09:43:54 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Oct 21 09:44:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31f964fa

mail-filter/bogofilter: Remove 1.2.4-r1

Overshadowed by 1.2.4-r2.

Signed-off-by: Johannes Huber  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild  | 126 -
 .../bogofilter/files/bogofilter-1.2.2-gcc34.patch  |  24 
 2 files changed, 150 deletions(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild
deleted file mode 100644
index 5ccb2b340a5..000
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools db-use eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for 
speed"
-HOMEPAGE="http://bogofilter.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd"
-IUSE="berkdb sqlite tokyocabinet"
-
-DEPEND="
-   virtual/libiconv
-   berkdb?  ( >=sys-libs/db-3.2:* )
-   !berkdb? (
-   sqlite?  ( >=dev-db/sqlite-3.6.22 )
-   !sqlite? (
-   tokyocabinet? ( dev-db/tokyocabinet )
-   !tokyocabinet? ( >=sys-libs/db-3.2:* )
-   )
-   )
-   sci-libs/gsl:=
-   app-arch/pax"
-# pax needed for bf_tar
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-   has_version mail-filter/bogofilter || return 0
-   if  (   use berkdb && ! has_version 'mail-filter/bogofilter[berkdb]' ) 
|| \
-   ( ! use berkdb &&   has_version 
'mail-filter/bogofilter[berkdb]' ) || \
-   (   use sqlite && ! has_version 
'mail-filter/bogofilter[sqlite]' ) || \
-   ( ! use sqlite &&   has_version 
'mail-filter/bogofilter[sqlite]' ) || \
-   ( has_version '>=mail-filter/bogofilter-1.2.1-r1' && \
-   (   use tokyocabinet && ! has_version 
'mail-filter/bogofilter[tokyocabinet]' ) || \
-   ( ! use tokyocabinet &&   has_version 
'mail-filter/bogofilter[tokyocabinet]' )
-   ) ; then
-   ewarn
-   ewarn "If you want to switch the database backend, you must 
dump the wordlist"
-   ewarn "with the current version (old use flags) and load it 
with the new version!"
-   ewarn
-   fi
-}
-
-src_prepare() {
-   # bug 445918
-   sed -i -e 's/ -ggdb//' configure.ac || die
-
-   # bug 421747
-   epatch "${FILESDIR}"/${P}-test-env.patch
-   chmod +x 
src/tests/t.{ctype,leakfind,lexer.qpcr,lexer.eoh,message_id,queue_id}
-
-   eautoreconf
-}
-
-src_configure() {
-   local myconf="" berkdb=true
-   myconf="--without-included-gsl"
-
-   # determine backend: berkdb *is* default
-   if use berkdb && use sqlite ; then
-   elog "Both useflags berkdb and sqlite are in USE:"
-   elog "Using berkdb as database backend."
-   elif use berkdb && use tokyocabinet ; then
-   elog "Both useflags berkdb and tokyocabinet are in USE:"
-   elog "Using berkdb as database backend."
-   elif use sqlite && use tokyocabinet ; then
-   elog "Both useflags sqlite and tokyocabinet are in USE:"
-   elog "Using sqlite as database backend."
-   myconf="${myconf} --with-database=sqlite"
-   berkdb=false
-   elif use sqlite ; then
-   myconf="${myconf} --with-database=sqlite"
-   berkdb=false
-   elif use tokyocabinet ; then
-   myconf="${myconf} --with-database=tokyocabinet"
-   berkdb=false
-   elif ! use berkdb ; then
-   elog "Neither berkdb nor sqlite nor tokyocabinet are in USE:"
-   elog "Using berkdb as database backend."
-   fi
-
-   # Include the right berkdb headers for FreeBSD
-   if ${berkdb} ; then
-   append-cppflags "-I$(db_includedir)"
-   fi
-
-   # bug #324405
-   if [[ $(gcc-version) == "3.4" ]] ; then
-   epatch "${FILESDIR}"/${PN}-1.2.2-gcc34.patch
-   fi
-
-   econf ${myconf}
-}
-
-src_test() {
-   emake -C src/ check
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   exeinto /usr/share/${PN}/contrib
-   doexe contrib/{bogofilter-qfe,parmtest,randomtrain}.sh \
-   contrib/{bfproxy,bogominitrain,mime.get.rfc822,printmaildir}.pl 
\
-   contrib/{spamitarium,stripsearch}.pl
-
-   insinto /usr/share/${PN}/contrib
-   

[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2018-10-20 Thread Markus Meier
commit: 21ebfb12411ab46d9725a97bb8fbe8bf139b9b8f
Author: Markus Meier  gentoo  org>
AuthorDate: Sat Oct 20 11:21:38 2018 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sat Oct 20 11:21:38 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21ebfb12

mail-filter/bogofilter: arm stable, bug #666848

Signed-off-by: Markus Meier  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
RepoMan-Options: --include-arches="arm"

 mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
index 03dddccbeb2..f83e1f2d5ab 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 ~sh ~sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 ~sh ~sparc x86 ~x86-fbsd"
 IUSE="berkdb sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2018-10-14 Thread Sergei Trofimovich
commit: cf5c83591640ccc92f858a362b8c1b24187a829e
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Oct 14 09:11:28 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Oct 14 09:14:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf5c8359

mail-filter/bogofilter: stable 1.2.4-r2 for ppc64, bug #666848

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc64"

 mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
index 5cb63af083b..03dddccbeb2 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 ~sh ~sparc x86 ~x86-fbsd"
 IUSE="berkdb sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2018-10-14 Thread Sergei Trofimovich
commit: 768889293155045f95dc5637471e8702732e5a8b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Oct 14 08:54:12 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Oct 14 08:54:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76888929

mail-filter/bogofilter: stable 1.2.4-r2 for ppc, bug #666848

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc"

 mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
index 69e7802dbf4..5cb63af083b 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd"
 IUSE="berkdb sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2018-10-12 Thread Mikle Kolyada
commit: 68aa3b2eb317fbafbc0c0122b037a1a99ffbd50d
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Oct 12 13:56:02 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Oct 12 13:56:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68aa3b2e

mail-filter/bogofilter: amd64 stable wrt bug #666848

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
index 5008540d98a..69e7802dbf4 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd"
 IUSE="berkdb sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2018-10-12 Thread Tobias Klausmann
commit: 545e584aef59792b70a921854aeb2591ff1fd7e2
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri Oct 12 07:32:16 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri Oct 12 07:32:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=545e584a

mail-filter/bogofilter-1.2.4-r2: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/666848
Signed-off-by: Tobias Klausmann  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
index da01b7d2674..5008540d98a 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd"
+KEYWORDS="alpha ~amd64 ~arm ~hppa ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd"
 IUSE="berkdb sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2018-10-01 Thread Thomas Deutschmann
commit: 83e47482dc68de9223da1dd67900cb7ca537113d
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Oct  1 21:32:17 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Oct  1 21:45:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83e47482

mail-filter/bogofilter: x86 stable (bug #666848)

Signed-off-by: Thomas Deutschmann  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
index 0be07cf8a7b..75349ed4bda 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd"
 IUSE="berkdb sqlite tokyocabinet"
 
 # pax needed for bf_tar



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2018-07-17 Thread Johannes Huber
commit: 02721a6f36078a7fb1f2be96b41176dcb07d994b
Author: Johannes Huber  gentoo  org>
AuthorDate: Tue Jul 17 07:29:15 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue Jul 17 07:30:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02721a6f

mail-filter/bogofilter: Revision bump 1.2.4-r2

EAPI 6. Drops gcc 3.4 patch. Sorts dependencies. Drops failing tests.

Closes: https://bugs.gentoo.org/654990
Package-Manager: Portage-2.3.43, Repoman-2.3.10

 mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild | 131 ++
 1 file changed, 131 insertions(+)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
new file mode 100644
index 000..0be07cf8a7b
--- /dev/null
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools db-use flag-o-matic toolchain-funcs
+
+DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for 
speed"
+HOMEPAGE="http://bogofilter.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="berkdb sqlite tokyocabinet"
+
+# pax needed for bf_tar
+DEPEND="
+   app-arch/pax
+   sci-libs/gsl:=
+   virtual/libiconv
+   berkdb?  ( >=sys-libs/db-3.2:* )
+   !berkdb? (
+   sqlite?  ( >=dev-db/sqlite-3.6.22 )
+   !sqlite? (
+   tokyocabinet? ( dev-db/tokyocabinet )
+   !tokyocabinet? ( >=sys-libs/db-3.2:* )
+   )
+   )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-test-env.patch" )
+
+pkg_setup() {
+   has_version mail-filter/bogofilter || return 0
+   if  (   use berkdb && ! has_version 'mail-filter/bogofilter[berkdb]' ) 
|| \
+   ( ! use berkdb &&   has_version 
'mail-filter/bogofilter[berkdb]' ) || \
+   (   use sqlite && ! has_version 
'mail-filter/bogofilter[sqlite]' ) || \
+   ( ! use sqlite &&   has_version 
'mail-filter/bogofilter[sqlite]' ) || \
+   ( has_version '>=mail-filter/bogofilter-1.2.1-r1' && \
+   (   use tokyocabinet && ! has_version 
'mail-filter/bogofilter[tokyocabinet]' ) || \
+   ( ! use tokyocabinet &&   has_version 
'mail-filter/bogofilter[tokyocabinet]' )
+   ) ; then
+   ewarn
+   ewarn "If you want to switch the database backend, you must 
dump the wordlist"
+   ewarn "with the current version (old use flags) and load it 
with the new version!"
+   ewarn
+   fi
+}
+
+src_prepare() {
+   default
+
+   # bug 445918
+   sed -i -e 's/ -ggdb//' configure.ac || die
+
+   # bug 421747
+   chmod +x 
src/tests/t.{ctype,leakfind,lexer.qpcr,lexer.eoh,message_id,queue_id}
+
+   # bug 654990
+   sed -i -e 's/t.bulkmode//' \
+   -e 's/t.dump.load//' \
+   -e 's/t.nonascii.replace//' \
+   src/tests/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   local myconf="" berkdb=true
+   myconf="--without-included-gsl"
+
+   # determine backend: berkdb *is* default
+   if use berkdb && use sqlite ; then
+   elog "Both useflags berkdb and sqlite are in USE:"
+   elog "Using berkdb as database backend."
+   elif use berkdb && use tokyocabinet ; then
+   elog "Both useflags berkdb and tokyocabinet are in USE:"
+   elog "Using berkdb as database backend."
+   elif use sqlite && use tokyocabinet ; then
+   elog "Both useflags sqlite and tokyocabinet are in USE:"
+   elog "Using sqlite as database backend."
+   myconf="${myconf} --with-database=sqlite"
+   berkdb=false
+   elif use sqlite ; then
+   myconf="${myconf} --with-database=sqlite"
+   berkdb=false
+   elif use tokyocabinet ; then
+   myconf="${myconf} --with-database=tokyocabinet"
+   berkdb=false
+   elif ! use berkdb ; then
+   elog "Neither berkdb nor sqlite nor tokyocabinet are in USE:"
+   elog "Using berkdb as database backend."
+   fi
+
+   # Include the right berkdb headers for FreeBSD
+   if ${berkdb} ; then
+   append-cppflags "-I$(db_includedir)"
+   fi
+
+   econf ${myconf}
+}
+
+src_test() {
+   emake -C src/ check
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   exeinto /usr/share/${PN}/contrib
+   doexe contrib/{bogofilter-qfe,parmtest,randomtrain}.sh \
+   contrib/{bfproxy,bogominitrain,mime.get.rfc822,printmaildir}.pl 
\
+   contrib/{spamitarium,stripsearch}.pl
+
+   

[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2016-11-06 Thread Pacho Ramos
commit: bbc8416960016a9caea0b60fcc9d0123ae119ac5
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Nov  6 10:40:05 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Nov  6 10:42:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc84169

mail-filter/bogofilter: Looks compatible with all newer db slots

Package-Manager: portage-2.3.2

 mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild
index 62eb710..c398220 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild
@@ -17,12 +17,12 @@ IUSE="berkdb sqlite tokyocabinet"
 
 DEPEND="
virtual/libiconv
-   berkdb?  ( >=sys-libs/db-3.2 )
+   berkdb?  ( >=sys-libs/db-3.2:* )
!berkdb? (
sqlite?  ( >=dev-db/sqlite-3.6.22 )
!sqlite? (
tokyocabinet? ( dev-db/tokyocabinet )
-   !tokyocabinet? ( >=sys-libs/db-3.2 )
+   !tokyocabinet? ( >=sys-libs/db-3.2:* )
)
)
sci-libs/gsl:=



[gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/

2016-02-12 Thread Justin Lecher
commit: 70adcb59cf59adbea6f84d01c6d856e67a8714ab
Author: Justin Lecher  gentoo  org>
AuthorDate: Fri Feb 12 09:54:42 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Fri Feb 12 10:07:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70adcb59

mail-filter/bogofilter: Add SLOT operator for gsl

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild 
b/mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild
index 348722a..62eb710 100644
--- a/mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild
+++ b/mail-filter/bogofilter/bogofilter-1.2.4-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
+
 inherit autotools db-use eutils flag-o-matic toolchain-funcs
 
 DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for 
speed"
@@ -14,7 +15,8 @@ SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd"
 IUSE="berkdb sqlite tokyocabinet"
 
-DEPEND="virtual/libiconv
+DEPEND="
+   virtual/libiconv
berkdb?  ( >=sys-libs/db-3.2 )
!berkdb? (
sqlite?  ( >=dev-db/sqlite-3.6.22 )
@@ -23,7 +25,7 @@ DEPEND="virtual/libiconv
!tokyocabinet? ( >=sys-libs/db-3.2 )
)
)
-   sci-libs/gsl
+   sci-libs/gsl:=
app-arch/pax"
 # pax needed for bf_tar
 RDEPEND="${DEPEND}"