diff options
author | mm <mm@FreeBSD.org> | 2010-11-30 19:33:41 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2010-11-30 19:33:41 +0800 |
commit | 1b0b01c11dfb70d44f86ef54bfc1266494501cf0 (patch) | |
tree | 11ce4f5051ca411ecfa019c3c58f68d661395f3b | |
parent | ea24fda31f67baaadc0abf31da4957c227134483 (diff) | |
download | freebsd-ports-gnome-1b0b01c11dfb70d44f86ef54bfc1266494501cf0.tar.gz freebsd-ports-gnome-1b0b01c11dfb70d44f86ef54bfc1266494501cf0.tar.zst freebsd-ports-gnome-1b0b01c11dfb70d44f86ef54bfc1266494501cf0.zip |
- Add optional autocreate and autosieve patches (originally from UoA)
- Patches are maintained by myself (mm@FreeBSD.org)
URL: http://blog.vx.sk/archives/13-Cyrus-IMAP-UoA.html
PR: ports/152257
Approved by: maintainer (timeout)
-rw-r--r-- | mail/cyrus-imapd24/Makefile | 25 | ||||
-rw-r--r-- | mail/cyrus-imapd24/distinfo | 4 |
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 |