From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B2DC9138350 for ; Tue, 24 Mar 2020 15:36:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D359FE0882; Tue, 24 Mar 2020 15:36:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9AEC3E0882 for ; Tue, 24 Mar 2020 15:36:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F39E034F00A for ; Tue, 24 Mar 2020 15:36:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA00E102 for ; Tue, 24 Mar 2020 15:36:26 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1585064176.ed7c587fa7517f772c8ec629c2a27fb30ed5a92c.johu@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/bogofilter/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild X-VCS-Directories: mail-filter/bogofilter/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: ed7c587fa7517f772c8ec629c2a27fb30ed5a92c X-VCS-Branch: master Date: Tue, 24 Mar 2020 15:36:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2d8847c0-179f-4e35-a1ce-f788b163b84c X-Archives-Hash: 6c5faf1b4b0441332fc53c82bf6dc315 commit: ed7c587fa7517f772c8ec629c2a27fb30ed5a92c Author: Johannes Huber gentoo org> AuthorDate: Tue Mar 24 15:35:58 2020 +0000 Commit: Johannes Huber gentoo org> CommitDate: Tue Mar 24 15:36:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed7c587f mail-filter/bogofilter: Remove 1.2.4-r2 Package-Manager: Portage-2.3.95, Repoman-2.3.21 Signed-off-by: Johannes Huber gentoo.org> mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild | 131 ---------------------- 1 file changed, 131 deletions(-) diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild b/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild deleted file mode 100644 index 195141b4503..00000000000 --- a/mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools db-use 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 arm64 ~hppa ia64 ppc ppc64 ~sh ~sparc x86" -IUSE="berkdb sqlite tokyocabinet" - -# pax needed for bf_tar -DEPEND=" - app-arch/pax - sci-libs/gsl:= - 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:* ) - ) - ) -" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${P}-test-env.patch" ) - -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() { - default - - # bug 445918 - sed -i -e 's/ -ggdb//' configure.ac || die - - # bug 421747 - chmod +x src/tests/t.{ctype,leakfind,lexer.qpcr,lexer.eoh,message_id,queue_id} - - # bug 654990 - sed -i -e 's/t.bulkmode//' \ - -e 's/t.dump.load//' \ - -e 's/t.nonascii.replace//' \ - src/tests/Makefile.am || die - - 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 - - econf ${myconf} -} - -src_test() { - emake -C src/ check -} - -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} - - dodoc -r doc/*.html - - dodir /usr/share/doc/${PF}/samples - mv "${D}"/etc/bogofilter.cf.example "${D}"/usr/share/doc/${PF}/samples/ || die - rmdir "${D}"/etc || die -}