summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2007-08-27 10:40:50 +0000
committerghen <ghen@pkgsrc.org>2007-08-27 10:40:50 +0000
commit92113fa25f65422f0c62a1f8b0cfc84eab043ff9 (patch)
treeca176f993cb702c1465538c890b2edbaa6441edc /mail
parent25081dbb6b85a59acc3ebff9eb187ad6bd782578 (diff)
downloadpkgsrc-92113fa25f65422f0c62a1f8b0cfc84eab043ff9.tar.gz
Import dovecot Sieve (RFC 3028) plugin for server-side e-mail filtering.
Diffstat (limited to 'mail')
-rw-r--r--mail/dovecot-sieve/DESCR2
-rw-r--r--mail/dovecot-sieve/Makefile21
-rw-r--r--mail/dovecot-sieve/PLIST4
-rw-r--r--mail/dovecot-sieve/distinfo6
-rw-r--r--mail/dovecot-sieve/patches/patch-aa58
5 files changed, 91 insertions, 0 deletions
diff --git a/mail/dovecot-sieve/DESCR b/mail/dovecot-sieve/DESCR
new file mode 100644
index 00000000000..877cea401e7
--- /dev/null
+++ b/mail/dovecot-sieve/DESCR
@@ -0,0 +1,2 @@
+This dovecot plugin provides Sieve (RFC 3028) filtering support (for server
+side e-mail filtering) to dovecot deliver, based on Cyrus' libsieve.
diff --git a/mail/dovecot-sieve/Makefile b/mail/dovecot-sieve/Makefile
new file mode 100644
index 00000000000..6e2ffa8178e
--- /dev/null
+++ b/mail/dovecot-sieve/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/08/27 10:40:50 ghen Exp $
+
+DISTNAME= dovecot-sieve-1.0.2
+CATEGORIES= mail
+MASTER_SITES= http://www.dovecot.org/releases/sieve/
+
+MAINTAINER= ghen@NetBSD.org
+HOMEPAGE= http://wiki.dovecot.org/LDA/Sieve
+COMMENT= Sieve plugin for Dovecot
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+
+CONFIGURE_ARGS+= --with-dovecot=${PREFIX}/lib/dovecot
+
+.include "../../mail/dovecot/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/dovecot-sieve/PLIST b/mail/dovecot-sieve/PLIST
new file mode 100644
index 00000000000..27f9b5b3183
--- /dev/null
+++ b/mail/dovecot-sieve/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/08/27 10:40:50 ghen Exp $
+lib/dovecot/lda/lib90_cmusieve_plugin.la
+libexec/dovecot/sievec
+libexec/dovecot/sieved
diff --git a/mail/dovecot-sieve/distinfo b/mail/dovecot-sieve/distinfo
new file mode 100644
index 00000000000..55b6c7b385d
--- /dev/null
+++ b/mail/dovecot-sieve/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/08/27 10:40:50 ghen Exp $
+
+SHA1 (dovecot-sieve-1.0.2.tar.gz) = 70b423eae6e47bc38f81faa36503228c1a8a5550
+RMD160 (dovecot-sieve-1.0.2.tar.gz) = 8bed283ae672aafa61271f154f1f58d200bd4f5f
+Size (dovecot-sieve-1.0.2.tar.gz) = 451753 bytes
+SHA1 (patch-aa) = 9226392bc0299f4f4933d1598f6fd581ffd127bf
diff --git a/mail/dovecot-sieve/patches/patch-aa b/mail/dovecot-sieve/patches/patch-aa
new file mode 100644
index 00000000000..72bd499d657
--- /dev/null
+++ b/mail/dovecot-sieve/patches/patch-aa
@@ -0,0 +1,58 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/08/27 10:40:50 ghen Exp $
+
+--- src/libsieve/Makefile.in.orig 2007-07-20 10:19:20.000000000 +0200
++++ src/libsieve/Makefile.in
+@@ -38,8 +38,8 @@ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+-@HAVE_DOVECOT_LIBS_TRUE@pkglibexec_PROGRAMS = sievec$(EXEEXT) \
+-@HAVE_DOVECOT_LIBS_TRUE@ sieved$(EXEEXT)
++pkglibexec_PROGRAMS = sievec$(EXEEXT) \
++ sieved$(EXEEXT)
+ subdir = src/libsieve
+ DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in AUTHORS COPYING ChangeLog NEWS \
+@@ -62,17 +62,21 @@ am__installdirs = "$(DESTDIR)$(pkglibexe
+ pkglibexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ PROGRAMS = $(pkglibexec_PROGRAMS)
+ am__sievec_SOURCES_DIST = sievec.c ../map.c ../imparse.c
+-@HAVE_DOVECOT_LIBS_TRUE@am_sievec_OBJECTS = sievec.$(OBJEXT) \
+-@HAVE_DOVECOT_LIBS_TRUE@ map.$(OBJEXT) imparse.$(OBJEXT)
++am_sievec_OBJECTS = sievec.$(OBJEXT) \
++ map.$(OBJEXT) imparse.$(OBJEXT)
+ sievec_OBJECTS = $(am_sievec_OBJECTS)
+ @HAVE_DOVECOT_LIBS_TRUE@sievec_DEPENDENCIES = libsieve.la \
+ @HAVE_DOVECOT_LIBS_TRUE@ $(dovecotdir)/src/lib/liblib.a
++@HAVE_DOVECOT_LIBS_FALSE@sievec_DEPENDENCIES = libsieve.la \
++@HAVE_DOVECOT_LIBS_FALSE@ $(dovecotdir)/liblib.a
+ am__sieved_SOURCES_DIST = sieved.c ../map.c
+-@HAVE_DOVECOT_LIBS_TRUE@am_sieved_OBJECTS = sieved.$(OBJEXT) \
+-@HAVE_DOVECOT_LIBS_TRUE@ map.$(OBJEXT)
++am_sieved_OBJECTS = sieved.$(OBJEXT) \
++ map.$(OBJEXT)
+ sieved_OBJECTS = $(am_sieved_OBJECTS)
+ @HAVE_DOVECOT_LIBS_TRUE@sieved_DEPENDENCIES = libsieve.la \
+ @HAVE_DOVECOT_LIBS_TRUE@ $(dovecotdir)/src/lib/liblib.a
++@HAVE_DOVECOT_LIBS_FALSE@sieved_DEPENDENCIES = libsieve.la \
++@HAVE_DOVECOT_LIBS_FALSE@ $(dovecotdir)/liblib.a
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -266,10 +270,16 @@ noinst_HEADERS = \
+ @HAVE_DOVECOT_LIBS_TRUE@sievec_LDADD = \
+ @HAVE_DOVECOT_LIBS_TRUE@ libsieve.la \
+ @HAVE_DOVECOT_LIBS_TRUE@ $(dovecotdir)/src/lib/liblib.a
++@HAVE_DOVECOT_LIBS_FALSE@sievec_LDADD = \
++@HAVE_DOVECOT_LIBS_FALSE@ libsieve.la \
++@HAVE_DOVECOT_LIBS_FALSE@ $(dovecotdir)/liblib.a
+
+ @HAVE_DOVECOT_LIBS_TRUE@sieved_LDADD = \
+ @HAVE_DOVECOT_LIBS_TRUE@ libsieve.la \
+ @HAVE_DOVECOT_LIBS_TRUE@ $(dovecotdir)/src/lib/liblib.a
++@HAVE_DOVECOT_LIBS_FALSE@sieved_LDADD = \
++@HAVE_DOVECOT_LIBS_FALSE@ libsieve.la \
++@HAVE_DOVECOT_LIBS_FALSE@ $(dovecotdir)/liblib.a
+
+ @HAVE_DOVECOT_LIBS_FALSE@notbuilt_sources = sievec.c sieved.c
+ @HAVE_DOVECOT_LIBS_TRUE@notbuilt_sources =