From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 15 10:30:10 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DC241065673 for ; Mon, 15 Nov 2010 10:30:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 553DC8FC13 for ; Mon, 15 Nov 2010 10:30:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAFAUAGJ041789 for ; Mon, 15 Nov 2010 10:30:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAFAUA0i041785; Mon, 15 Nov 2010 10:30:10 GMT (envelope-from gnats) Resent-Date: Mon, 15 Nov 2010 10:30:10 GMT Resent-Message-Id: <201011151030.oAFAUA0i041785@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Matuska Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 003F31065672; Mon, 15 Nov 2010 10:30:07 +0000 (UTC) (envelope-from mm@mail2.vx.sk) Received: from mail2.vx.sk (mail2.vx.sk [IPv6:2a01:4f8:100:84a3::3]) by mx1.freebsd.org (Postfix) with ESMTP id 850538FC0A; Mon, 15 Nov 2010 10:30:07 +0000 (UTC) Received: from neo.vx.sk (localhost [127.0.0.1]) by mail2.vx.sk (Postfix) with ESMTP id 86D5CE9E23; Mon, 15 Nov 2010 11:30:06 +0100 (CET) Received: from mail2.vx.sk ([127.0.0.1]) by neo.vx.sk (mail.vx.sk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id s9XIiIxcHZeP; Mon, 15 Nov 2010 11:25:05 +0100 (CET) Received: by mail2.vx.sk (Postfix, from userid 1001) id D687FE9DF3; Mon, 15 Nov 2010 11:25:04 +0100 (CET) Message-Id: <20101115102504.D687FE9DF3@mail2.vx.sk> Date: Mon, 15 Nov 2010 11:25:04 +0100 (CET) From: Martin Matuska To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: ume@FreeBSD.org Subject: ports/152257: [PATCH] mail/cyrus-imapd: autocreate and autosieve support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2010 10:30:10 -0000 >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 +# 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: