summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2009-02-22 09:44:41 +0000
committerTorsten Veller <tove@gentoo.org>2009-02-22 09:44:41 +0000
commit8f1dc0e717a0063cc9a4183782c0e5b4228e9a54 (patch)
tree40e1751c6b7332cb3cf034d4e908dbd542e48998
parentAdding ppc keyword (diff)
downloadhistorical-8f1dc0e717a0063cc9a4183782c0e5b4228e9a54.tar.gz
historical-8f1dc0e717a0063cc9a4183782c0e5b4228e9a54.tar.bz2
historical-8f1dc0e717a0063cc9a4183782c0e5b4228e9a54.zip
Version bump
Package-Manager: portage-2.2_rc23/cvs/Linux i686
-rw-r--r--mail-filter/bogofilter/ChangeLog9
-rw-r--r--mail-filter/bogofilter/Manifest10
-rw-r--r--mail-filter/bogofilter/bogofilter-1.2.0.ebuild77
3 files changed, 90 insertions, 6 deletions
diff --git a/mail-filter/bogofilter/ChangeLog b/mail-filter/bogofilter/ChangeLog
index e99fcaaa5f97..484eeaec3a5b 100644
--- a/mail-filter/bogofilter/ChangeLog
+++ b/mail-filter/bogofilter/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/bogofilter
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.111 2008/11/23 08:34:08 tove Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.112 2009/02/22 09:44:41 tove Exp $
+
+*bogofilter-1.2.0 (22 Feb 2009)
+
+ 22 Feb 2009; Torsten Veller <tove@gentoo.org> +bogofilter-1.2.0.ebuild:
+ Version bump
23 Nov 2008; Torsten Veller <tove@gentoo.org> -bogofilter-1.1.5.ebuild,
-bogofilter-1.1.6.ebuild:
diff --git a/mail-filter/bogofilter/Manifest b/mail-filter/bogofilter/Manifest
index 43e1ffb200dc..6a5ff70fe232 100644
--- a/mail-filter/bogofilter/Manifest
+++ b/mail-filter/bogofilter/Manifest
@@ -3,14 +3,16 @@ Hash: SHA1
DIST bogofilter-0.92.8.tar.bz2 637420 RMD160 72b3d7426fca787fcb774b8d6c540a4668796e35 SHA1 ffaf181f71dfee7d4475d5c20fed4a8f50a3e7c4 SHA256 1f2f103b9e0038f789f842ecad11805bb8277f701b747ec3e851b02d3ebfc807
DIST bogofilter-1.1.7.tar.bz2 839687 RMD160 799a375d54441c8fd6355921c468f33f7e65a46f SHA1 b34e2bf224a2139e080960fb44cf2abe1c35c9b3 SHA256 d56a9236cc422309b0419d65a8676c923002993b1d64efae94deecb4fb1d112a
+DIST bogofilter-1.2.0.tar.bz2 885463 RMD160 a7b0db7a6838b7ac575112b76e12507af05cd165 SHA1 cbed66f4b8102af85b90e17e917572b2412b6bf8 SHA256 208fc5f156c2cf3ea4dcfe9fdebe5aaea8b648bbd5e1ee49f45c4c84d8652e7c
EBUILD bogofilter-0.92.8.ebuild 1450 RMD160 a31edc41d7efa22e6f4afcf1146aa134f00a0f6f SHA1 606bd0279fca588423137b9a53f73516e063c876 SHA256 6b6be354f8d6b68c3424a692ef160c778ddede399a06282e59ccbf4a809e3321
EBUILD bogofilter-1.1.7.ebuild 2352 RMD160 defadc9c80fb34344a8fa8d4a8708798c198b33f SHA1 7db17d8c1150535b2aa81a46b4629049a0d1dafb SHA256 7aaa4a563a3bfda16b0147365a19941d28122cbdd210e43af1a6f274b38ec59d
-MISC ChangeLog 22033 RMD160 b384d1068e474a5330eaf0d7a0126ab087c50d21 SHA1 1f1d91188458e5c3f08a79d15f9d56c57f29d42a SHA256 2b9ae3b275e4361f98d53da43fc50a459e4a2e1d09dd05f0b25b496b2ba849e6
+EBUILD bogofilter-1.2.0.ebuild 2338 RMD160 cc2b045f33bf92a76d8d8ca21b8f2a6e4fd98c7b SHA1 4a3b22bc1586600276f788caf9b8cf8e93274f05 SHA256 9c00c7c9af2f806c98822adf448f07a410e2eb1e69790905035e26c8bf093a01
+MISC ChangeLog 22156 RMD160 b4c8d782e5a4c81252807e8bedb5d31b756c528e SHA1 a17d49de25ed64141d207c13ebc1111c3e5a5944 SHA256 f511b903147c004aa90692e0d765c68d559789cd635fb81584942777c104d75d
MISC metadata.xml 424 RMD160 7780bbf745ba6b51f837cdc076b1b315ba8d33b9 SHA1 0b17aa0a89b5854ee1850da8e222b95015e1afd9 SHA256 ace8b08d5d5b207b9226c509b6d1f9610da16264d08033e28713df61063563d9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkkpFXAACgkQV3J2n04EauxEEQCgnqTeie2Ia4HXLmSkaH80BGTt
-Z5cAnjuueFvYMPt32bimrkWnBOzP40XB
-=7oXw
+iEYEARECAAYFAkmhHmQACgkQV3J2n04Eaux1cwCfQ/59nO5g4Pth8OKJQFOIJdVK
+AkQAn0whgbi8eiMALdYU2gHCrURE0wnk
+=JZKQ
-----END PGP SIGNATURE-----
diff --git a/mail-filter/bogofilter/bogofilter-1.2.0.ebuild b/mail-filter/bogofilter/bogofilter-1.2.0.ebuild
new file mode 100644
index 000000000000..a5c0b0e826a4
--- /dev/null
+++ b/mail-filter/bogofilter/bogofilter-1.2.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-1.2.0.ebuild,v 1.1 2009/02/22 09:44:41 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="berkdb sqlite"
+
+DEPEND="virtual/libiconv
+ berkdb? ( >=sys-libs/db-3.2 )
+ !berkdb? (
+ sqlite? ( >=dev-db/sqlite-3.5.4 )
+ !sqlite? ( >=sys-libs/db-3.2 ) )
+ sci-libs/gsl"
+# app-arch/pax" # only needed for bf_tar
+
+src_compile() {
+ local myconf="" berkdb=true
+ myconf="--without-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
+}