From: Torsten Veller Date: Thu, 1 Dec 2005 07:18:12 +0000 (+0000) Subject: Version bump. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f43405f97cbb8ac0ceeb5356cbc9843c68ace13a;p=gentoo.git Version bump. Package-Manager: portage-2.0.53_rc7 --- diff --git a/mail-filter/bogofilter/ChangeLog b/mail-filter/bogofilter/ChangeLog index a658b1d58974..a30d91725f1b 100644 --- a/mail-filter/bogofilter/ChangeLog +++ b/mail-filter/bogofilter/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-filter/bogofilter # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.43 2005/11/24 07:20:15 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.44 2005/12/01 07:18:12 tove Exp $ + +*bogofilter-1.0.0 (01 Dec 2005) + + 01 Dec 2005; Torsten Veller +bogofilter-1.0.0.ebuild: + Version bump. 24 Nov 2005; Torsten Veller bogofilter-0.96.6.ebuild: Added "make check" patch from upstream. diff --git a/mail-filter/bogofilter/Manifest b/mail-filter/bogofilter/Manifest index 3566819f20f0..ff55fd556e55 100644 --- a/mail-filter/bogofilter/Manifest +++ b/mail-filter/bogofilter/Manifest @@ -1,18 +1,20 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 d56858fc852c5a7ac0957a0b0e961880 ChangeLog 13239 +MD5 20be9a523bbfdaa76403e438ea7d92de ChangeLog 13363 MD5 28717e3faee82dbca88d83de9c9afadc bogofilter-0.92.8.ebuild 1575 MD5 0fe922bced50c25b4a3a722a910e5bee bogofilter-0.96.5.ebuild 2397 MD5 80af9691563cdca58efeaf76f86dd6f1 bogofilter-0.96.6.ebuild 2563 +MD5 01df1db98ad3b0d6453a557b31bf2cfa bogofilter-1.0.0.ebuild 2396 MD5 1970df6e6d8dabe53d04a6f120d0b8bb files/digest-bogofilter-0.92.8 70 MD5 4d0b162c16401cd805a8c5bededda302 files/digest-bogofilter-0.96.5 70 MD5 0fe90ce601d03af1f4d35fec0634f298 files/digest-bogofilter-0.96.6 134 +MD5 fc42ce17f830dcc131e4cce9d1a67861 files/digest-bogofilter-1.0.0 69 MD5 48bd0f185b30f8151e8da04a025e0373 metadata.xml 424 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDhWphV3J2n04EauwRAk77AKCKw+Wy572vHosUjKC9fCH9i30gpQCg2KIE -kzbv/LBdPAWYydHHj5Ls6aw= -=Amow +iD8DBQFDjqPAV3J2n04EauwRAk2xAJ9/wNx64B8gM19vvw3GS6gA/DB2UQCfcMqX +H45thrWbErnnF8TliDqZsvU= +=NXZS -----END PGP SIGNATURE----- diff --git a/mail-filter/bogofilter/bogofilter-1.0.0.ebuild b/mail-filter/bogofilter/bogofilter-1.0.0.ebuild new file mode 100644 index 000000000000..b2b177478fc8 --- /dev/null +++ b/mail-filter/bogofilter/bogofilter-1.0.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-1.0.0.ebuild,v 1.1 2005/12/01 07:18:12 tove Exp $ + +DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for speed." +HOMEPAGE="http://bogofilter.sourceforge.net/" +SRC_URI="mirror://sourceforge/bogofilter/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +#KEYWORDS="${KEYWORDS} ~arm ~mips" # missing, see bug #74046 +IUSE="doc gsl berkdb sqlite" + +DEPEND=" + || ( sys-libs/glibc dev-libs/libiconv ) + berkdb? ( >=sys-libs/db-3.2 ) + !berkdb? ( + sqlite? ( >=dev-db/sqlite-3.2.6 ) + !sqlite? ( >=sys-libs/db-3.2 ) ) + gsl? ( sci-libs/gsl )" +# app-arch/pax" # only needed for bf_tar + +src_compile() { + local myconf="" + myconf="$(use_with !gsl included-gsl)" + + # determine backend: berkdb *is* default + if use berkdb && use sqlite ; then + einfo "Both berkdb and sqlite are in USE." + einfo "Choosing berkdb as default database backend." + elif use sqlite ; then + myconf="${myconf} --with-database=sqlite" + elif ! use berkdb ; then + einfo "Using berkdb as database backend." + fi + + econf ${myconf} || die "configure failed" + emake || die "emake failed" +} + +src_install() { + make 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/{trainbogo,scramble}.sh || die "doins failed" + + dodoc AUTHORS NEWS README RELEASE.NOTES* TODO GETTING.STARTED \ + doc/integrating-with-* doc/README.{db,sqlite} + + dodir /usr/share/doc/${PF}/samples + mv "${D}"/etc/* "${D}"/usr/share/doc/${PF}/samples/ + rmdir "${D}"/etc + + if use doc; then + dohtml doc/*.html + else + dohtml doc/bogofilter-faq{,-fr}.html doc/bogofilter-tuning.HOWTO.html + fi +} + +pkg_postinst() { + ewarn "" + ewarn "Incompatible changes in bogofilter-0.93 and -0.94:" + ewarn "Please read the documentation (RELEASE.NOTES)!" + ewarn "" + einfo "" + einfo "If you need ${ROOT}usr/bin/bf_tar please install app-arch/pax." + einfo "" +} diff --git a/mail-filter/bogofilter/files/digest-bogofilter-1.0.0 b/mail-filter/bogofilter/files/digest-bogofilter-1.0.0 new file mode 100644 index 000000000000..93d17172fd9a --- /dev/null +++ b/mail-filter/bogofilter/files/digest-bogofilter-1.0.0 @@ -0,0 +1 @@ +MD5 de008f94c6a4e8e0b145bbf1fb381dde bogofilter-1.0.0.tar.bz2 746592