diff options
author | Johannes Huber <johu@gentoo.org> | 2015-05-23 11:01:17 +0000 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2015-05-23 11:01:17 +0000 |
commit | 412ebec8d73da16e42a0d3a6839c4b344e5e11b0 (patch) | |
tree | 08a598bba844dec19b6045a4d4f43bc81faf4b8b /mail-filter | |
parent | Drop old (diff) | |
download | gentoo-2-412ebec8d73da16e42a0d3a6839c4b344e5e11b0.tar.gz gentoo-2-412ebec8d73da16e42a0d3a6839c4b344e5e11b0.tar.bz2 gentoo-2-412ebec8d73da16e42a0d3a6839c4b344e5e11b0.zip |
Remove old.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xF3CFD2BD)
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/bogofilter/ChangeLog | 6 | ||||
-rw-r--r-- | mail-filter/bogofilter/bogofilter-1.2.3.ebuild | 115 | ||||
-rw-r--r-- | mail-filter/bogofilter/bogofilter-1.2.4.ebuild | 115 |
3 files changed, 5 insertions, 231 deletions
diff --git a/mail-filter/bogofilter/ChangeLog b/mail-filter/bogofilter/ChangeLog index b835d6e0d075..25048f0d2f52 100644 --- a/mail-filter/bogofilter/ChangeLog +++ b/mail-filter/bogofilter/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-filter/bogofilter # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.164 2015/04/18 20:38:02 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.165 2015/05/23 11:01:17 johu Exp $ + + 23 May 2015; Johannes Huber <johu@gentoo.org> -bogofilter-1.2.3.ebuild, + -bogofilter-1.2.4.ebuild: + Remove old. 18 Apr 2015; Pacho Ramos <pacho@gentoo.org> bogofilter-1.2.4-r1.ebuild: ppc64 stable wrt bug #506822 diff --git a/mail-filter/bogofilter/bogofilter-1.2.3.ebuild b/mail-filter/bogofilter/bogofilter-1.2.3.ebuild deleted file mode 100644 index e8351c8156bf..000000000000 --- a/mail-filter/bogofilter/bogofilter-1.2.3.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-1.2.3.ebuild,v 1.9 2014/08/10 21:15:42 slyfox Exp $ - -EAPI=4 -inherit db-use eutils flag-o-matic toolchain-funcs - -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 tokyocabinet" - -DEPEND="virtual/libiconv - berkdb? ( >=sys-libs/db-3.2 ) - !berkdb? ( - sqlite? ( >=dev-db/sqlite-3.6.22 ) - !sqlite? ( - tokyocabinet? ( dev-db/tokyocabinet ) - !tokyocabinet? ( >=sys-libs/db-3.2 ) - ) - ) - sci-libs/gsl" -# app-arch/pax" # only needed for bf_tar -RDEPEND="${DEPEND}" - -pkg_setup() { - has_version mail-filter/bogofilter || return 0 - if ( use berkdb && ! has_version 'mail-filter/bogofilter[berkdb]' ) || \ - ( ! use berkdb && has_version 'mail-filter/bogofilter[berkdb]' ) || \ - ( use sqlite && ! has_version 'mail-filter/bogofilter[sqlite]' ) || \ - ( ! use sqlite && has_version 'mail-filter/bogofilter[sqlite]' ) || \ - ( has_version '>=mail-filter/bogofilter-1.2.1-r1' && \ - ( use tokyocabinet && ! has_version 'mail-filter/bogofilter[tokyocabinet]' ) || \ - ( ! use tokyocabinet && has_version 'mail-filter/bogofilter[tokyocabinet]' ) - ) ; then - ewarn - ewarn "If you want to switch the database backend, you must dump the wordlist" - ewarn "with the current version (old use flags) and load it with the new version!" - ewarn - fi -} - -src_configure() { - 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 berkdb && use tokyocabinet ; then - elog "Both useflags berkdb and tokyocabinet are in USE:" - elog "Using berkdb as database backend." - elif use sqlite && use tokyocabinet ; then - elog "Both useflags sqlite and tokyocabinet are in USE:" - elog "Using sqlite as database backend." - myconf="${myconf} --with-database=sqlite" - berkdb=false - elif use sqlite ; then - myconf="${myconf} --with-database=sqlite" - berkdb=false - elif use tokyocabinet ; then - myconf="${myconf} --with-database=tokyocabinet" - berkdb=false - elif ! use berkdb ; then - elog "Neither berkdb nor sqlite nor tokyocabinet are in USE:" - elog "Using berkdb as database backend." - fi - - # Include the right berkdb headers for FreeBSD - if ${berkdb} ; then - append-cppflags "-I$(db_includedir)" - fi - - # bug #324405 - if [[ $(gcc-version) == "3.4" ]] ; then - epatch "${FILESDIR}"/${PN}-1.2.2-gcc34.patch - fi - - econf ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - exeinto /usr/share/${PN}/contrib - doexe contrib/{bogofilter-qfe,parmtest,randomtrain}.sh \ - contrib/{bfproxy,bogominitrain,mime.get.rfc822,printmaildir}.pl \ - contrib/{spamitarium,stripsearch}.pl - - 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 - - dodoc AUTHORS NEWS README RELEASE.NOTES* TODO GETTING.STARTED \ - doc/integrating-with-* doc/README.{db,sqlite} - - 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/bogofilter-1.2.4.ebuild b/mail-filter/bogofilter/bogofilter-1.2.4.ebuild deleted file mode 100644 index 963849bad190..000000000000 --- a/mail-filter/bogofilter/bogofilter-1.2.4.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-1.2.4.ebuild,v 1.3 2014/08/10 21:15:42 slyfox Exp $ - -EAPI=5 -inherit autotools db-use eutils flag-o-matic toolchain-funcs - -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 tokyocabinet" - -DEPEND="virtual/libiconv - berkdb? ( >=sys-libs/db-3.2 ) - !berkdb? ( - sqlite? ( >=dev-db/sqlite-3.6.22 ) - !sqlite? ( - tokyocabinet? ( dev-db/tokyocabinet ) - !tokyocabinet? ( >=sys-libs/db-3.2 ) - ) - ) - sci-libs/gsl - app-arch/pax" -# pax needed for bf_tar -RDEPEND="${DEPEND}" - -pkg_setup() { - has_version mail-filter/bogofilter || return 0 - if ( use berkdb && ! has_version 'mail-filter/bogofilter[berkdb]' ) || \ - ( ! use berkdb && has_version 'mail-filter/bogofilter[berkdb]' ) || \ - ( use sqlite && ! has_version 'mail-filter/bogofilter[sqlite]' ) || \ - ( ! use sqlite && has_version 'mail-filter/bogofilter[sqlite]' ) || \ - ( has_version '>=mail-filter/bogofilter-1.2.1-r1' && \ - ( use tokyocabinet && ! has_version 'mail-filter/bogofilter[tokyocabinet]' ) || \ - ( ! use tokyocabinet && has_version 'mail-filter/bogofilter[tokyocabinet]' ) - ) ; then - ewarn - ewarn "If you want to switch the database backend, you must dump the wordlist" - ewarn "with the current version (old use flags) and load it with the new version!" - ewarn - fi -} - -src_prepare() { - sed -i -e 's/ -ggdb//' configure.ac || die # bug 445918 - eautoreconf -} - -src_configure() { - 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 berkdb && use tokyocabinet ; then - elog "Both useflags berkdb and tokyocabinet are in USE:" - elog "Using berkdb as database backend." - elif use sqlite && use tokyocabinet ; then - elog "Both useflags sqlite and tokyocabinet are in USE:" - elog "Using sqlite as database backend." - myconf="${myconf} --with-database=sqlite" - berkdb=false - elif use sqlite ; then - myconf="${myconf} --with-database=sqlite" - berkdb=false - elif use tokyocabinet ; then - myconf="${myconf} --with-database=tokyocabinet" - berkdb=false - elif ! use berkdb ; then - elog "Neither berkdb nor sqlite nor tokyocabinet are in USE:" - elog "Using berkdb as database backend." - fi - - # Include the right berkdb headers for FreeBSD - if ${berkdb} ; then - append-cppflags "-I$(db_includedir)" - fi - - # bug #324405 - if [[ $(gcc-version) == "3.4" ]] ; then - epatch "${FILESDIR}"/${PN}-1.2.2-gcc34.patch - fi - - econf ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - exeinto /usr/share/${PN}/contrib - doexe contrib/{bogofilter-qfe,parmtest,randomtrain}.sh \ - contrib/{bfproxy,bogominitrain,mime.get.rfc822,printmaildir}.pl \ - contrib/{spamitarium,stripsearch}.pl - - 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 - - dodoc AUTHORS NEWS README RELEASE.NOTES* TODO GETTING.STARTED \ - doc/integrating-with-* doc/README.{db,sqlite} - - dohtml doc/*.html - - dodir /usr/share/doc/${PF}/samples - mv "${D}"/etc/bogofilter.cf.example "${D}"/usr/share/doc/${PF}/samples/ - rmdir "${D}"/etc -} |