Date: Tue, 28 Jun 2011 19:01:48 GMT From: Uffe Jakobsen <uffe@uffe.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/158403: New port: mail/dovecot2-deleted-to-trash-plugin: dovecot 2.x plugin for moving deleted mails into trash Message-ID: <201106281901.p5SJ1m2Y076604@red.freebsd.org> Resent-Message-ID: <201106281910.p5SJAAP9082390@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158403 >Category: ports >Synopsis: New port: mail/dovecot2-deleted-to-trash-plugin: dovecot 2.x plugin for moving deleted mails into trash >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: Tue Jun 28 19:10:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Uffe Jakobsen >Release: 8.2 >Organization: >Environment: FreeBSD ports 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: dovecot-2.x deleted-to-trash-plugin version 0.2 http://wiki2.dovecot.org/Plugins/deleted-to-trash Description: The dovecot 2.x plugin for moving deleted mails into trash The purpose of this deleted_to_trash-plugin is that IMAP client,such as outlook doesn't work well with dovecot, it can not copy deleted email to Trash folder automatically. So, this plugin is to copy deleted item to Trash folder. Also, need to tell the difference between "move" and "delete" action on Outlook side, since both action deleted_to_trash marks the original email as deleted. for a "move" case, we don't copy to the trash folder. WWW: http://wiki2.dovecot.org/Plugins/deleted-to-trash >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # dovecot2-deleted-to-trash-plugin # dovecot2-deleted-to-trash-plugin/pkg-descr # dovecot2-deleted-to-trash-plugin/Makefile # dovecot2-deleted-to-trash-plugin/distinfo # dovecot2-deleted-to-trash-plugin/files # dovecot2-deleted-to-trash-plugin/files/patch-Makefile # dovecot2-deleted-to-trash-plugin/pkg-plist # echo c - dovecot2-deleted-to-trash-plugin mkdir -p dovecot2-deleted-to-trash-plugin > /dev/null 2>&1 echo x - dovecot2-deleted-to-trash-plugin/pkg-descr sed 's/^X//' >dovecot2-deleted-to-trash-plugin/pkg-descr << '4eb29ab192c9fa4f49a2f88409987363' XThe purpose of this deleted_to_trash-plugin is that IMAP client,such as outlook doesn't work well with dovecot, it can not copy deleted email to Trash folder automatically. So, this plugin is to copy deleted item to Trash folder. Also, need to tell the difference between "move" and "delete" action on Outlook side, since both action deleted_to_trash marks the original email as deleted. for a "move" case, we don't copy to the trash folder. X XWWW: http://wiki2.dovecot.org/Plugins/deleted-to-trash 4eb29ab192c9fa4f49a2f88409987363 echo x - dovecot2-deleted-to-trash-plugin/Makefile sed 's/^X//' >dovecot2-deleted-to-trash-plugin/Makefile << 'b3c917e829aaaeae349772c2d372db97' X# New ports collection makefile for: dovecot2-deleted-to-trash-plugin X# Date created: Sat Jun 23 00:06:01 CET 2011 X# Whom: Uffe Jakobsen (uffe@uffe.org) X# X# $FreeBSD: $ X# X XPORTNAME= dovecot2-deleted-to-trash-plugin XPORTVERSION= 0.3 XPORTREVISION= 1 XCATEGORIES= mail X XMAINTAINER= uffe@uffe.org XCOMMENT= The dovecot 2.x plugin for moving deleted mails into trash X X#MASTER_SITES= http://wiki2.dovecot.org/Plugins/deleted-to-trash XMASTER_SITES= http://wiki2.dovecot.org/Plugins/deleted-to-trash?action=AttachFile&do=get&target= X XDISTNAME= deleted-to-trash-plugin_${PORTVERSION}_for_dovecot_2 X XBUILD_DEPENDS= ${RUN_DEPENDS} X XRUN_DEPENDS= dovecot>=2.0.9:${PORTSDIR}/mail/dovecot2 X XCONFLICTS= dovecot-deleted-to-trash-plugin X X# X# Workaround: Could not get traditional fetch to handle MASTER_SITES (wiki) URL containing '&' - switched to wget X# XFETCH_BINARY= wget XFETCH_ARGS= XFETCH_BEFORE_ARGS= -O ${DISTNAME}${EXTRACT_SUFX} X# Workaround: download site (wiki) did not seem to report file size XDISABLE_SIZE= yes X X# X# Workaround: plain .tar files are not fully supported in bsd.port.mk X# XEXTRACT_SUFX= .tar XEXTRACT_CMD= ${CAT} XEXTRACT_BEFORE_ARGS= X XNO_WRKSUBDIR= yes X XUSE_GMAKE= yes X X.include <bsd.port.mk> X b3c917e829aaaeae349772c2d372db97 echo x - dovecot2-deleted-to-trash-plugin/distinfo sed 's/^X//' >dovecot2-deleted-to-trash-plugin/distinfo << '5116c990c64466eb9a03ddcd211f7d38' XSHA256 (deleted-to-trash-plugin_0.3_for_dovecot_2.tar) = e434f49b0bdfb6cd042a36285fc7846a46b7f026a73356f1cdaa3d706fdc061b XSIZE (deleted-to-trash-plugin_0.3_for_dovecot_2.tar) = 20480 5116c990c64466eb9a03ddcd211f7d38 echo c - dovecot2-deleted-to-trash-plugin/files mkdir -p dovecot2-deleted-to-trash-plugin/files > /dev/null 2>&1 echo x - dovecot2-deleted-to-trash-plugin/files/patch-Makefile sed 's/^X//' >dovecot2-deleted-to-trash-plugin/files/patch-Makefile << '2eea12d808d2ff5c9a3d93e3c4ff90dd' X--- Makefile.orig 2011-06-22 21:49:04.000000000 +0000 X+++ Makefile 2011-06-22 21:49:30.000000000 +0000 X@@ -3,9 +3,9 @@ X #### configuration begin #### X X # Dovecot's header directory X-DOVECOT_INC_PATH = /usr/include/dovecot X+DOVECOT_INC_PATH = /usr/local/include/dovecot X # Dovecot's IMAP plugin path X-DOVECOT_IMAP_PLUGIN_PATH = /usr/lib/dovecot/imap X+DOVECOT_IMAP_PLUGIN_PATH = /usr/local/lib/dovecot X X ## usually no need to configure anything below this line ## X X 2eea12d808d2ff5c9a3d93e3c4ff90dd echo x - dovecot2-deleted-to-trash-plugin/pkg-plist sed 's/^X//' >dovecot2-deleted-to-trash-plugin/pkg-plist << '2e5695368cbc578773e0aa709d6f99f8' Xlib/dovecot/lib_deleted_to_trash_plugin.so X@dirrmtry lib/dovecot X 2e5695368cbc578773e0aa709d6f99f8 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106281901.p5SJ1m2Y076604>