summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-06-03 07:02:01 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-06-03 07:02:01 +0000
commit501bec8a99150bf2b8bc90f7fd5c605da0cbee0c (patch)
tree455e2b69604bfb05271d83554d80e37e49a769c0 /mail-filter
parentMoving to mail-filter/bmf (diff)
downloadhistorical-501bec8a99150bf2b8bc90f7fd5c605da0cbee0c.tar.gz
historical-501bec8a99150bf2b8bc90f7fd5c605da0cbee0c.tar.bz2
historical-501bec8a99150bf2b8bc90f7fd5c605da0cbee0c.zip
Moved from net-mail/bmf to mail-filter/bmf.
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/bmf/ChangeLog14
-rw-r--r--mail-filter/bmf/Manifest4
-rw-r--r--mail-filter/bmf/bmf-0.9.4.ebuild41
-rw-r--r--mail-filter/bmf/files/digest-bmf-0.9.41
-rw-r--r--mail-filter/bmf/metadata.xml5
5 files changed, 65 insertions, 0 deletions
diff --git a/mail-filter/bmf/ChangeLog b/mail-filter/bmf/ChangeLog
new file mode 100644
index 000000000000..f0cdcc033fc5
--- /dev/null
+++ b/mail-filter/bmf/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for net-mail/bmf
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/bmf/ChangeLog,v 1.1 2004/06/03 07:02:01 seemant Exp $
+
+*bmf-0.9.4 (03 Jun 2004)
+
+ 03 Jun 2004; Seemant Kulleen <seemant@gentoo.org> +metadata.xml,
+ +bmf-0.9.4.ebuild:
+ Moved from net-mail/bmf to mail-filter/bmf.
+
+*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/mail-filter/bmf/Manifest b/mail-filter/bmf/Manifest
new file mode 100644
index 000000000000..cf2401d4f987
--- /dev/null
+++ b/mail-filter/bmf/Manifest
@@ -0,0 +1,4 @@
+MD5 36f7fc6c0159f39305774ae990a1d7f3 ChangeLog 370
+MD5 b446dca7229a3f38edb30e17bd915074 bmf-0.9.4.ebuild 969
+MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
+MD5 1288bea62a320ffa52af6c5e4fa16100 files/digest-bmf-0.9.4 60
diff --git a/mail-filter/bmf/bmf-0.9.4.ebuild b/mail-filter/bmf/bmf-0.9.4.ebuild
new file mode 100644
index 000000000000..f10754b76d1b
--- /dev/null
+++ b/mail-filter/bmf/bmf-0.9.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/bmf/bmf-0.9.4.ebuild,v 1.1 2004/06/03 07:02:01 seemant 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/mail-filter/bmf/files/digest-bmf-0.9.4 b/mail-filter/bmf/files/digest-bmf-0.9.4
new file mode 100644
index 000000000000..0c66d20c14cd
--- /dev/null
+++ b/mail-filter/bmf/files/digest-bmf-0.9.4
@@ -0,0 +1 @@
+MD5 9cf55df2fa3a05bdc55ba7b0a129591e bmf-0.9.4.tar.gz 36740
diff --git a/mail-filter/bmf/metadata.xml b/mail-filter/bmf/metadata.xml
new file mode 100644
index 000000000000..51f94e3fbe0e
--- /dev/null
+++ b/mail-filter/bmf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-mail</herd>
+</pkgmetadata>