[Dovecot] Modified dovecot_deleted_to_trash-0.3.ebuild plugin

Robert S robert.spam.me.senseless at gmail.com
Sat May 7 07:08:07 EEST 2011


I have just upgraded my gentoo system to dovecot 2.0.11.  The ebuild
on http://wiki2.dovecot.org/Plugins/deleted-to-trash does not compile.
 I have modified this to a working version - see below.

 # cat dovecot_deleted_to_trash-0.3.ebuild
EAPI="2"

DESCRIPTION="Deleted to trash IMAP plugin for Dovecot"
HOMEPAGE="http://wiki2.dovecot.org/Plugins/deleted-to-trash"
RESTRICT="nomirror"
SRC_URI="http://wiki2.dovecot.org/Plugins/deleted-to-trash?action=AttachFile&do=get&target=deleted-to-trash-plugin_0.3_for_dovecot_2.tar
-> ${P}.tar"

LICENSE=""
KEYWORDS="~amd64 ~x86"
SLOT="0"

IUSE=""
RDEPEND="net-mail/dovecot"

src_unpack() {
        unpack ${A}
        sed -i "8s|DOVECOT_IMAP_PLUGIN_PATH\ \=\
/usr/lib/dovecot/imap|DOVECOT_IMAP_PLUGIN_PATH\ \=\ /usr/lib/dovecot|"
Makefile
}


src_install() {
        emake DESTDIR="${D}" install || die
}


More information about the dovecot mailing list