From 1a7a825923f96d08ea4ff425506538abe057d5eb Mon Sep 17 00:00:00 2001 From: Torsten Veller Date: Mon, 10 Jan 2005 21:27:12 +0000 Subject: Version bump. --- mail-filter/bogofilter/ChangeLog | 10 ++- mail-filter/bogofilter/Manifest | 18 +++-- mail-filter/bogofilter/bogofilter-0.92.8.ebuild | 4 +- mail-filter/bogofilter/bogofilter-0.93.2.ebuild | 76 --------------------- mail-filter/bogofilter/bogofilter-0.93.4.ebuild | 79 ++++++++++++++++++++++ .../bogofilter/files/digest-bogofilter-0.93.2 | 1 - .../bogofilter/files/digest-bogofilter-0.93.4 | 1 + 7 files changed, 104 insertions(+), 85 deletions(-) delete mode 100644 mail-filter/bogofilter/bogofilter-0.93.2.ebuild create mode 100644 mail-filter/bogofilter/bogofilter-0.93.4.ebuild delete mode 100644 mail-filter/bogofilter/files/digest-bogofilter-0.93.2 create mode 100644 mail-filter/bogofilter/files/digest-bogofilter-0.93.4 diff --git a/mail-filter/bogofilter/ChangeLog b/mail-filter/bogofilter/ChangeLog index 14b899c12e8d..2fe62f44cfa7 100644 --- a/mail-filter/bogofilter/ChangeLog +++ b/mail-filter/bogofilter/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-filter/bogofilter -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.25 2004/12/28 20:30:36 ribosome Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.26 2005/01/10 21:27:12 tove Exp $ + +*bogofilter-0.93.4 (10 Jan 2005) + + 10 Jan 2005; Torsten Veller -bogofilter-0.93.2.ebuild, + +bogofilter-0.93.4.ebuild: + Version bump. 28 Dec 2004; Olivier Fisette bogofilter-0.93.2.ebuild: diff --git a/mail-filter/bogofilter/Manifest b/mail-filter/bogofilter/Manifest index 1e0567c47f08..b6993a1743e6 100644 --- a/mail-filter/bogofilter/Manifest +++ b/mail-filter/bogofilter/Manifest @@ -1,6 +1,16 @@ -MD5 a0bc9f8cf2c1f15c35d5929c3daa8acd bogofilter-0.93.2.ebuild 2353 -MD5 f735dd78b68b8d6a54bcc7c3d27b664d bogofilter-0.92.8.ebuild 1578 -MD5 c2c4a8715c35991d3e73f94b0e7e5459 ChangeLog 10275 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 5a98d7a0d1db61a30201070733e720dc bogofilter-0.93.4.ebuild 2481 +MD5 e2285a40ab55c158c5b275ff758c520c bogofilter-0.92.8.ebuild 1572 +MD5 1cc3774bad7dd5dc15946cf63ceba54c ChangeLog 10426 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 1970df6e6d8dabe53d04a6f120d0b8bb files/digest-bogofilter-0.92.8 70 -MD5 760843d08a61fe826678485ec6f0dfc7 files/digest-bogofilter-0.93.2 70 +MD5 c1fd5cca918705e8b763f444de08a92c files/digest-bogofilter-0.93.4 70 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.0 (GNU/Linux) + +iD8DBQFB4vNCV3J2n04EauwRAjExAJ93agqw1ssLVFR6/g99hchiAeAqlgCgirn3 +iCkxgTVtFpxi6qa8DJLYZQE= +=EG0h +-----END PGP SIGNATURE----- diff --git a/mail-filter/bogofilter/bogofilter-0.92.8.ebuild b/mail-filter/bogofilter/bogofilter-0.92.8.ebuild index b1bf44abb85c..ddfa24118d2a 100644 --- a/mail-filter/bogofilter/bogofilter-0.92.8.ebuild +++ b/mail-filter/bogofilter/bogofilter-0.92.8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# 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-0.92.8.ebuild,v 1.7 2004/11/02 20:33:50 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-0.92.8.ebuild,v 1.8 2005/01/10 21:27:12 tove Exp $ DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for speed." HOMEPAGE="http://bogofilter.sourceforge.net/" diff --git a/mail-filter/bogofilter/bogofilter-0.93.2.ebuild b/mail-filter/bogofilter/bogofilter-0.93.2.ebuild deleted file mode 100644 index 8dc9f97fd387..000000000000 --- a/mail-filter/bogofilter/bogofilter-0.93.2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-0.93.2.ebuild,v 1.2 2004/12/28 20:30:36 ribosome Exp $ - -inherit eutils - -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 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc gsl notransactions" - -RDEPEND="virtual/libc - >=sys-libs/db-3.2 - gsl? ( sci-libs/gsl )" -# app-arch/pax" # only needed for bf_tar - -DEPEND="${RDEPEND} - >=sys-apps/sed-4" - -src_unpack() { - unpack ${A} - cd ${S} - DB_SLOT="$(best_version sys-libs/db | sed -e 's/sys-libs\/db-\(3\|4\.[123]\|4\).*/\1/')" - sed -e "s/db_\(copy\|compact\)/bf_\1/g" \ - -e "s/db_\(checkpoint\|archive\|stat\|recover\)/db${DB_SLOT}_\1/g" \ - -i src/bf_compact -i src/bf_copy -i src/bf_tar -i src/bf_resize \ - || die "sed failed" -} - -src_compile() { - local myconf - myconf="$(use_with !gsl included-gsl) - $(use_enable !notransactions transactions)" - econf ${myconf} || die "could not configure" - emake || die "emake failed" -} - -src_install() { - make DESTDIR=${D} install || die - - exeinto /usr/share/${PN}/contrib - doexe contrib/{bogofilter-qfe,bogogrep,mime.get.rfc822,parmtest.sh} - doexe contrib/{randomtrain,scramble,*.pl} - - insinto /usr/share/${PN}/contrib - doins contrib/{README.*,bogo.R,bogogrep.c,dot-qmail-bogofilter-default} - doins contrib/{trainbogo.sh,*.example} - - dodoc AUTHORS COPYING INSTALL NEWS README #CHANGES* - dodoc RELEASE.NOTES* TODO doc/integrating-with-* - dodoc GETTING.STARTED doc/README.db - - dodir /usr/share/doc/${PF}/samples - mv ${D}/etc/* ${D}/usr/share/doc/${PF}/samples/ - rmdir ${D}/etc - - if useq doc; then - dohtml doc/*.html - else - dohtml doc/bogofilter-faq{,-fr}.html doc/bogofilter-tuning.HOWTO.html - fi -} - -pkg_postinst() { - ewarn "Incompatible changes in bogofilter-0.93:" - ewarn "Please read the documentation (RELEASE.NOTES, README.db)!" - einfo "If you need /use/bin/bf_tar please install app-arch/pax." - ebeep - einfo "Contributed tools and documentation is in ${ROOT}usr/share/${PN}/contrib" - einfo "beside documentation in ${ROOT}usr/share/doc/${PF}." -} diff --git a/mail-filter/bogofilter/bogofilter-0.93.4.ebuild b/mail-filter/bogofilter/bogofilter-0.93.4.ebuild new file mode 100644 index 000000000000..fb39b568adc1 --- /dev/null +++ b/mail-filter/bogofilter/bogofilter-0.93.4.ebuild @@ -0,0 +1,79 @@ +# 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-0.93.4.ebuild,v 1.1 2005/01/10 21:27:12 tove Exp $ + +inherit eutils + +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 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" # bug 74046 +KEYWORDS=" ~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc gsl notransactions" + +RDEPEND="virtual/libc + >=sys-libs/db-3.2 + gsl? ( sci-libs/gsl )" +# app-arch/pax" # only needed for bf_tar + +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + DB_SLOT="$(best_version sys-libs/db | sed -e 's/sys-libs\/db-\(3\|4\.[123]\|4\).*/\1/')" + sed -e "s/db_\(copy\|compact\)/bf_\1/g" \ + -e "s/db_\(checkpoint\|archive\|stat\|recover\)/db${DB_SLOT}_\1/g" \ + -i src/bf_compact -i src/bf_copy -i src/bf_tar -i src/bf_resize \ + || die "sed failed" +} + +src_compile() { + local myconf + myconf="$(use_enable !notransactions transactions)" + use !gsl && myconf="${myconf} --with-included-gsl" # 'without-' doesn't work + + econf ${myconf} || die "could not configure" + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die + + exeinto /usr/share/${PN}/contrib + doexe contrib/{bogofilter-qfe,bogogrep,mime.get.rfc822,parmtest.sh} + doexe contrib/{randomtrain,scramble,*.pl} + + insinto /usr/share/${PN}/contrib + doins contrib/{README.*,bogo.R,bogogrep.c,dot-qmail-bogofilter-default} + doins contrib/{trainbogo.sh,*.example} + + dodoc AUTHORS COPYING INSTALL NEWS README #CHANGES* + dodoc RELEASE.NOTES* TODO doc/integrating-with-* + dodoc GETTING.STARTED doc/README.db + + dodir /usr/share/doc/${PF}/samples + mv ${D}/etc/* ${D}/usr/share/doc/${PF}/samples/ + rmdir ${D}/etc + + if useq doc; then + dohtml doc/*.html + else + dohtml doc/bogofilter-faq{,-fr}.html doc/bogofilter-tuning.HOWTO.html + fi + dosym /usr/share/doc/${PF} /usr/share/doc/bogo +} + + +pkg_postinst() { + ewarn "Incompatible changes in bogofilter-0.93:" + ewarn "Please read the documentation (RELEASE.NOTES, README.db)!" + einfo "If you need /use/bin/bf_tar please install app-arch/pax." + ebeep + einfo "Contributed tools and documentation is in ${ROOT}usr/share/${PN}/contrib" + einfo "beside documentation in ${ROOT}usr/share/doc/${PF}." +} diff --git a/mail-filter/bogofilter/files/digest-bogofilter-0.93.2 b/mail-filter/bogofilter/files/digest-bogofilter-0.93.2 deleted file mode 100644 index f1f9f279e223..000000000000 --- a/mail-filter/bogofilter/files/digest-bogofilter-0.93.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 19e6e3c19ca99a444e324a672805b5fd bogofilter-0.93.2.tar.bz2 678658 diff --git a/mail-filter/bogofilter/files/digest-bogofilter-0.93.4 b/mail-filter/bogofilter/files/digest-bogofilter-0.93.4 new file mode 100644 index 000000000000..ffe8462f6787 --- /dev/null +++ b/mail-filter/bogofilter/files/digest-bogofilter-0.93.4 @@ -0,0 +1 @@ +MD5 79b487ad5c78546040f1ebfd7e36565e bogofilter-0.93.4.tar.bz2 699655 -- cgit v1.2.3-65-gdbad