summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2003-07-17 02:59:51 +0000
committerNick Hadaway <raker@gentoo.org>2003-07-17 02:59:51 +0000
commita45dacc0b3c31b7623fe98393635b508f42f9630 (patch)
tree9aef5b84a25fb5e5654b9084023d869ace79a0d4 /net-mail
parentNew ebuild. Comment on bug #19629 if you feel like it. :) (diff)
downloadhistorical-a45dacc0b3c31b7623fe98393635b508f42f9630.tar.gz
historical-a45dacc0b3c31b7623fe98393635b508f42f9630.tar.bz2
historical-a45dacc0b3c31b7623fe98393635b508f42f9630.zip
New ebuild - bayesian spam filter
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/bmf/ChangeLog8
-rw-r--r--net-mail/bmf/Manifest3
-rw-r--r--net-mail/bmf/bmf-0.9.4.ebuild41
-rw-r--r--net-mail/bmf/files/digest-bmf-0.9.41
4 files changed, 53 insertions, 0 deletions
diff --git a/net-mail/bmf/ChangeLog b/net-mail/bmf/ChangeLog
new file mode 100644
index 000000000000..744b0ab85dc9
--- /dev/null
+++ b/net-mail/bmf/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-mail/bmf
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/bmf/ChangeLog,v 1.1 2003/07/17 02:59:51 raker Exp $
+
+*bmf-0.9.4 (16 Jul 2003)
+
+ 16 Jul 2003; Nick Hadaway <raker@gentoo.org> bmf-0.9.4.ebuild:
+ Thanks to Steingrim Dovland for submitting this ebuild in bug #19947.
diff --git a/net-mail/bmf/Manifest b/net-mail/bmf/Manifest
new file mode 100644
index 000000000000..41fef533b043
--- /dev/null
+++ b/net-mail/bmf/Manifest
@@ -0,0 +1,3 @@
+MD5 f448dc75abbf9d5b6e9112811b938a35 bmf-0.9.4.ebuild 886
+MD5 f09291a476eccb8ff760cde4e320423a ChangeLog 286
+MD5 1288bea62a320ffa52af6c5e4fa16100 files/digest-bmf-0.9.4 60
diff --git a/net-mail/bmf/bmf-0.9.4.ebuild b/net-mail/bmf/bmf-0.9.4.ebuild
new file mode 100644
index 000000000000..3078d83564f6
--- /dev/null
+++ b/net-mail/bmf/bmf-0.9.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/bmf/bmf-0.9.4.ebuild,v 1.1 2003/07/17 02:59:51 raker Exp $
+
+IUSE="mysql berkdb"
+
+DESCRIPTION="A fast and small Bayesian spam filter"
+HOMEPAGE="http://bmf.sourceforge.net/"
+SRC_URI="mirror://sourceforge/bmf/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="mysql? ( >=mysql-3.23.56 )
+ berkdb? ( >=db-3.2.9 )"
+
+S=${WORKDIR}/${P}
+
+src_compile() {
+ local myconf
+
+ use mysql || myconf="--without-mysql"
+ use berkdb || myconf="${myconf} --without-libdb"
+
+ ./configure ${myconf} || die "configure failed"
+ emake
+}
+
+src_install() {
+ dodoc README AUTHORS ChangeLog
+ einstall DESTDIR=${D}
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Important: Remember to train bmf before you start using it."
+ einfo "Instructions for training and using bmf with procmail: "
+ einfo "less /usr/share/doc/${P}/README.gz"
+ einfo
+}
diff --git a/net-mail/bmf/files/digest-bmf-0.9.4 b/net-mail/bmf/files/digest-bmf-0.9.4
new file mode 100644
index 000000000000..0c66d20c14cd
--- /dev/null
+++ b/net-mail/bmf/files/digest-bmf-0.9.4
@@ -0,0 +1 @@
+MD5 9cf55df2fa3a05bdc55ba7b0a129591e bmf-0.9.4.tar.gz 36740