diff options
author | 2007-11-28 19:45:14 +0000 | |
---|---|---|
committer | 2007-11-28 19:45:14 +0000 | |
commit | f29cec3e2d61539e369adcd759aaf251aab71297 (patch) | |
tree | 3fdddc49dd35c98ad194a8f777bff36a99820c93 /mail-filter | |
parent | amd64 stable wrt #200612 (diff) | |
download | gentoo-2-f29cec3e2d61539e369adcd759aaf251aab71297.tar.gz gentoo-2-f29cec3e2d61539e369adcd759aaf251aab71297.tar.bz2 gentoo-2-f29cec3e2d61539e369adcd759aaf251aab71297.zip |
Version bump
(Portage version: 2.1.4_rc3)
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/bogofilter/ChangeLog | 7 | ||||
-rw-r--r-- | mail-filter/bogofilter/bogofilter-1.1.6.ebuild | 77 | ||||
-rw-r--r-- | mail-filter/bogofilter/files/digest-bogofilter-1.1.6 | 3 |
3 files changed, 86 insertions, 1 deletions
diff --git a/mail-filter/bogofilter/ChangeLog b/mail-filter/bogofilter/ChangeLog index dbfdb6193505..3a4e34544cd1 100644 --- a/mail-filter/bogofilter/ChangeLog +++ b/mail-filter/bogofilter/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-filter/bogofilter # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.92 2007/07/14 15:28:42 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.93 2007/11/28 19:45:13 tove Exp $ + +*bogofilter-1.1.6 (28 Nov 2007) + + 28 Nov 2007; Torsten Veller <tove@gentoo.org> +bogofilter-1.1.6.ebuild: + Version bump. 14 Jul 2007; Torsten Veller <tove@gentoo.org> -files/1.1.1-patch.1107.lexer_v3_l, bogofilter-0.92.8.ebuild, diff --git a/mail-filter/bogofilter/bogofilter-1.1.6.ebuild b/mail-filter/bogofilter/bogofilter-1.1.6.ebuild new file mode 100644 index 000000000000..22cb7a323db5 --- /dev/null +++ b/mail-filter/bogofilter/bogofilter-1.1.6.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-1.1.6.ebuild,v 1.1 2007/11/28 19:45:13 tove Exp $ + +inherit db-use flag-o-matic + +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="gsl berkdb sqlite" + +DEPEND="virtual/libiconv + berkdb? ( >=sys-libs/db-3.2 ) + !berkdb? ( + sqlite? ( >=dev-db/sqlite-3.4.2 ) + !sqlite? ( >=sys-libs/db-3.2 ) ) + gsl? ( sci-libs/gsl )" +# app-arch/pax" # only needed for bf_tar + +src_compile() { + local myconf="" berkdb=true + myconf="$(use_with !gsl 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 sqlite ; then + myconf="${myconf} --with-database=sqlite" + berkdb=false + elif ! use berkdb ; then + elog "Neither berkdb nor sqlite are in USE:" + elog "Using berkdb as database backend." + fi + + # Include the right berkdb headers for FreeBSD + if ${berkdb} ; then + append-flags "-I$(db_includedir)" + fi + + econf ${myconf} || die "configure failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + exeinto /usr/share/${PN}/contrib + doexe contrib/{bogofilter-qfe,parmtest,randomtrain}.sh \ + contrib/{bfproxy,bogominitrain,mime.get.rfc822,printmaildir}.pl \ + contrib/{spamitarium,stripsearch}.pl || die "doexec failed" + + insinto /usr/share/${PN}/contrib + doins contrib/{README.*,dot-qmail-bogofilter-default} \ + contrib/{bogogrep.c,bogo.R,bogofilter-milter.pl,*.example} \ + contrib/vm-bogofilter.el \ + contrib/{trainbogo,scramble}.sh || die "doins failed" + + dodoc AUTHORS NEWS README RELEASE.NOTES* TODO GETTING.STARTED \ + doc/integrating-with-* doc/README.{db,sqlite} || die "dodoc failed" + + dohtml doc/*.html + + dodir /usr/share/doc/${PF}/samples + mv "${D}"/etc/bogofilter.cf.example "${D}"/usr/share/doc/${PF}/samples/ + rmdir "${D}"/etc +} + +pkg_postinst() { + echo + elog "If you need ${ROOT}usr/bin/bf_tar please install app-arch/pax." + echo +} diff --git a/mail-filter/bogofilter/files/digest-bogofilter-1.1.6 b/mail-filter/bogofilter/files/digest-bogofilter-1.1.6 new file mode 100644 index 000000000000..048b98c9aee7 --- /dev/null +++ b/mail-filter/bogofilter/files/digest-bogofilter-1.1.6 @@ -0,0 +1,3 @@ +MD5 2cdf713d312b3f2798d8439b8f6dbce0 bogofilter-1.1.6.tar.bz2 830341 +RMD160 d8132616f7cb041b9479c35f9c35319cadb07ec5 bogofilter-1.1.6.tar.bz2 830341 +SHA256 32d93f4bde97f0b56dd75a6d89a84ae183cd720de7607be86bd20bc60c87eb86 bogofilter-1.1.6.tar.bz2 830341 |