summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-01-09 21:10:41 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-01-09 21:10:41 +0000
commitda82e0a8202c04f61935e26561a4d95a828e3a1f (patch)
treeabe6feca340d2db746b81982c6d08c05cd80ff42 /mail
parentQpsmtpd started as a replacement daemon for the SMTP receiver (qmail-smtpd) (diff)
From the Dovecot wiki on LDA (WWW: http://wiki.dovecot.org/LDA/Sieve)
Sieve language support by a plugin for the deliver LDA * Mail filtering * Mail forwarding * Vacation auto-reply WWW: http://www.dovecot.org PR: ports/107352 Submitted by: Nils Vogels <nivo+kw+ports.bfa274 at is-root.com>
Notes
Notes: svn path=/head/; revision=181883
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/dovecot-sieve/Makefile30
-rw-r--r--mail/dovecot-sieve/distinfo3
-rw-r--r--mail/dovecot-sieve/pkg-descr9
-rw-r--r--mail/dovecot-sieve/pkg-message16
-rw-r--r--mail/dovecot-sieve/pkg-plist10
6 files changed, 69 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index e611ab2d1b91..db225490591a 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -83,6 +83,7 @@
SUBDIR += dkimap4
SUBDIR += dkimproxy
SUBDIR += dovecot
+ SUBDIR += dovecot-sieve
SUBDIR += drac
SUBDIR += drbl
SUBDIR += dsbl-testers
diff --git a/mail/dovecot-sieve/Makefile b/mail/dovecot-sieve/Makefile
new file mode 100644
index 000000000000..5329cc3849b5
--- /dev/null
+++ b/mail/dovecot-sieve/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: dovecot-sieve
+# Date created: 2006-12-29
+# Whom: Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dovecot-sieve
+PORTVERSION= 1.0
+CATEGORIES= mail
+MASTER_SITES= http://www.dovecot.org/releases/sieve/
+
+MAINTAINER= nivo+kw+ports.bfa274@is-root.com
+COMMENT= A sieve plugin for the Dovecot LDA called 'deliver'
+
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:build
+
+USE_LDCONFIG= ${PREFIX}/lib/dovecot/lda
+
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --prefix=${PREFIX} --with-dovecot=`make -C ${PORTSDIR}/mail/dovecot -V WRKSRC`
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= Does not compile on 4.x
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/dovecot-sieve/distinfo b/mail/dovecot-sieve/distinfo
new file mode 100644
index 000000000000..03a746a1f02d
--- /dev/null
+++ b/mail/dovecot-sieve/distinfo
@@ -0,0 +1,3 @@
+MD5 (dovecot-sieve-1.0.tar.gz) = dabe564d2ef262a008622737ad84579f
+SHA256 (dovecot-sieve-1.0.tar.gz) = c1ce887c1c6e09d9d1b4af6825db5c50befb10c1fed742a6666a12ac9492d98a
+SIZE (dovecot-sieve-1.0.tar.gz) = 442943
diff --git a/mail/dovecot-sieve/pkg-descr b/mail/dovecot-sieve/pkg-descr
new file mode 100644
index 000000000000..7a19d5b394f4
--- /dev/null
+++ b/mail/dovecot-sieve/pkg-descr
@@ -0,0 +1,9 @@
+From the Dovecot wiki on LDA (WWW: http://wiki.dovecot.org/LDA/Sieve)
+
+Sieve language support by a plugin for the deliver LDA
+
+ * Mail filtering
+ * Mail forwarding
+ * Vacation auto-reply
+
+WWW: http://www.dovecot.org
diff --git a/mail/dovecot-sieve/pkg-message b/mail/dovecot-sieve/pkg-message
new file mode 100644
index 000000000000..da9ec298549b
--- /dev/null
+++ b/mail/dovecot-sieve/pkg-message
@@ -0,0 +1,16 @@
+---------------------------------------------------------------------
+
+ This port assumes you are known with Dovecot and have it installed
+ and running on the system you have installed this plugin on.
+
+ You can enable the plugin with this directive in your dovecot.conf:
+
+ protocol lda {
+ mail_plugins = cmusieve
+ }
+
+ Further information on configuration can be found at:
+
+ http://wiki.dovecot.org/
+
+---------------------------------------------------------------------
diff --git a/mail/dovecot-sieve/pkg-plist b/mail/dovecot-sieve/pkg-plist
new file mode 100644
index 000000000000..53e07f5b0643
--- /dev/null
+++ b/mail/dovecot-sieve/pkg-plist
@@ -0,0 +1,10 @@
+@comment $FreeBSD$
+lib/dovecot/lda/lib90_cmusieve_plugin.a
+lib/dovecot/lda/lib90_cmusieve_plugin.la
+lib/dovecot/lda/lib90_cmusieve_plugin.so
+libdata/ldconfig/dovecot-sieve
+libexec/dovecot/sievec
+libexec/dovecot/sieved
+@dirrm libexec/dovecot
+@dirrm lib/dovecot/lda
+@dirrm lib/dovecot