summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2007-10-21 08:38:41 +0000
committerBenedikt Boehm <hollow@gentoo.org>2007-10-21 08:38:41 +0000
commitbb6c116a83033baf59a1bb26d7bd5b3adf9e8179 (patch)
treeb4155e84b07affd06ddcba96d46a4c05a36172cb /mail-filter
parentadd dovecot-antispam (diff)
downloadgentoo-2-bb6c116a83033baf59a1bb26d7bd5b3adf9e8179.tar.gz
gentoo-2-bb6c116a83033baf59a1bb26d7bd5b3adf9e8179.tar.bz2
gentoo-2-bb6c116a83033baf59a1bb26d7bd5b3adf9e8179.zip
initial ebuild
(Portage version: 2.1.3.13)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/dovecot-antispam/ChangeLog10
-rw-r--r--mail-filter/dovecot-antispam/Manifest16
-rw-r--r--mail-filter/dovecot-antispam/dovecot-antispam-20071019.ebuild61
-rw-r--r--mail-filter/dovecot-antispam/files/digest-dovecot-antispam-200710193
-rw-r--r--mail-filter/dovecot-antispam/metadata.xml8
5 files changed, 98 insertions, 0 deletions
diff --git a/mail-filter/dovecot-antispam/ChangeLog b/mail-filter/dovecot-antispam/ChangeLog
new file mode 100644
index 000000000000..a07b18d4dc55
--- /dev/null
+++ b/mail-filter/dovecot-antispam/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for mail-filter/dovecot-antispam
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/ChangeLog,v 1.1 2007/10/21 08:38:41 hollow Exp $
+
+*dovecot-antispam-20071019 (21 Oct 2007)
+
+ 21 Oct 2007; Benedikt Böhm <hollow@gentoo.org> +metadata.xml,
+ +dovecot-antispam-20071019.ebuild:
+ initial ebuild
+
diff --git a/mail-filter/dovecot-antispam/Manifest b/mail-filter/dovecot-antispam/Manifest
new file mode 100644
index 000000000000..b414cd4f7f00
--- /dev/null
+++ b/mail-filter/dovecot-antispam/Manifest
@@ -0,0 +1,16 @@
+DIST dovecot-antispam-20071019.tar.gz 18177 RMD160 2b4f6bd01f712b36e3e266533fdb6d00a2704fb6 SHA1 557caccbc16b5e16d7aa3d7dc044bf556ba3cada SHA256 45b796c729f7c5ef43581c1fa2c0742a65bd5138a2c8940a6f009d48867a6317
+EBUILD dovecot-antispam-20071019.ebuild 1663 RMD160 1cb07fdd919bf140d5379023537bb8798763a0f4 SHA1 9232050fdbdc8218ff40bd01a73a2459fa5bd21a SHA256 094437ad2a121c678b4a372d6bfeb67c995c354466341674bb6f27014abcd475
+MD5 e6f2b518f484fae88b20f25dbfdb017e dovecot-antispam-20071019.ebuild 1663
+RMD160 1cb07fdd919bf140d5379023537bb8798763a0f4 dovecot-antispam-20071019.ebuild 1663
+SHA256 094437ad2a121c678b4a372d6bfeb67c995c354466341674bb6f27014abcd475 dovecot-antispam-20071019.ebuild 1663
+MISC ChangeLog 291 RMD160 3d82b591b2617cbe3226c3a706ea7b157e2ca550 SHA1 9f46074214b96dc79795cef232b74943b07be24a SHA256 40848106b28b81036af40949fbca29a68cf88222d4217b21bd8cd70492e5b766
+MD5 7a2141d3057a725528d4cd687ae5059c ChangeLog 291
+RMD160 3d82b591b2617cbe3226c3a706ea7b157e2ca550 ChangeLog 291
+SHA256 40848106b28b81036af40949fbca29a68cf88222d4217b21bd8cd70492e5b766 ChangeLog 291
+MISC metadata.xml 251 RMD160 c4d079e31c8c6fc5b32586b1b881a6d9c93ba94c SHA1 0990a61c2e5600e455eb58c69d6d49e3c84199f4 SHA256 5b839d482612897f87ac7367d43006508721db88395c939a24f0befa7beafe6a
+MD5 8c5c0eca4f7f485355600ca645c5e20d metadata.xml 251
+RMD160 c4d079e31c8c6fc5b32586b1b881a6d9c93ba94c metadata.xml 251
+SHA256 5b839d482612897f87ac7367d43006508721db88395c939a24f0befa7beafe6a metadata.xml 251
+MD5 d4faeb9dadc47fb79db701e9669c816f files/digest-dovecot-antispam-20071019 274
+RMD160 2e561c1b11a8297cd2cb4ec1f6a338e3e12f4d61 files/digest-dovecot-antispam-20071019 274
+SHA256 b484eec6c3f4c170976bccdf77f386bf15192f53d47a88da2a73c5b84181e275 files/digest-dovecot-antispam-20071019 274
diff --git a/mail-filter/dovecot-antispam/dovecot-antispam-20071019.ebuild b/mail-filter/dovecot-antispam/dovecot-antispam-20071019.ebuild
new file mode 100644
index 000000000000..3dac30f4b83c
--- /dev/null
+++ b/mail-filter/dovecot-antispam/dovecot-antispam-20071019.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/dovecot-antispam-20071019.ebuild,v 1.1 2007/10/21 08:38:41 hollow Exp $
+
+inherit eutils autotools flag-o-matic multilib
+
+DESCRIPTION="A dovecot antispam plugin supporting multiple backends"
+HOMEPAGE="http://johannes.sipsolutions.net/Projects/dovecot-antispam"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dspam signature-log mailtrain crm114"
+
+DEPEND="net-mail/dovecot
+ dspam? ( mail-filter/dspam )
+ crm114? ( app-text/crm114 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${PN}
+
+# we need this to prevent errors from dovecot-config
+top_builddir() {
+ return
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -e 's/$(INSTALLDIR)/$(DESTDIR)$(INSTALLDIR)/' -i Makefile
+}
+
+src_compile() {
+ source "${ROOT}"/usr/lib/dovecot/dovecot-config || \
+ die "cannot find dovecot-config"
+
+ echo DOVECOT=${dovecot_incdir} > .config
+ echo DOVECOT_VERSION=1.0 >> .config
+ echo INSTALLDIR=${moduledir}/imap/ >> .config
+ echo PLUGINNAME=antispam >> .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 debug && DEBUG=stderr >> .config
+
+ emake || die "make failed"
+}
+
+src_install () {
+ source "${ROOT}"/usr/lib/dovecot/dovecot-config || \
+ die "cannot find dovecot-config"
+
+ dodir "${moduledir}"/modules/imap/
+ make DESTDIR="${D}" install || die "make install failed"
+
+ newman antispam.7 dovecot-antispam.7
+}
diff --git a/mail-filter/dovecot-antispam/files/digest-dovecot-antispam-20071019 b/mail-filter/dovecot-antispam/files/digest-dovecot-antispam-20071019
new file mode 100644
index 000000000000..ab77096a9294
--- /dev/null
+++ b/mail-filter/dovecot-antispam/files/digest-dovecot-antispam-20071019
@@ -0,0 +1,3 @@
+MD5 045218727649cfa7d1f2ddacf89674c7 dovecot-antispam-20071019.tar.gz 18177
+RMD160 2b4f6bd01f712b36e3e266533fdb6d00a2704fb6 dovecot-antispam-20071019.tar.gz 18177
+SHA256 45b796c729f7c5ef43581c1fa2c0742a65bd5138a2c8940a6f009d48867a6317 dovecot-antispam-20071019.tar.gz 18177
diff --git a/mail-filter/dovecot-antispam/metadata.xml b/mail-filter/dovecot-antispam/metadata.xml
new file mode 100644
index 000000000000..b94fafbae357
--- /dev/null
+++ b/mail-filter/dovecot-antispam/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hollow@gentoo.org</email>
+ <name>Benedikt Böhm</name>
+ </maintainer>
+</pkgmetadata>