Moved from net-mail/bmf to mail-filter/bmf.
authorSeemant Kulleen <seemant@gentoo.org>
Thu, 3 Jun 2004 07:02:01 +0000 (07:02 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Thu, 3 Jun 2004 07:02:01 +0000 (07:02 +0000)
mail-filter/bmf/ChangeLog [new file with mode: 0644]
mail-filter/bmf/Manifest [new file with mode: 0644]
mail-filter/bmf/bmf-0.9.4.ebuild [new file with mode: 0644]
mail-filter/bmf/files/digest-bmf-0.9.4 [new file with mode: 0644]
mail-filter/bmf/metadata.xml [new file with mode: 0644]

diff --git a/mail-filter/bmf/ChangeLog b/mail-filter/bmf/ChangeLog
new file mode 100644 (file)
index 0000000..f0cdcc0
--- /dev/null
@@ -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 (file)
index 0000000..cf2401d
--- /dev/null
@@ -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 (file)
index 0000000..f10754b
--- /dev/null
@@ -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 (file)
index 0000000..0c66d20
--- /dev/null
@@ -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 (file)
index 0000000..51f94e3
--- /dev/null
@@ -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>