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-20080601.ebuild |
Date: | Sun, 01 Jun 2008 10:37:01 |
Message-Id: | E1K2kvn-00056z-87@stork.gentoo.org |
1 | hollow 08/06/01 10:36:55 |
2 | |
3 | Modified: ChangeLog |
4 | Added: dovecot-antispam-20080601.ebuild |
5 | Log: |
6 | version bump, fixes #212594 |
7 | (Portage version: 2.1.5.2) |
8 | |
9 | Revision Changes Path |
10 | 1.7 mail-filter/dovecot-antispam/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog?rev=1.7&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog?rev=1.7&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog?r1=1.6&r2=1.7 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v |
19 | retrieving revision 1.6 |
20 | retrieving revision 1.7 |
21 | diff -u -r1.6 -r1.7 |
22 | --- ChangeLog 24 Apr 2008 11:46:40 -0000 1.6 |
23 | +++ ChangeLog 1 Jun 2008 10:36:54 -0000 1.7 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for mail-filter/dovecot-antispam |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v 1.6 2008/04/24 11:46:40 hollow Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v 1.7 2008/06/01 10:36:54 hollow Exp $ |
29 | + |
30 | +*dovecot-antispam-20080601 (01 Jun 2008) |
31 | + |
32 | + 01 Jun 2008; Benedikt Böhm <hollow@g.o> |
33 | + +dovecot-antispam-20080601.ebuild: |
34 | + version bump, fixes #212594 |
35 | |
36 | *dovecot-antispam-20080424 (24 Apr 2008) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 mail-filter/dovecot-antispam/dovecot-antispam-20080601.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/dovecot-antispam-20080601.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/dovecot-antispam-20080601.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: dovecot-antispam-20080601.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 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-20080601.ebuild,v 1.1 2008/06/01 10:36:54 hollow Exp $ |
51 | |
52 | inherit confutils eutils autotools flag-o-matic multilib |
53 | |
54 | DESCRIPTION="A dovecot antispam plugin supporting multiple backends" |
55 | HOMEPAGE="http://johannes.sipsolutions.net/Projects/dovecot-antispam" |
56 | SRC_URI="mirror://gentoo/${P}.tar.gz" |
57 | |
58 | LICENSE="GPL-2" |
59 | SLOT="0" |
60 | KEYWORDS="~amd64 ~x86" |
61 | IUSE="debug dspam crm114 mailtrain signature-log syslog" |
62 | |
63 | DEPEND="net-mail/dovecot |
64 | dspam? ( mail-filter/dspam ) |
65 | crm114? ( app-text/crm114 )" |
66 | RDEPEND="${DEPEND}" |
67 | |
68 | S="${WORKDIR}"/${PN} |
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 |
77 | confutils_use_depend_all syslog debug |
78 | } |
79 | |
80 | src_unpack() { |
81 | unpack ${A} |
82 | cd "${S}" |
83 | sed -e 's/$(INSTALLDIR)/$(DESTDIR)$(INSTALLDIR)/' -i Makefile |
84 | } |
85 | |
86 | src_compile() { |
87 | source "${ROOT}"/usr/lib/dovecot/dovecot-config || \ |
88 | die "cannot find dovecot-config" |
89 | |
90 | echo DOVECOT=${dovecot_incdir} > .config |
91 | echo INSTALLDIR=${moduledir}/imap/ >> .config |
92 | echo PLUGINNAME=antispam >> .config |
93 | echo USER=root >> .config |
94 | echo GROUP=root >> .config |
95 | |
96 | use dspam && echo BACKEND=dspam-exec >> .config |
97 | use signature-log && echo BACKEND=signature-log >> .config |
98 | use mailtrain && echo BACKEND=mailtrain >> .config |
99 | use crm114 && echo BACKEND=crm114-exec >> .config |
100 | |
101 | if use debug; then |
102 | if use syslog; then |
103 | echo DEBUG=syslog >> .config |
104 | else |
105 | echo DEBUG=stderr >> .config |
106 | fi |
107 | fi |
108 | |
109 | emake || die "make failed" |
110 | } |
111 | |
112 | src_install() { |
113 | source "${ROOT}"/usr/lib/dovecot/dovecot-config || \ |
114 | die "cannot find dovecot-config" |
115 | |
116 | dodir "${moduledir}"/imap/ |
117 | make DESTDIR="${D}" install || die "make install failed" |
118 | |
119 | newman antispam.7 dovecot-antispam.7 |
120 | } |
121 | |
122 | |
123 | |
124 | -- |
125 | gentoo-commits@l.g.o mailing list |