diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /mail-filter/bogofilter | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'mail-filter/bogofilter')
-rw-r--r-- | mail-filter/bogofilter/Manifest | 3 | ||||
-rw-r--r-- | mail-filter/bogofilter/bogofilter-1.2.4-r2.ebuild | 131 | ||||
-rw-r--r-- | mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild | 2 |
3 files changed, 2 insertions, 134 deletions
diff --git a/mail-filter/bogofilter/Manifest b/mail-filter/bogofilter/Manifest index a512e61ba6f2..5135673448ef 100644 --- a/mail-filter/bogofilter/Manifest +++ b/mail-filter/bogofilter/Manifest @@ -1,5 +1,4 @@ AUX bogofilter-1.2.4-test-env.patch 392 BLAKE2B a72f6e0c08ca9f100188fff9da98ca41b45c87b42abbc6f68432eef597eb691609130d57f8723a800da6eaabbf87b87e4eed79539a5cf6f88539803d8f9bc4fb SHA512 c9f08a1af44d3281aff119a821423adbb9533cd49d87986a13d817db8d9446bc48a195b964527940aa0e41f5106bd4d7b2a9684c6c725bafed95adb8d3e87e96 DIST bogofilter-1.2.4.tar.bz2 887848 BLAKE2B 4ed5c15a44f5a166e3858581ccc59b36ebde2fe1eb402cc0471378600b555b2452f4eae04d7d37dcb7638568db0c196da2d2504a3a569d7571c4aacd7e0ceea7 SHA512 e8c0b6bcc14f12fbbb2752e697a6d9065e17abfca3f70045ce9fe668d01c1cfad4adaa35c81546ecdd3639b0c28f3f4776bb5ed4699f21e9e2a5b19ca33479db -EBUILD bogofilter-1.2.4-r2.ebuild 3771 BLAKE2B 0c7e1f6a519225d5d7b28e91b853031e045c61b97bf6257d774b22cef7cb1b121eca0da6fc95806e538406bf1dcd38b162358ad749fddee8a97877ebc58d4add SHA512 fdea152b7d3aa4873f26a8ba630e634039ef2824c82019d35e4c89df275e7b67f84e16ac96f032d36f1825997d25ffe636d9564cac52df6ea43b6691a9f8806c -EBUILD bogofilter-1.2.4-r3.ebuild 3779 BLAKE2B 3a8f43929a8ad6459cea07837cf551169ae0d66cd3e45100c7c7b8188dfb97f3cf2f4d0b680dbc989e774d981a6f86151450b736a7a92d991460e6e9ff76dc72 SHA512 dfc20ea0b6ffcbca1a93d57233589636ca22696d0e2e47a3c436dccfca3f6c293be2d7eea49d95e8bfe8993b09c7296dab29505bbaf3d4fd2e92ec77a7cba92e +EBUILD bogofilter-1.2.4-r3.ebuild 3775 BLAKE2B ef688072e111d237d6052dd0cd1c0b313c8c646a97224e8f5a0c7775f94006828a46e15f66af446ac71da4a6d0ee90926a4dac33d647b102b598e40905fee1ac SHA512 caed65cf0d86b6bc299a57534fee24f8134678f3080a72ce996e6b3676e7d15772a6392275cdb153bdf6926345643df1e6ced6ed335446895fa77c84bba70bb0 MISC metadata.xml 681 BLAKE2B 847326098ccdb227a492c2c03c6173e8260db73a91df37ed739511402fc2466476cc7ffb5c356b203b46945524224237bcec8058e2ef19d0436c25a2611003cf SHA512 cce40d35e042c532ccac225225ca6a137a041f9da6f8f0696cfd4b12fa6876662379bf2cc01e36bb91bf32479561be0ca44b20a86a7788448207a35983042277 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 195141b45036..000000000000 --- 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 -} diff --git a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild index 7bb589b17c14..833ba677f9bf 100644 --- a/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild +++ b/mail-filter/bogofilter/bogofilter-1.2.4-r3.ebuild @@ -11,7 +11,7 @@ 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" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86" IUSE="berkdb sqlite tokyocabinet" # pax needed for bf_tar |