diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2010-05-29 06:45:28 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2010-05-29 06:45:28 +0000 |
commit | 69961b3094272bf13a1c54e3f6845223abfec17b (patch) | |
tree | 4f4c91ff4cfdeebb90dd943965826d8e5696bef4 /mail-filter | |
parent | version bump wrt #313317 (diff) | |
download | gentoo-2-69961b3094272bf13a1c54e3f6845223abfec17b.tar.gz gentoo-2-69961b3094272bf13a1c54e3f6845223abfec17b.tar.bz2 gentoo-2-69961b3094272bf13a1c54e3f6845223abfec17b.zip |
version bump wrt #320651
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/dovecot-antispam/ChangeLog | 8 | ||||
-rw-r--r-- | mail-filter/dovecot-antispam/dovecot-antispam-1.3.ebuild | 69 |
2 files changed, 76 insertions, 1 deletions
diff --git a/mail-filter/dovecot-antispam/ChangeLog b/mail-filter/dovecot-antispam/ChangeLog index dd89b004ef5e..cf867622f051 100644 --- a/mail-filter/dovecot-antispam/ChangeLog +++ b/mail-filter/dovecot-antispam/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-filter/dovecot-antispam # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v 1.17 2010/03/11 21:16:41 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v 1.18 2010/05/29 06:45:28 hollow Exp $ + +*dovecot-antispam-1.3 (29 May 2010) + + 29 May 2010; Benedikt Böhm <hollow@gentoo.org> + +dovecot-antispam-1.3.ebuild: + version bump wrt #320651 11 Mar 2010; Tristan Heaven <nyhm@gentoo.org> dovecot-antispam-1.2.ebuild: inherit eutils for epatch diff --git a/mail-filter/dovecot-antispam/dovecot-antispam-1.3.ebuild b/mail-filter/dovecot-antispam/dovecot-antispam-1.3.ebuild new file mode 100644 index 000000000000..ee22eff568ea --- /dev/null +++ b/mail-filter/dovecot-antispam/dovecot-antispam-1.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI="1" + +inherit confutils eutils + +DESCRIPTION="A dovecot antispam plugin supporting multiple backends" +HOMEPAGE="http://johannes.sipsolutions.net/Projects/dovecot-antispam" +SRC_URI="http://johannes.sipsolutions.net/download/dovecot-antispam/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug +dspam crm114 mailtrain signature-log spool2dir syslog" + +DEPEND="net-mail/dovecot + dspam? ( mail-filter/dspam ) + crm114? ( app-text/crm114 )" +RDEPEND="${DEPEND}" + +# we need this to prevent errors from dovecot-config +top_builddir() { + return +} + +pkg_setup() { + confutils_require_one dspam signature-log mailtrain crm114 spool2dir + confutils_use_depend_all syslog debug +} + +src_compile() { + source "${ROOT}"/usr/lib/dovecot/dovecot-config || \ + die "cannot find dovecot-config" + + echo DOVECOT=${dovecot_incdir} > .config + echo INSTALLDIR=${moduledir}/imap/ >> .config + echo PLUGINNAME=antispam >> .config + echo USER=root >> .config + echo GROUP=root >> .config + + use dspam && echo BACKEND=dspam-exec >> .config + use signature-log && echo BACKEND=signature-log >> .config + use mailtrain && echo BACKEND=mailtrain >> .config + use crm114 && echo BACKEND=crm114-exec >> .config + use spool2dir && echo BACKEND=spool2dir >> .config + + if use debug; then + if use syslog; then + echo DEBUG=syslog >> .config + else + echo DEBUG=stderr >> .config + fi + fi + + emake || die "make failed" +} + +src_install() { + source "${ROOT}"/usr/lib/dovecot/dovecot-config || \ + die "cannot find dovecot-config" + + dodir "${moduledir}"/imap/ + make DESTDIR="${D}" install || die "make install failed" + + newman antispam.7 dovecot-antispam.7 + dodoc NOTES README +} |