7 May
2011
7 May
'11
7:08 a.m.
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&t... -> ${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 }