diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2004-06-03 07:03:43 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2004-06-03 07:03:43 +0000 |
commit | ae715e422ab17c2a6db87c2b245b536f3ae9ed13 (patch) | |
tree | 3018eaf7fa004ee8261f87a78adfdedc19b24518 /mail-filter | |
parent | Moving to mail-filter/bogofilter (diff) | |
download | historical-ae715e422ab17c2a6db87c2b245b536f3ae9ed13.tar.gz historical-ae715e422ab17c2a6db87c2b245b536f3ae9ed13.tar.bz2 historical-ae715e422ab17c2a6db87c2b245b536f3ae9ed13.zip |
Moved from net-mail/bogofilter to mail-filter/bogofilter.
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/bogofilter/ChangeLog | 172 | ||||
-rw-r--r-- | mail-filter/bogofilter/Manifest | 12 | ||||
-rw-r--r-- | mail-filter/bogofilter/bogofilter-0.13.7.3.ebuild | 59 | ||||
-rw-r--r-- | mail-filter/bogofilter/bogofilter-0.14.5.4.ebuild | 54 | ||||
-rw-r--r-- | mail-filter/bogofilter/bogofilter-0.15.13.1.ebuild | 57 | ||||
-rw-r--r-- | mail-filter/bogofilter/bogofilter-0.16.4.ebuild | 56 | ||||
-rw-r--r-- | mail-filter/bogofilter/bogofilter-0.17.5.ebuild | 54 | ||||
-rw-r--r-- | mail-filter/bogofilter/files/digest-bogofilter-0.13.7.3 | 1 | ||||
-rw-r--r-- | mail-filter/bogofilter/files/digest-bogofilter-0.14.5.4 | 1 | ||||
-rw-r--r-- | mail-filter/bogofilter/files/digest-bogofilter-0.15.13.1 | 1 | ||||
-rw-r--r-- | mail-filter/bogofilter/files/digest-bogofilter-0.16.4 | 1 | ||||
-rw-r--r-- | mail-filter/bogofilter/files/digest-bogofilter-0.17.5 | 1 | ||||
-rw-r--r-- | mail-filter/bogofilter/metadata.xml | 5 |
13 files changed, 474 insertions, 0 deletions
diff --git a/mail-filter/bogofilter/ChangeLog b/mail-filter/bogofilter/ChangeLog new file mode 100644 index 000000000000..fc6e3579798d --- /dev/null +++ b/mail-filter/bogofilter/ChangeLog @@ -0,0 +1,172 @@ +# ChangeLog for net-mail/bogofilter +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.1 2004/06/03 07:03:43 seemant Exp $ + +*bogofilter-0.15.13.1 (03 Jun 2004) + + 03 Jun 2004; Seemant Kulleen <seemant@gentoo.org> +metadata.xml, + +bogofilter-0.13.7.3.ebuild, +bogofilter-0.14.5.4.ebuild, + +bogofilter-0.15.13.1.ebuild, +bogofilter-0.16.4.ebuild, + +bogofilter-0.17.5.ebuild: + Moved from net-mail/bogofilter to mail-filter/bogofilter. + +*bogofilter-0.17.5 (14 May 2004) + + 14 May 2004; Brandon Low <lostlogic@gentoo.org> -bogofilter-0.17.1.ebuild, + -bogofilter-0.17.2.ebuild, +bogofilter-0.17.5.ebuild: + Bump, and remove some unneeded ebuilds, will mark _something_ stable today + +*bogofilter-0.17.2 (25 Feb 2004) + + 25 Feb 2004; Brandon Low <lostlogic@gentoo.org> bogofilter-0.17.2.ebuild: + Bump + + 22 Feb 2004; Aron Griffis <agriffis@gentoo.org> bogofilter-0.13.7.3.ebuild, + bogofilter-0.14.5.4.ebuild, bogofilter-0.15.13.1.ebuild, + bogofilter-0.16.4.ebuild, bogofilter-0.17.1.ebuild: + Remove arm keywords + +*bogofilter-0.17.1 (10 Feb 2004) +*bogofilter-0.16.4 (10 Feb 2004) + + 10 Feb 2004; Brandon Low <lostlogic@gentoo.org> bogofilter-0.15.13.1.ebuild, + bogofilter-0.16.4.ebuild, bogofilter-0.17.1.ebuild: + Fix keyword issues by making depend _really_ special, and add 2 new versions. + 0.16.4 should be moved to stable cautiously as it deprecates many features + BTW, most of this work was not done by me, but rather by: + + Torsten Veller <bugs@veller.net>, many thanks. + + Closed bugs: 36452, 37017, 41086. + + 07 Feb 2004; Lars Weiler <pylon@gentoo.org> bogofilter-0.15.13.1.ebuild: + stable on ppc + +*bogofilter-0.15.13.1 (07 Jan 2004) + + 07 Jan 2004; Seemant Kulleen <seemant@gentoo.org> + bogofilter-0.15.13.1.ebuild, bogofilter-0.15.13.ebuild: + bug fix release from upstream. Thanks again to tove <bugs@veller.net> in bug + #36452 + + 29 Dec 2003; Seemant Kulleen <seemant@gentoo.org> bogofilter-0.15.13.ebuild: + fixed missing header and IUSE line + +*bogofilter-0.15.13 (29 Dec 2003) + + 29 Dec 2003; Seemant Kulleen <seemant@gentoo.org> + bogofilter-0.14.5.2.ebuild, bogofilter-0.14.5.4.ebuild, + bogofilter-0.14.5.ebuild, bogofilter-0.15.12.ebuild, + bogofilter-0.15.13.ebuild: + version bump thanks to: tove <bugs@veller.net> in bug #36452. Note that he + had had an ebuild waiting in bugzilla for 15.12 as well, which I hadn't + seen -- my apologies to him + +*bogofilter-0.15.12 (27 Dec 2003) + + 27 Dec 2003; Seemant Kulleen <seemant@gentoo.org> bogofilter-0.15.12.ebuild: + version bump + +*bogofilter-0.14.5.4 (06 Oct 2003) + + 06 Oct 2003; Caleb Tennis <caleb@gentoo.org> bogofilter-0.11.2.ebuild, + bogofilter-0.13.3.ebuild, bogofilter-0.13.6.2.ebuild, + bogofilter-0.14.5.4.ebuild: + New version, remove old ones that dont seem valid anymore + +*bogofilter-0.14.5.2 (22 Aug 2003) + + 22 Aug 2003; Grant Goodyear <g2boojum@gentoo.org> + bogofilter-0.14.5.2.ebuild: + Version bump. Thanks to Florian Bauhaus! + +*bogofilter-0.14.5 (17 Aug 2003) + + 17 Aug 2003; Nick Hadaway <raker@gentoo.org> bogofilter-0.14.5.ebuild: + The 0.14 series finally appears to be stable. Version bump. Minor + ebuild changes. Only the addition of bogominitrain.pl. + +*bogofilter-0.13.7.3 (16 Jul 2003) + + 16 Jul 2003; Nick Hadaway <raker@gentoo.org> bogofilter-0.13.7.{2,3}.ebuild: + Version bump and added missing $ in headery + + 16 Jul 2003; Christian Birchinger <joker@gentoo.org> + bogofilter-0.13.7.2.ebuild: + Added sparc stable keyword + + 16 Jul 2003; Nick Hadaway <raker@gentoo.org> bogofilter-0.13.7.3.ebuild, + bogofilter-0.13.7.2.ebuild: + Fixed the header line. And a version bump. + + 15 Jul 2003; Nick Hadaway <raker@gentoo.org> bogofilter-0.13.7.2.ebuild: + Marked stable for x86 + + 15 Jul 2003; Christian Birchinger <joker@gentoo.org> + bogofilter-0.13.6.2.ebuild: + Added sparc stable keyword + +*bogofilter-0.13.7.2 + + 09 Jul 2003; Nick Hadaway <raker@gentoo.org> bogofilter-0.13.7.2.ebuild: + Version bump. Changes on bug #23914. + + 02 Jul 2003; Nick Hadaway <raker@gentoo.org> bogofilter-0.13.6.2.ebuild: + Marked stabled for x86 + +*bogofilter-0.13.6.2 (01 Jul 2003) + + 01 Jul 2003; Nick Hadaway <raker@gentoo.org> bogofilter-0.13.6.2.ebuild: + Version bump. Minor ebuild changes. See bug #22562. + + 03 Jun 2003; Christian Birchinger <joker@gentoo.org> + bogofilter-0.11.2.ebuild: + Added sparc stable keyword + +*bogofilter-0.13.3 (29 May 2003) + + 29 May 2003; Grant Goodyear <g2boojum@gentoo.org> bogofilter-0.10.3.ebuild, + bogofilter-0.11.1.3.ebuild, bogofilter-0.11.2.ebuild, + bogofilter-0.12.3.ebuild, bogofilter-0.13.3.ebuild, bogofilter-0.8.0.ebuild, + bogofilter-0.9.1.2.ebuild: + Big clean-up. Made 0.11.2 stable on x86, added 0.13.3 (which is part + of their unstable branch, so ~ masked). Thanks to Torsten for the 0.12.3 + (whoops, 0.12.2) ebuild and to Florian Bauhaus for 0.12.3 (upon which + the 0.13.3 ebuild is based). + +*bogofilter-0.12.3 (14 May 2003) + + 14 May 2003; Dylan Carlson <absinthe@gentoo.org> bogofilter-0.12.3.ebuild: + Version bump. Anyone who uses bogofilter regularly, I suggest you upgrade... + fairly significant update over previous versions. + +*bogofilter-0.11.1.3 (13 Mar 2003) + + 16 Mar 2003; Graham Forest <vladimir@gentoo.org> bogofilter-0.11.1.3.ebuild: + Added einfo about configuration changes + + 13 Mar 2003; Graham Forest <vladimir@gentoo.org> bogofilter-0.11.1.3.ebuild: + Version bump, added ~ppc to keywords + +*bogofilter-0.11.2 (02 Jun 2003) + + 13 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> : + Added missing changelog entry. + +*bogofilter-0.10.3 (15 Feb. 2003) + + 15 Feb. 2003; Christian Birchinger <joker@gentoo.org> ChangeLog : + + Version bump. Added ~sparc keyword. + +*bogofilter-0.9.1.2 (8 Dec. 2002) + + 8 Dec. 2002; Grant Goodyear <g2boojum@gentoo.org> ChangeLog : + + Version bump. Thanks to Clemens Oertel! + +*bogofilter-0.8.0 (11 Nov 2002) + + 11 Nov 2002; Grant Goodyear <g2boojum@gentoo.org> ChangeLog : + + new package; thanks to Evan Read and Javier Marcet diff --git a/mail-filter/bogofilter/Manifest b/mail-filter/bogofilter/Manifest new file mode 100644 index 000000000000..6904e80dd1ba --- /dev/null +++ b/mail-filter/bogofilter/Manifest @@ -0,0 +1,12 @@ +MD5 23c682cb2599ab79e60b6454bbcc80ff files/digest-bogofilter-0.15.13.1 72 +MD5 23dea37013aa783a31cd6a713e040752 files/digest-bogofilter-0.13.7.3 71 +MD5 0459fc8764bb8f8aa1c64c4c16c0b264 files/digest-bogofilter-0.16.4 69 +MD5 7f9cfa2077f941af6777774d82bc1a4b files/digest-bogofilter-0.17.5 70 +MD5 856317ca43eaa2fe5e6f1029e36b3f1e files/digest-bogofilter-0.14.5.4 71 +MD5 84d3cfe6abb0a5192095bacfb6b8da5b ChangeLog 5722 +MD5 c96885ae65c8e6fbfd6585751692356c bogofilter-0.13.7.3.ebuild 1917 +MD5 0e25e4eb38e661c35a1d11b211a30ce1 bogofilter-0.16.4.ebuild 1817 +MD5 1a37b62e927ea2bb6bf6b73407aba547 bogofilter-0.14.5.4.ebuild 1940 +MD5 7b16b65c1c9aed6fef5c7ce76ca37194 bogofilter-0.17.5.ebuild 1806 +MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 +MD5 a07f4ba94adc15e71ad3abe631f5552e bogofilter-0.15.13.1.ebuild 1827 diff --git a/mail-filter/bogofilter/bogofilter-0.13.7.3.ebuild b/mail-filter/bogofilter/bogofilter-0.13.7.3.ebuild new file mode 100644 index 000000000000..bcbd3ee3aece --- /dev/null +++ b/mail-filter/bogofilter/bogofilter-0.13.7.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-0.13.7.3.ebuild,v 1.1 2004/06/03 07:03:43 seemant Exp $ + +IUSE="" + +S=${WORKDIR}/${P} +DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for speed." +HOMEPAGE="http://bogofilter.sourceforge.net/" +SRC_URI="mirror://sourceforge/bogofilter/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ppc sparc ~alpha ~hppa ~mips amd64 ia64" + +DEPEND="virtual/glibc + >=sys-libs/db-3" + +src_compile() { + econf || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + exeinto /usr/lib/${PN}/tuning + insinto /usr/lib/${PN}/tuning + doexe tuning/bogolex.sh tuning/bogol tuning/bogotune + doins tuning/README.bogotune tuning/bogol.1 tuning/bogotune.1 + + exeinto /usr/lib/${PN}/contrib + doexe contrib/{bogofilter-qfe,bogogrep,mime.get.rfc822,parmtest.sh} + doexe contrib/{printmaildir.pl,randomtrain,scramble,bogofilter-milter.pl} + insinto /usr/lib/${PN}/contrib + doins contrib/README.randomtrain contrib/bogo.R contrib/trainbogo.sh + + dodoc AUTHORS INSTALL COPYING METHODS NEWS README README.cvs TODO UPGRADE + dodoc RELEASE.NOTES-0.1* CHANGES-0.1* doc/integrating-with-* doc/*.HOWTO + dodoc contrib/mailfilter.example contrib/procmailrc.example + + dodir /usr/share/doc/${P}/samples + mv ${D}/etc/* ${D}/usr/share/doc/${PF}/samples/ + rmdir ${D}/etc + + dohtml doc/*.html + docinto programmer ; dodoc doc/programmer/* +} + +pkg_postinst() { + + einfo "With version 0.11 the options of bogofilter have changed." + einfo "If you update from an older version, you eventually must change" + einfo "your configuration." + einfo "" + einfo "Read bogofilter's manual 'man bogofilter' and have a look at" + einfo "the examples in the doc directory for tips on how" + einfo "to integrate bogofilter with procmail, maildrop, postfix or qmail." +} diff --git a/mail-filter/bogofilter/bogofilter-0.14.5.4.ebuild b/mail-filter/bogofilter/bogofilter-0.14.5.4.ebuild new file mode 100644 index 000000000000..da624a3d289f --- /dev/null +++ b/mail-filter/bogofilter/bogofilter-0.14.5.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-0.14.5.4.ebuild,v 1.1 2004/06/03 07:03:43 seemant Exp $ + +IUSE="" + +DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for speed." +HOMEPAGE="http://bogofilter.sourceforge.net/" +SRC_URI="mirror://sourceforge/bogofilter/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64 ~ia64 ~ppc64" + +DEPEND="virtual/glibc + >=sys-libs/db-3" + +src_install() { + make DESTDIR=${D} install || die + + exeinto /usr/lib/${PN}/tuning + insinto /usr/lib/${PN}/tuning + doexe tuning/bogolex.sh tuning/bogol tuning/bogotune + doins tuning/README.bogotune tuning/bogol.1 tuning/bogotune.1 + + exeinto /usr/lib/${PN}/contrib + doexe contrib/bogofilter-qfe contrib/bogogrep contrib/mime.get.rfc822 contrib/parmtest.sh + doexe contrib/printmaildir.pl contrib/randomtrain contrib/scramble contrib/bogofilter-milter.pl + doexe contrib/bogominitrain.pl + insinto /usr/lib/${PN}/contrib + doins contrib/README.randomtrain contrib/bogo.R contrib/trainbogo.sh + + dodoc AUTHORS INSTALL COPYING METHODS NEWS README README.cvs TODO UPGRADE + dodoc RELEASE.NOTES-0.1* CHANGES-0.1* doc/integrating-with-* doc/*.HOWTO + dodoc contrib/mailfilter.example contrib/procmailrc.example + + dodir /usr/share/doc/${P}/samples + mv ${D}/etc/* ${D}/usr/share/doc/${PF}/samples/ + rmdir ${D}/etc + + dohtml doc/*.html + docinto programmer ; dodoc doc/programmer/* +} + +pkg_postinst() { + + einfo "With version 0.14 the options of bogofilter have changed." + einfo "If you update from an older version, you eventually must change" + einfo "your configuration." + einfo "" + einfo "Read bogofilter's manual 'man bogofilter' and have a look at" + einfo "the examples in the doc directory for tips on how" + einfo "to integrate bogofilter with procmail, maildrop, postfix or qmail." +} diff --git a/mail-filter/bogofilter/bogofilter-0.15.13.1.ebuild b/mail-filter/bogofilter/bogofilter-0.15.13.1.ebuild new file mode 100644 index 000000000000..a5bcac28650c --- /dev/null +++ b/mail-filter/bogofilter/bogofilter-0.15.13.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-0.15.13.1.ebuild,v 1.1 2004/06/03 07:03:43 seemant Exp $ + +IUSE="" +DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for speed." +HOMEPAGE="http://bogofilter.sourceforge.net/" +SRC_URI="mirror://sourceforge/bogofilter/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 ~hppa ~amd64 ~mips ~ppc64" + +DEPEND="virtual/glibc + >=sys-libs/db-3 + !mips? ( !ppc64? ( doc? ( app-text/xmlto ) ) )" + +RDEPEND="virtual/glibc + >=sys-libs/db-3" + +src_install() { + make install DESTDIR=${D} || die + + exeinto /usr/lib/${PN}/contrib + doexe contrib/{bogofilter-qfe,bogogrep,mime.get.rfc822,parmtest.sh} + doexe contrib/{randomtrain,scramble,*.pl} + + insinto /usr/lib/${PN}/contrib + doins contrib/{README.randomtrain,bogo.R,dot-qmail-bogofilter-default,trainbogo.sh} + + dodoc AUTHORS CHANGES* COPYING INSTALL METHODS NEWS README + dodoc RELEASE.NOTES* TODO UPGRADE + dodoc doc/integrating-with-* doc/*.HOWTO contrib/*.example + + 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.html doc/bogofilter-faq-fr.html + fi +} + +pkg_postinst() { + einfo "" + einfo "For best results it is recommended to retrain bogofilter" + einfo "if you upgrade from a version 0.15.4 or older," + einfo "because the header handling was improved." + ewarn "Please read specifically about the new -H option" + einfo "" + einfo "Read bogofilter's manual 'man bogofilter' and have a look at" + einfo "the examples in the doc directory for tips on how" + einfo "to integrate bogofilter with procmail, maildrop, postfix or qmail." + einfo "" +} diff --git a/mail-filter/bogofilter/bogofilter-0.16.4.ebuild b/mail-filter/bogofilter/bogofilter-0.16.4.ebuild new file mode 100644 index 000000000000..6f97436fa8bc --- /dev/null +++ b/mail-filter/bogofilter/bogofilter-0.16.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-0.16.4.ebuild,v 1.1 2004/06/03 07:03:43 seemant Exp $ + +IUSE="doc" + +DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for speed." +HOMEPAGE="http://bogofilter.sourceforge.net/" +SRC_URI="mirror://sourceforge/bogofilter/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 ~hppa ~amd64 ~mips ~ppc64" + +DEPEND="virtual/glibc + !mips? ( !ppc64? ( doc? ( app-text/xmlto ) ) ) + >=sys-libs/db-3.2" + +RDEPEND="virtual/glibc + >=sys-libs/db-3.2" + +src_install() { + make DESTDIR=${D} install || die + + exeinto /usr/lib/${PN}/contrib + doexe contrib/{bogofilter-qfe,bogogrep,mime.get.rfc822,parmtest.sh} + doexe contrib/{randomtrain,scramble,*.pl} + + insinto /usr/lib/${PN}/contrib + doins contrib/{README.*,bogo.R,bogogrep.c,dot-qmail-bogofilter-default} + doins contrib/{trainbogo.sh,*.example} + + dodoc AUTHORS CHANGES* COPYING INSTALL METHODS NEWS README + dodoc RELEASE.NOTES* TODO doc/{integrating-with-*,*.HOWTO} + + dodir /usr/share/doc/${PF}/samples + mv ${D}/etc/* ${D}/usr/share/doc/${PF}/samples/ + rmdir ${D}/etc + + #if xmlto is installed, html docu is gernerated automatically + #if xmlto is not installed, there is still a html faq + if use doc; then + dohtml doc/*.html + else + dohtml doc/bogofilter-faq.html doc/bogofilter-faq-fr.html + fi +} + +pkg_postinst() { + einfo "The goal of the bogofilter 0.16 series is to clean out this excess code." + einfo "A number of features have been deprecated." + ewarn "Please read the RELEASE.NOTES-0.16 carefully!" + einfo "" + einfo "Contributed tools and documentation is in ${ROOT}usr/lib/${PN}/contrib" + einfo "beside documentation in ${ROOT}usr/share/doc/${PF}." +} diff --git a/mail-filter/bogofilter/bogofilter-0.17.5.ebuild b/mail-filter/bogofilter/bogofilter-0.17.5.ebuild new file mode 100644 index 000000000000..bc0a06058859 --- /dev/null +++ b/mail-filter/bogofilter/bogofilter-0.17.5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-0.17.5.ebuild,v 1.1 2004/06/03 07:03:43 seemant 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="~x86 ~ppc ~sparc ~mips ~alpha arm ~hppa ~amd64 ~ia64 ~ppc64" +IUSE="doc" + +DEPEND="virtual/glibc + !ppc64? ( doc? ( app-text/xmlto ) ) + >=sys-libs/db-3.2" +RDEPEND="virtual/glibc + >=sys-libs/db-3.2" + +src_install() { + make DESTDIR=${D} install || die + + exeinto /usr/lib/${PN}/contrib + doexe contrib/{bogofilter-qfe,bogogrep,mime.get.rfc822,parmtest.sh} + doexe contrib/{randomtrain,scramble,*.pl} + + insinto /usr/lib/${PN}/contrib + doins contrib/{README.*,bogo.R,bogogrep.c,dot-qmail-bogofilter-default} + doins contrib/{trainbogo.sh,*.example} + + dodoc AUTHORS CHANGES* COPYING INSTALL METHODS NEWS README + dodoc RELEASE.NOTES* TODO doc/{integrating-with-*,*.HOWTO} + + dodir /usr/share/doc/${PF}/samples + mv ${D}/etc/* ${D}/usr/share/doc/${PF}/samples/ + rmdir ${D}/etc + + #if xmlto is installed, html docu is gernerated automatically + #if xmlto is not installed, there is still a html faq + if use doc; then + dohtml doc/*.html + else + dohtml doc/bogofilter-faq.html doc/bogofilter-faq-fr.html + fi +} + +pkg_postinst() { + einfo "The goal of the bogofilter 0.17 series is to clean out this excess code." + einfo "A number of features have been removed." + ewarn "Please read the RELEASE.NOTES-0.17 carefully!" + einfo "" + einfo "Contributed tools and documentation is in ${ROOT}usr/lib/${PN}/contrib" + einfo "beside documentation in ${ROOT}usr/share/doc/${PF}." +} diff --git a/mail-filter/bogofilter/files/digest-bogofilter-0.13.7.3 b/mail-filter/bogofilter/files/digest-bogofilter-0.13.7.3 new file mode 100644 index 000000000000..50440324d6c6 --- /dev/null +++ b/mail-filter/bogofilter/files/digest-bogofilter-0.13.7.3 @@ -0,0 +1 @@ +MD5 443512739f7f58c3bb601f1103297004 bogofilter-0.13.7.3.tar.gz 658894 diff --git a/mail-filter/bogofilter/files/digest-bogofilter-0.14.5.4 b/mail-filter/bogofilter/files/digest-bogofilter-0.14.5.4 new file mode 100644 index 000000000000..91cf455069ee --- /dev/null +++ b/mail-filter/bogofilter/files/digest-bogofilter-0.14.5.4 @@ -0,0 +1 @@ +MD5 33064f40fe7b250f9ca45fddaa33af64 bogofilter-0.14.5.4.tar.gz 883395 diff --git a/mail-filter/bogofilter/files/digest-bogofilter-0.15.13.1 b/mail-filter/bogofilter/files/digest-bogofilter-0.15.13.1 new file mode 100644 index 000000000000..b37d1fce8853 --- /dev/null +++ b/mail-filter/bogofilter/files/digest-bogofilter-0.15.13.1 @@ -0,0 +1 @@ +MD5 4dff0a39cfa81753c0d3a546ed0bc908 bogofilter-0.15.13.1.tar.gz 759957 diff --git a/mail-filter/bogofilter/files/digest-bogofilter-0.16.4 b/mail-filter/bogofilter/files/digest-bogofilter-0.16.4 new file mode 100644 index 000000000000..9aa05028baea --- /dev/null +++ b/mail-filter/bogofilter/files/digest-bogofilter-0.16.4 @@ -0,0 +1 @@ +MD5 3f20cdd44b80a08d2114c5d95d485915 bogofilter-0.16.4.tar.gz 725732 diff --git a/mail-filter/bogofilter/files/digest-bogofilter-0.17.5 b/mail-filter/bogofilter/files/digest-bogofilter-0.17.5 new file mode 100644 index 000000000000..a666ed458852 --- /dev/null +++ b/mail-filter/bogofilter/files/digest-bogofilter-0.17.5 @@ -0,0 +1 @@ +MD5 9cdeebc3bb9edf9ef09a1b3f0bd09c42 bogofilter-0.17.5.tar.bz2 620413 diff --git a/mail-filter/bogofilter/metadata.xml b/mail-filter/bogofilter/metadata.xml new file mode 100644 index 000000000000..51f94e3fbe0e --- /dev/null +++ b/mail-filter/bogofilter/metadata.xml @@ -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> |