From a45dacc0b3c31b7623fe98393635b508f42f9630 Mon Sep 17 00:00:00 2001 From: Nick Hadaway Date: Thu, 17 Jul 2003 02:59:51 +0000 Subject: New ebuild - bayesian spam filter --- net-mail/bmf/ChangeLog | 8 ++++++++ net-mail/bmf/Manifest | 3 +++ net-mail/bmf/bmf-0.9.4.ebuild | 41 +++++++++++++++++++++++++++++++++++++ net-mail/bmf/files/digest-bmf-0.9.4 | 1 + 4 files changed, 53 insertions(+) create mode 100644 net-mail/bmf/ChangeLog create mode 100644 net-mail/bmf/Manifest create mode 100644 net-mail/bmf/bmf-0.9.4.ebuild create mode 100644 net-mail/bmf/files/digest-bmf-0.9.4 (limited to 'net-mail') 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 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 -- cgit v1.2.3-65-gdbad