Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2010 11:25:04 +0100 (CET)
From:      Martin Matuska <mm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ume@FreeBSD.org
Subject:   ports/152257: [PATCH] mail/cyrus-imapd: autocreate and autosieve support
Message-ID:  <20101115102504.D687FE9DF3@mail2.vx.sk>
Resent-Message-ID: <201011151030.oAFAUA0i041785@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152257
>Category:       ports
>Synopsis:       [PATCH] mail/cyrus-imapd: autocreate and autosieve support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 15 10:30:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD neo.vx.sk 8.1-STABLE FreeBSD 8.1-STABLE #0 r215048M: Thu Nov 11 13:36:47 CET
>Description:
- add patch to support autocreate inbox and autosieve (like in mail/cyrus-imapd23)
- original UoA patches updated to 2.4.4 by myself (mm@FreeBSD.org)

Port maintainer (ume@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- cyrus-imapd-2.4.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/cyrus-imapd24/Makefile,v
retrieving revision 1.198
diff -u -r1.198 Makefile
--- Makefile	12 Nov 2010 12:50:19 -0000	1.198
+++ Makefile	15 Nov 2010 10:23:26 -0000
@@ -38,7 +38,9 @@
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-OPTIONS=	BDB		"Use Berkeley DB"			on \
+OPTIONS=	AUTOCREATE	"Use autocreate INBOX patch (UoA)"	off \
+		AUTOSIEVE	"Use autosievefolder patch (UoA)"	off \
+		BDB		"Use Berkeley DB"			on \
 		DRAC		"Enable DRAC support"			off \
 		IDLED		"Enable IMAP idled support"		off \
 		LDAP		"Use LDAP (experimental)"		off \
@@ -53,6 +55,28 @@
 
 .include <bsd.port.pre.mk>
 
+# Autocreate Inbox and Autosieve patches from UoA
+# WWW: http://email.uoa.gr/projects/cyrus/
+
+.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}-${PORTVERSION}-autocreate-${AUTOCREATE_VERSION}.patch
+PLIST_SUB+=	AUTOCREATE=""
+.else
+PLIST_SUB+=	AUTOCREATE="@comment "
+.endif
+
+.if defined(WITH_AUTOSIEVE)
+AUTOSIEVE_VERSION=	0.6.0
+PATCHFILES+=	${PORTNAME}-${PORTVERSION}-autosieve-${AUTOSIEVE_VERSION}.patch
+.endif
+
 .if defined(WITHOUT_BDB)
 BDB_LIB_NAME=	no
 .else
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/mail/cyrus-imapd24/distinfo,v
retrieving revision 1.59
diff -u -r1.59 distinfo
--- distinfo	12 Nov 2010 12:50:19 -0000	1.59
+++ distinfo	15 Nov 2010 10:23:26 -0000
@@ -1,2 +1,6 @@
 SHA256 (cyrus-imapd-2.4.4.tar.gz) = 8008d96672cf3db986ba1bfb90d85368a466cd3fb54800c76f12e19a7700ba9b
 SIZE (cyrus-imapd-2.4.4.tar.gz) = 2413958
+SHA256 (cyrus-imapd-2.4.4-autocreate-0.10-0.patch) = 6e29a8abc096d89683827ab6796dc377f64d28b760822607dfa190426ec3f52e
+SIZE (cyrus-imapd-2.4.4-autocreate-0.10-0.patch) = 73575
+SHA256 (cyrus-imapd-2.4.4-autosieve-0.6.0.patch) = 4d09a328dac698ea09b9c7d0df577a4e8386c9a867fdc71180a43db2b39cbff6
+SIZE (cyrus-imapd-2.4.4-autosieve-0.6.0.patch) = 7870
--- cyrus-imapd-2.4.4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101115102504.D687FE9DF3>