summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-11-05 12:01:20 +0000
committeradam <adam@pkgsrc.org>2010-11-05 12:01:20 +0000
commit98f209eec2abbd3a2434cb28240302d62e849390 (patch)
tree798a00394a0c53144536b3173a99762ebe88d3db /mail
parent3d8b641d91563bc9c11592986a716de9f5ac5d0f (diff)
downloadpkgsrc-98f209eec2abbd3a2434cb28240302d62e849390.tar.gz
This package is part of the Pigeonhole project (http://pigeonhole.dovecot.org).
It adds support for the Sieve language (RFC 5228) and the ManageSieve protocol (RFC 5804) to the Dovecot Secure IMAP Server. The Sieve language is used to specify how e-mail needs to be processed. By writing Sieve scripts, users can customize how messages are delivered, e.g. whether they are forwarded or stored in special folders. Unwanted messages can be discarded or rejected, and, when the user is not available, the Sieve interpreter can send an automated reply. Above all, the Sieve language is meant to be simple, extensible and system independent. And, unlike most other mail filtering script languages, it does not allow users to execute arbitrary programs. This is particularly useful to prevent virtual users from having full access to the mail store. The intention of the language is to make it impossible for users to do anything more complex (and dangerous) than write simple mail filters. Using the ManageSieve protocol, users can upload their Sieve scripts remotely, without needing direct filesystem access through FTP or SCP. Additionally, aManageSieve server always makes sure that uploaded scripts are valid, preventing compile failures at mail delivery. This package provides Sieve support as a plugin to Dovecot's Local Delivery Agent (LDA) and Dovecot's LMTP service. The ManageSieve protocol is provided is an additional service, next to Dovecot's own POP3 and IMAP services.
Diffstat (limited to 'mail')
-rw-r--r--mail/dovecot2-pigeonhole/DESCR24
-rw-r--r--mail/dovecot2-pigeonhole/Makefile27
-rw-r--r--mail/dovecot2-pigeonhole/PLIST61
-rw-r--r--mail/dovecot2-pigeonhole/distinfo6
-rw-r--r--mail/dovecot2-pigeonhole/patches/patch-aa13
5 files changed, 131 insertions, 0 deletions
diff --git a/mail/dovecot2-pigeonhole/DESCR b/mail/dovecot2-pigeonhole/DESCR
new file mode 100644
index 00000000000..3a210cfd454
--- /dev/null
+++ b/mail/dovecot2-pigeonhole/DESCR
@@ -0,0 +1,24 @@
+This package is part of the Pigeonhole project (http://pigeonhole.dovecot.org).
+It adds support for the Sieve language (RFC 5228) and the ManageSieve protocol
+(RFC 5804) to the Dovecot Secure IMAP Server.
+
+The Sieve language is used to specify how e-mail needs to be processed. By
+writing Sieve scripts, users can customize how messages are delivered, e.g.
+whether they are forwarded or stored in special folders. Unwanted messages can
+be discarded or rejected, and, when the user is not available, the Sieve
+interpreter can send an automated reply. Above all, the Sieve language is meant
+to be simple, extensible and system independent. And, unlike most other mail
+filtering script languages, it does not allow users to execute arbitrary
+programs. This is particularly useful to prevent virtual users from having full
+access to the mail store. The intention of the language is to make it impossible
+for users to do anything more complex (and dangerous) than write simple mail
+filters.
+
+Using the ManageSieve protocol, users can upload their Sieve scripts remotely,
+without needing direct filesystem access through FTP or SCP. Additionally,
+aManageSieve server always makes sure that uploaded scripts are valid,
+preventing compile failures at mail delivery.
+
+This package provides Sieve support as a plugin to Dovecot's Local Delivery
+Agent (LDA) and Dovecot's LMTP service. The ManageSieve protocol is provided is
+an additional service, next to Dovecot's own POP3 and IMAP services.
diff --git a/mail/dovecot2-pigeonhole/Makefile b/mail/dovecot2-pigeonhole/Makefile
new file mode 100644
index 00000000000..156ab8ad2a9
--- /dev/null
+++ b/mail/dovecot2-pigeonhole/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/11/05 12:01:20 adam Exp $
+
+DISTNAME= dovecot-2.0-pigeonhole-0.2.1
+PKGNAME= ${DISTNAME:S/-2.0-/-/}
+CATEGORIES= mail
+MASTER_SITES= http://www.rename-it.nl/dovecot/${DOVECOT_VERSION}/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.dovecot.org/
+COMMENT= Support for the Sieve language and the ManageSieve protocol
+LICENSE= gnu-lgpl-v2.1
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= pkg-config rpcgen
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+EGDIR= ${PREFIX}/share/examples/dovecot
+CONFD= ${PKG_SYSCONFDIR}/dovecot/conf.d
+MAKE_DIRS+= ${CONFD}
+CONF_FILES+= ${EGDIR}/conf.d/20-managesieve.conf ${CONFD}/20-managesieve.conf
+CONF_FILES+= ${EGDIR}/conf.d/90-sieve.conf ${CONFD}/90-sieve.conf
+
+.include "../../mail/dovecot2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/dovecot2-pigeonhole/PLIST b/mail/dovecot2-pigeonhole/PLIST
new file mode 100644
index 00000000000..e442481ca07
--- /dev/null
+++ b/mail/dovecot2-pigeonhole/PLIST
@@ -0,0 +1,61 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/11/05 12:01:20 adam Exp $
+bin/sieve-dump
+bin/sieve-test
+bin/sievec
+include/dovecot/sieve/pigeonhole-config.h
+include/dovecot/sieve/rfc2822.h
+include/dovecot/sieve/sieve-actions.h
+include/dovecot/sieve/sieve-address-parts.h
+include/dovecot/sieve/sieve-address.h
+include/dovecot/sieve/sieve-ast.h
+include/dovecot/sieve/sieve-binary-dumper.h
+include/dovecot/sieve/sieve-binary-private.h
+include/dovecot/sieve/sieve-binary.h
+include/dovecot/sieve/sieve-code-dumper.h
+include/dovecot/sieve/sieve-code.h
+include/dovecot/sieve/sieve-commands.h
+include/dovecot/sieve/sieve-common.h
+include/dovecot/sieve/sieve-comparators.h
+include/dovecot/sieve/sieve-config.h
+include/dovecot/sieve/sieve-dump.h
+include/dovecot/sieve/sieve-error-private.h
+include/dovecot/sieve/sieve-error.h
+include/dovecot/sieve/sieve-ext-enotify.h
+include/dovecot/sieve/sieve-ext-environment.h
+include/dovecot/sieve/sieve-ext-variables.h
+include/dovecot/sieve/sieve-extensions.h
+include/dovecot/sieve/sieve-generator.h
+include/dovecot/sieve/sieve-interpreter.h
+include/dovecot/sieve/sieve-lexer.h
+include/dovecot/sieve/sieve-limits.h
+include/dovecot/sieve/sieve-match-types.h
+include/dovecot/sieve/sieve-match.h
+include/dovecot/sieve/sieve-message.h
+include/dovecot/sieve/sieve-objects.h
+include/dovecot/sieve/sieve-parser.h
+include/dovecot/sieve/sieve-plugins.h
+include/dovecot/sieve/sieve-result.h
+include/dovecot/sieve/sieve-runtime-trace.h
+include/dovecot/sieve/sieve-runtime.h
+include/dovecot/sieve/sieve-script-private.h
+include/dovecot/sieve/sieve-script.h
+include/dovecot/sieve/sieve-settings.h
+include/dovecot/sieve/sieve-smtp.h
+include/dovecot/sieve/sieve-stringlist.h
+include/dovecot/sieve/sieve-types.h
+include/dovecot/sieve/sieve-validator.h
+include/dovecot/sieve/sieve.h
+lib/dovecot/lib90_sieve_plugin.la
+lib/dovecot/libdovecot-sieve.la
+lib/dovecot/settings/libmanagesieve_login_settings.la
+lib/dovecot/settings/libmanagesieve_settings.la
+libexec/dovecot/managesieve
+libexec/dovecot/managesieve-login
+man/man1/sieve-dump.1
+man/man1/sieve-test.1
+man/man1/sievec.1
+man/man1/sieved.1
+man/man7/pigeonhole.7
+share/doc/dovecot/sieve/spamtest-virustest.txt
+share/examples/dovecot/conf.d/20-managesieve.conf
+share/examples/dovecot/conf.d/90-sieve.conf
diff --git a/mail/dovecot2-pigeonhole/distinfo b/mail/dovecot2-pigeonhole/distinfo
new file mode 100644
index 00000000000..1c53e677b1c
--- /dev/null
+++ b/mail/dovecot2-pigeonhole/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/11/05 12:01:20 adam Exp $
+
+SHA1 (dovecot-2.0-pigeonhole-0.2.1.tar.gz) = ef06d157302576a9276c8f1181a3c5de018e2f36
+RMD160 (dovecot-2.0-pigeonhole-0.2.1.tar.gz) = a3cd58c13c3de33e6941c94633c580af4406ad85
+Size (dovecot-2.0-pigeonhole-0.2.1.tar.gz) = 1195090 bytes
+SHA1 (patch-aa) = 97bcc7ae0c1b07508027e7c03247316de02badcf
diff --git a/mail/dovecot2-pigeonhole/patches/patch-aa b/mail/dovecot2-pigeonhole/patches/patch-aa
new file mode 100644
index 00000000000..3b45bee9b4b
--- /dev/null
+++ b/mail/dovecot2-pigeonhole/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/11/05 12:01:20 adam Exp $
+
+--- doc/example-config/conf.d/Makefile.in.orig 2010-11-05 08:58:58.000000000 +0000
++++ doc/example-config/conf.d/Makefile.in
+@@ -214,7 +214,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ pkgsysconfdir = $(sysconfdir)/dovecot
+-exampledir = $(dovecot_docdir)/example-config/conf.d
++exampledir = $(datadir)/examples/dovecot/conf.d
+ example_DATA = \
+ 20-managesieve.conf \
+ 90-sieve.conf