import ports/mail/dovecot-pigeonhole, Sieve filtering delivery plugin

to be used with Dovecot 2.0 releases.

joint work between pea@, Brad and myself, ok pea@
This commit is contained in:
sthen 2011-05-23 22:49:00 +00:00
parent aa5c47275b
commit a5028b7de3
6 changed files with 168 additions and 0 deletions

View File

@ -0,0 +1,45 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/23 22:49:00 sthen Exp $
SHARED_ONLY= Yes
COMMENT= Sieve mail filtering for Dovecot
V_SIEVE= 0.2.2
V_DOVECOT= 2.0
DISTNAME= dovecot-${V_DOVECOT}-pigeonhole-${V_SIEVE}
EPOCH= 0
CATEGORIES= mail
PKGNAME= dovecot-pigeonhole-${V_SIEVE}
MASTER_SITES= http://www.rename-it.nl/dovecot/${V_DOVECOT}/
SHARED_LIBS= dovecot-sieve 0.0
HOMEPAGE= http://pigeonhole.dovecot.org/
MAINTAINER= Brad Smith <brad@comstyle.com>
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ${MODLIBICONV_WANTLIB} c crypto ssl iconv \
lib/dovecot/dovecot-lda lib/dovecot/dovecot-login \
lib/dovecot/dovecot-storage lib/dovecot/dovecot
MODULES= converters/libiconv
LIB_DEPENDS= mail/dovecot>=2.0
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --mandir=${PREFIX}/man \
--docdir=${PREFIX}/share/doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
@find ${PREFIX}/lib/dovecot -name '*.a' -print | xargs rm
@find ${PREFIX}/lib/dovecot -name '*.la' -print | xargs rm
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (dovecot-2.0-pigeonhole-0.2.2.tar.gz) = I7m+U0xiJXoNBJsTcPEamQ==
RMD160 (dovecot-2.0-pigeonhole-0.2.2.tar.gz) = eqWJNay1qJNIxT+ObbRARdVhltk=
SHA1 (dovecot-2.0-pigeonhole-0.2.2.tar.gz) = g6FHfnxrYxAg8k5r64TfFnbCAoo=
SHA256 (dovecot-2.0-pigeonhole-0.2.2.tar.gz) = PF/b+AAvFXFFew29cUEHyDJFrI35l8imullL+Ak5L04=
SIZE (dovecot-2.0-pigeonhole-0.2.2.tar.gz) = 1199973

View File

@ -0,0 +1,29 @@
$OpenBSD: patch-doc_example-config_conf_d_20-managesieve_conf,v 1.1.1.1 2011/05/23 22:49:00 sthen Exp $
--- doc/example-config/conf.d/20-managesieve.conf.orig Thu Mar 10 14:28:00 2011
+++ doc/example-config/conf.d/20-managesieve.conf Thu Mar 10 14:28:10 2011
@@ -3,18 +3,18 @@
##
# Uncomment to enable managesieve protocol:
-#protocols = $protocols sieve
+protocols = $protocols sieve
# Service definitions
service managesieve-login {
- #inet_listener sieve {
- # port = 4190
- #}
+ inet_listener sieve {
+ port = 4190
+ }
- #inet_listener sieve_deprecated {
- # port = 2000
- #}
+ inet_listener sieve_deprecated {
+ port = 2000
+ }
# Number of connections to handle before starting a new process. Typically
# the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-doc_example-config_conf_d_90-sieve_conf,v 1.1.1.1 2011/05/23 22:49:00 sthen Exp $
--- doc/example-config/conf.d/90-sieve.conf.orig Thu Mar 10 14:27:28 2011
+++ doc/example-config/conf.d/90-sieve.conf Thu Mar 10 14:27:41 2011
@@ -13,7 +13,7 @@ plugin {
# if user's private Sieve script doesn't exist. Be sure to
# pre-compile this script manually using the sievec command line
# tool.
- #sieve_global_path = /var/lib/dovecot/sieve/default.sieve
+ #sieve_global_path = /var/dovecot/sieve/default.sieve
# Directory for :personal include scripts for the include extension.
sieve_dir = ~/sieve

View File

@ -0,0 +1 @@
Sieve mail filtering for Dovecot.

View File

@ -0,0 +1,76 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/05/23 22:49:00 sthen Exp $
@pkgpath mail/dovecot,-sieve
@pkgpath mail/dovecot,-sieve,bdb
@pkgpath mail/dovecot,-sieve,ldap
@pkgpath mail/dovecot,-sieve,mysql
@pkgpath mail/dovecot,-sieve,postgresql
@pkgpath mail/dovecot,-sieve,sqlite
@pkgpath mail/dovecot,-sieve,ldap,mysql,postgresql,sqlite,bdb
@conflict dovecot-sieve-<=0.1.18p0v0
@bin bin/sieve-dump
@bin bin/sieve-test
@bin bin/sievec
include/dovecot/sieve/
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.so
@lib lib/dovecot/libdovecot-sieve.so.${LIBdovecot-sieve_VERSION}
lib/dovecot/settings/
lib/dovecot/settings/libmanagesieve_login_settings.so
lib/dovecot/settings/libmanagesieve_settings.so
@bin libexec/dovecot/managesieve
@bin libexec/dovecot/managesieve-login
@man man/man1/sieve-dump.1
@man man/man1/sieve-test.1
@man man/man1/sievec.1
@man man/man1/sieved.1
@man man/man7/pigeonhole.7
share/doc/dovecot/example-config/
share/doc/dovecot/example-config/conf.d/
share/doc/dovecot/example-config/conf.d/20-managesieve.conf
@sample ${SYSCONFDIR}/dovecot/conf.d/20-managesieve.conf
share/doc/dovecot/example-config/conf.d/90-sieve.conf
@sample ${SYSCONFDIR}/dovecot/conf.d/90-sieve.conf
share/doc/dovecot/sieve/
share/doc/dovecot/sieve/spamtest-virustest.txt