From: | "Benedikt Boehm (hollow)" <hollow@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in mail-filter/dovecot-antispam: ChangeLog dovecot-antispam-1.3.ebuild |
Date: | Sat, 29 May 2010 07:01:30 |
Message-Id: | 20100529064529.0FDA32CF67@corvid.gentoo.org |
1 | hollow 10/05/29 06:45:28 |
2 | |
3 | Modified: ChangeLog |
4 | Added: dovecot-antispam-1.3.ebuild |
5 | Log: |
6 | version bump wrt #320651 |
7 | (Portage version: 2.2_rc67/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.18 mail-filter/dovecot-antispam/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog?rev=1.18&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog?rev=1.18&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog?r1=1.17&r2=1.18 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v |
19 | retrieving revision 1.17 |
20 | retrieving revision 1.18 |
21 | diff -u -r1.17 -r1.18 |
22 | --- ChangeLog 11 Mar 2010 21:16:41 -0000 1.17 |
23 | +++ ChangeLog 29 May 2010 06:45:28 -0000 1.18 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for mail-filter/dovecot-antispam |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v 1.17 2010/03/11 21:16:41 nyhm Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v 1.18 2010/05/29 06:45:28 hollow Exp $ |
29 | + |
30 | +*dovecot-antispam-1.3 (29 May 2010) |
31 | + |
32 | + 29 May 2010; Benedikt Böhm <hollow@g.o> |
33 | + +dovecot-antispam-1.3.ebuild: |
34 | + version bump wrt #320651 |
35 | |
36 | 11 Mar 2010; Tristan Heaven <nyhm@g.o> dovecot-antispam-1.2.ebuild: |
37 | inherit eutils for epatch |
38 | |
39 | |
40 | |
41 | 1.1 mail-filter/dovecot-antispam/dovecot-antispam-1.3.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/dovecot-antispam/dovecot-antispam-1.3.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/dovecot-antispam/dovecot-antispam-1.3.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: dovecot-antispam-1.3.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/dovecot-antispam-1.3.ebuild,v 1.1 2010/05/29 06:45:28 hollow Exp $ |
51 | |
52 | EAPI="1" |
53 | |
54 | inherit confutils eutils |
55 | |
56 | DESCRIPTION="A dovecot antispam plugin supporting multiple backends" |
57 | HOMEPAGE="http://johannes.sipsolutions.net/Projects/dovecot-antispam" |
58 | SRC_URI="http://johannes.sipsolutions.net/download/dovecot-antispam/${P}.tar.bz2" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | IUSE="debug +dspam crm114 mailtrain signature-log spool2dir syslog" |
64 | |
65 | DEPEND="net-mail/dovecot |
66 | dspam? ( mail-filter/dspam ) |
67 | crm114? ( app-text/crm114 )" |
68 | RDEPEND="${DEPEND}" |
69 | |
70 | # we need this to prevent errors from dovecot-config |
71 | top_builddir() { |
72 | return |
73 | } |
74 | |
75 | pkg_setup() { |
76 | confutils_require_one dspam signature-log mailtrain crm114 spool2dir |
77 | confutils_use_depend_all syslog debug |
78 | } |
79 | |
80 | src_compile() { |
81 | source "${ROOT}"/usr/lib/dovecot/dovecot-config || \ |
82 | die "cannot find dovecot-config" |
83 | |
84 | echo DOVECOT=${dovecot_incdir} > .config |
85 | echo INSTALLDIR=${moduledir}/imap/ >> .config |
86 | echo PLUGINNAME=antispam >> .config |
87 | echo USER=root >> .config |
88 | echo GROUP=root >> .config |
89 | |
90 | use dspam && echo BACKEND=dspam-exec >> .config |
91 | use signature-log && echo BACKEND=signature-log >> .config |
92 | use mailtrain && echo BACKEND=mailtrain >> .config |
93 | use crm114 && echo BACKEND=crm114-exec >> .config |
94 | use spool2dir && echo BACKEND=spool2dir >> .config |
95 | |
96 | if use debug; then |
97 | if use syslog; then |
98 | echo DEBUG=syslog >> .config |
99 | else |
100 | echo DEBUG=stderr >> .config |
101 | fi |
102 | fi |
103 | |
104 | emake || die "make failed" |
105 | } |
106 | |
107 | src_install() { |
108 | source "${ROOT}"/usr/lib/dovecot/dovecot-config || \ |
109 | die "cannot find dovecot-config" |
110 | |
111 | dodir "${moduledir}"/imap/ |
112 | make DESTDIR="${D}" install || die "make install failed" |
113 | |
114 | newman antispam.7 dovecot-antispam.7 |
115 | dodoc NOTES README |
116 | } |