Gentoo Archives: gentoo-commits

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-20080829.ebuild
Date: Fri, 29 Aug 2008 12:20:37
Message-Id: E1KZ2xt-0002vM-Mk@stork.gentoo.org
1 hollow 08/08/29 12:20:33
2
3 Modified: ChangeLog
4 Added: dovecot-antispam-20080829.ebuild
5 Log:
6 version bump wrt #235587
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.9 mail-filter/dovecot-antispam/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog?r1=1.8&r2=1.9
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ChangeLog 23 Aug 2008 05:48:33 -0000 1.8
23 +++ ChangeLog 29 Aug 2008 12:20:33 -0000 1.9
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.8 2008/08/23 05:48:33 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v 1.9 2008/08/29 12:20:33 hollow Exp $
29 +
30 +*dovecot-antispam-20080829 (29 Aug 2008)
31 +
32 + 29 Aug 2008; Benedikt Böhm <hollow@g.o>
33 + +dovecot-antispam-20080829.ebuild:
34 + version bump wrt #235587
35
36 23 Aug 2008; Doug Goldstein <cardoe@g.o> metadata.xml:
37 add GLEP 56 USE flag desc from use.local.desc
38
39
40
41 1.1 mail-filter/dovecot-antispam/dovecot-antispam-20080829.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/dovecot-antispam-20080829.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/dovecot-antispam-20080829.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dovecot-antispam-20080829.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-20080829.ebuild,v 1.1 2008/08/29 12:20:33 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 }