aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd24
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-11-30 11:33:41 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-11-30 11:33:41 +0000
commit36f124e9ac6cec23ad5f9ee8263c54d1305e3cc6 (patch)
tree06cd349059d913ca471469fe5db43b56fb3015a8 /mail/cyrus-imapd24
parent4bb31a9458cf5c81e753e3396f76834992b5c2f5 (diff)
downloadports-36f124e9ac6cec23ad5f9ee8263c54d1305e3cc6.tar.gz
ports-36f124e9ac6cec23ad5f9ee8263c54d1305e3cc6.zip
Notes
Diffstat (limited to 'mail/cyrus-imapd24')
-rw-r--r--mail/cyrus-imapd24/Makefile25
-rw-r--r--mail/cyrus-imapd24/distinfo4
2 files changed, 28 insertions, 1 deletions
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile
index 37baa02233b0..69b5a364e7c3 100644
--- a/mail/cyrus-imapd24/Makefile
+++ b/mail/cyrus-imapd24/Makefile
@@ -40,7 +40,9 @@ MAKE_JOBS_UNSAFE= yes
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
-OPTIONS= BDB "Use Berkeley DB" on \
+OPTIONS= AUTOCREATE "Use autocreate INBOX patch (UoA)" on \
+ AUTOSIEVE "Use autosievefolder patch (UoA)" on \
+ BDB "Use Berkeley DB" on \
DRAC "Enable DRAC support" off \
IDLED "Enable IMAP idled support" off \
LDAP "Use LDAP (experimental)" off \
@@ -55,6 +57,27 @@ OPTIONS= BDB "Use Berkeley DB" on \
.include <bsd.port.pre.mk>
+# Autocreate Inbox and Autosieve patches from UoA
+# http://email.uoa.gr/projects/cyrus/
+# http://blog.vx.sk/archives/13-Cyrus-IMAP-UoA.html
+
+.if defined(WITH_AUTOCREATE) || defined(WITH_AUTOSIEVE)
+PATCH_DIST_STRIP= -p1
+PATCH_SITES+= ${MASTER_SITE_LOCAL}
+PATCH_SITE_SUBDIR= mm
+.endif
+
+.if defined(WITH_AUTOCREATE)
+AUTOCREATE_VERSION= 0.10-0
+PATCHFILES+= ${PORTNAME}-2.4.4-autocreate-${AUTOCREATE_VERSION}.patch
+PLIST_FILES+= cyrus/bin/compile_sieve
+.endif
+
+.if defined(WITH_AUTOSIEVE)
+AUTOSIEVE_VERSION= 0.6.0
+PATCHFILES+= ${PORTNAME}-2.4.4-autosieve-${AUTOSIEVE_VERSION}.patch
+.endif
+
.if defined(WITHOUT_BDB)
BDB_LIB_NAME= no
.else
diff --git a/mail/cyrus-imapd24/distinfo b/mail/cyrus-imapd24/distinfo
index 070ca410a105..0a6ac056e35d 100644
--- a/mail/cyrus-imapd24/distinfo
+++ b/mail/cyrus-imapd24/distinfo
@@ -1,2 +1,6 @@
SHA256 (cyrus-imapd-2.4.5.tar.gz) = 2938894727c7be20f1f1a38c0734c6cbcc35adbc35765b2b0937c170955058d4
SIZE (cyrus-imapd-2.4.5.tar.gz) = 2371680
+SHA256 (cyrus-imapd-2.4.4-autocreate-0.10-0.patch) = 1130e80b6604901ba8cf887c792fa8e4ef181b4cfc212720bcfc984163fe8a13
+SIZE (cyrus-imapd-2.4.4-autocreate-0.10-0.patch) = 74039
+SHA256 (cyrus-imapd-2.4.4-autosieve-0.6.0.patch) = 4d09a328dac698ea09b9c7d0df577a4e8386c9a867fdc71180a43db2b39cbff6
+SIZE (cyrus-imapd-2.4.4-autosieve-0.6.0.patch) = 7870