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-20080424.ebuild
Date: Thu, 24 Apr 2008 11:46:44
Message-Id: E1JozuS-00080z-LC@stork.gentoo.org
1 hollow 08/04/24 11:46:40
2
3 Modified: ChangeLog
4 Added: dovecot-antispam-20080424.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.6 mail-filter/dovecot-antispam/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 27 Feb 2008 10:03:06 -0000 1.5
23 +++ ChangeLog 24 Apr 2008 11:46:40 -0000 1.6
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.5 2008/02/27 10:03:06 hollow Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v 1.6 2008/04/24 11:46:40 hollow Exp $
29 +
30 +*dovecot-antispam-20080424 (24 Apr 2008)
31 +
32 + 24 Apr 2008; Benedikt Böhm <hollow@g.o>
33 + +dovecot-antispam-20080424.ebuild:
34 + version bump
35
36 27 Feb 2008; Benedikt Böhm <hollow@g.o> metadata.xml:
37 fix metadata, no-herd is redundant
38
39
40
41 1.1 mail-filter/dovecot-antispam/dovecot-antispam-20080424.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/dovecot-antispam-20080424.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dovecot-antispam/dovecot-antispam-20080424.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dovecot-antispam-20080424.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-20080424.ebuild,v 1.1 2008/04/24 11:46:40 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 DOVECOT_VERSION=1.0 >> .config
92 echo INSTALLDIR=${moduledir}/imap/ >> .config
93 echo PLUGINNAME=antispam >> .config
94 echo USER=root >> .config
95 echo GROUP=root >> .config
96
97 use dspam && echo BACKEND=dspam-exec >> .config
98 use signature-log && echo BACKEND=signature-log >> .config
99 use mailtrain && echo BACKEND=mailtrain >> .config
100 use crm114 && echo BACKEND=crm114-exec >> .config
101
102 if use debug; then
103 if use syslog; then
104 echo DEBUG=syslog >> .config
105 else
106 echo DEBUG=stderr >> .config
107 fi
108 fi
109
110 emake || die "make failed"
111 }
112
113 src_install() {
114 source "${ROOT}"/usr/lib/dovecot/dovecot-config || \
115 die "cannot find dovecot-config"
116
117 dodir "${moduledir}"/imap/
118 make DESTDIR="${D}" install || die "make install failed"
119
120 newman antispam.7 dovecot-antispam.7
121 }
122
123
124
125 --
126 gentoo-commits@l.g.o mailing list