1 |
tove 07/11/28 19:45:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bogofilter-1.1.6.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.1.4_rc3) |
8 |
|
9 |
Revision Changes Path |
10 |
1.93 mail-filter/bogofilter/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/bogofilter/ChangeLog?rev=1.93&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/bogofilter/ChangeLog?rev=1.93&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/bogofilter/ChangeLog?r1=1.92&r2=1.93 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v |
19 |
retrieving revision 1.92 |
20 |
retrieving revision 1.93 |
21 |
diff -u -r1.92 -r1.93 |
22 |
--- ChangeLog 14 Jul 2007 15:28:42 -0000 1.92 |
23 |
+++ ChangeLog 28 Nov 2007 19:45:13 -0000 1.93 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for mail-filter/bogofilter |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.92 2007/07/14 15:28:42 tove Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/ChangeLog,v 1.93 2007/11/28 19:45:13 tove Exp $ |
29 |
+ |
30 |
+*bogofilter-1.1.6 (28 Nov 2007) |
31 |
+ |
32 |
+ 28 Nov 2007; Torsten Veller <tove@g.o> +bogofilter-1.1.6.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
14 Jul 2007; Torsten Veller <tove@g.o> |
36 |
-files/1.1.1-patch.1107.lexer_v3_l, bogofilter-0.92.8.ebuild, |
37 |
|
38 |
|
39 |
|
40 |
1.1 mail-filter/bogofilter/bogofilter-1.1.6.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/bogofilter/bogofilter-1.1.6.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/bogofilter/bogofilter-1.1.6.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: bogofilter-1.1.6.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/mail-filter/bogofilter/bogofilter-1.1.6.ebuild,v 1.1 2007/11/28 19:45:13 tove Exp $ |
50 |
|
51 |
inherit db-use flag-o-matic |
52 |
|
53 |
DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for speed." |
54 |
HOMEPAGE="http://bogofilter.sourceforge.net/" |
55 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
60 |
IUSE="gsl berkdb sqlite" |
61 |
|
62 |
DEPEND="virtual/libiconv |
63 |
berkdb? ( >=sys-libs/db-3.2 ) |
64 |
!berkdb? ( |
65 |
sqlite? ( >=dev-db/sqlite-3.4.2 ) |
66 |
!sqlite? ( >=sys-libs/db-3.2 ) ) |
67 |
gsl? ( sci-libs/gsl )" |
68 |
# app-arch/pax" # only needed for bf_tar |
69 |
|
70 |
src_compile() { |
71 |
local myconf="" berkdb=true |
72 |
myconf="$(use_with !gsl included-gsl)" |
73 |
|
74 |
# determine backend: berkdb *is* default |
75 |
if use berkdb && use sqlite ; then |
76 |
elog "Both useflags berkdb and sqlite are in USE:" |
77 |
elog "Using berkdb as database backend." |
78 |
elif use sqlite ; then |
79 |
myconf="${myconf} --with-database=sqlite" |
80 |
berkdb=false |
81 |
elif ! use berkdb ; then |
82 |
elog "Neither berkdb nor sqlite are in USE:" |
83 |
elog "Using berkdb as database backend." |
84 |
fi |
85 |
|
86 |
# Include the right berkdb headers for FreeBSD |
87 |
if ${berkdb} ; then |
88 |
append-flags "-I$(db_includedir)" |
89 |
fi |
90 |
|
91 |
econf ${myconf} || die "configure failed" |
92 |
emake || die "emake failed" |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
emake DESTDIR="${D}" install || die "make install failed" |
97 |
|
98 |
exeinto /usr/share/${PN}/contrib |
99 |
doexe contrib/{bogofilter-qfe,parmtest,randomtrain}.sh \ |
100 |
contrib/{bfproxy,bogominitrain,mime.get.rfc822,printmaildir}.pl \ |
101 |
contrib/{spamitarium,stripsearch}.pl || die "doexec failed" |
102 |
|
103 |
insinto /usr/share/${PN}/contrib |
104 |
doins contrib/{README.*,dot-qmail-bogofilter-default} \ |
105 |
contrib/{bogogrep.c,bogo.R,bogofilter-milter.pl,*.example} \ |
106 |
contrib/vm-bogofilter.el \ |
107 |
contrib/{trainbogo,scramble}.sh || die "doins failed" |
108 |
|
109 |
dodoc AUTHORS NEWS README RELEASE.NOTES* TODO GETTING.STARTED \ |
110 |
doc/integrating-with-* doc/README.{db,sqlite} || die "dodoc failed" |
111 |
|
112 |
dohtml doc/*.html |
113 |
|
114 |
dodir /usr/share/doc/${PF}/samples |
115 |
mv "${D}"/etc/bogofilter.cf.example "${D}"/usr/share/doc/${PF}/samples/ |
116 |
rmdir "${D}"/etc |
117 |
} |
118 |
|
119 |
pkg_postinst() { |
120 |
echo |
121 |
elog "If you need ${ROOT}usr/bin/bf_tar please install app-arch/pax." |
122 |
echo |
123 |
} |
124 |
|
125 |
|
126 |
|
127 |
-- |
128 |
gentoo-commits@g.o mailing list |