diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2012-09-06 17:35:27 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2012-09-06 17:35:27 +0000 |
commit | fd00eb256dfc6f7dd020d3458c7f3725534a03f9 (patch) | |
tree | 586f0ee1a62ee6b5e505cf8b53527966567e15af /mail-filter | |
parent | address dep issues, missing pkgconfig and libnl:3 requires slot (diff) | |
download | gentoo-2-fd00eb256dfc6f7dd020d3458c7f3725534a03f9.tar.gz gentoo-2-fd00eb256dfc6f7dd020d3458c7f3725534a03f9.tar.bz2 gentoo-2-fd00eb256dfc6f7dd020d3458c7f3725534a03f9.zip |
Add mail-filter/dovecot_deleted_to_trash, thanks to slepnoga. Bug 273435
(Portage version: 2.1.11.5/cvs/Linux i686)
Diffstat (limited to 'mail-filter')
6 files changed, 93 insertions, 0 deletions
diff --git a/mail-filter/dovecot_deleted_to_trash/ChangeLog b/mail-filter/dovecot_deleted_to_trash/ChangeLog new file mode 100644 index 000000000000..628d8d1b334e --- /dev/null +++ b/mail-filter/dovecot_deleted_to_trash/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for mail-filter/dovecot_deleted_to_trash +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot_deleted_to_trash/ChangeLog,v 1.1 2012/09/06 17:35:27 maksbotan Exp $ + +*dovecot_deleted_to_trash-0.3 (06 Sep 2012) + + 06 Sep 2012; Maxim Koltsov <maksbotan@gentoo.org> + +dovecot_deleted_to_trash-0.3.ebuild, +files/29-delete-to-trash.conf, + +files/fix_names_and_destdir.patch, +metadata.xml: + Add mail-filter/dovecot_deleted_to_trash, thanks to slepnoga. Bug 273435 diff --git a/mail-filter/dovecot_deleted_to_trash/Manifest b/mail-filter/dovecot_deleted_to_trash/Manifest new file mode 100644 index 000000000000..794a6ac7156f --- /dev/null +++ b/mail-filter/dovecot_deleted_to_trash/Manifest @@ -0,0 +1,5 @@ +AUX 29-delete-to-trash.conf 289 SHA256 31e7d493e6b437b3b1847ec08b009208cd0707aa5bf0ed242c4baa4fffff2850 SHA512 3b1c7156128bddc99ec96576e9b97d0159fbb2034fd755bd9a60c1c2524d1727ce8a17a4967039f7c4bb267eb5bfbf65ceef4b3d4dcf3fef0a34178740ac9119 WHIRLPOOL 2e95b88a30d740a0f479d7bc9e43dc691d75527f1f1db2b7504e2f06bcbc2e1d3e4b9e459ace65205af5568add4c9bcc50b3127fe6768ac3e7de767f34739f70 +AUX fix_names_and_destdir.patch 586 SHA256 119de2d7797568398e14de0857e3dfbe24f2707870ef9d0c005bdaf773f7873f SHA512 d42528c5797c1de567fcfb9999cf8c489588ba36cd62a11db9d9d0e902dedc48a7db8fd09f8dadfbc41bda108b0e8e745e6437f6172f9d41d569d2b2e9112b54 WHIRLPOOL b347e592365e98d551d02c42c5de2bcea769f31444a111898df2f34c5809e9fe79fb439e0a16d7cb647b97fe0df7407600bc8525108daa696c88f67b0eeab712 +DIST dovecot_deleted_to_trash-0.3.tar 20480 SHA256 e434f49b0bdfb6cd042a36285fc7846a46b7f026a73356f1cdaa3d706fdc061b SHA512 a21e3d6fd6c09011dfc688fc21b03745e658184ff3ae0fb12a78334fcbfed91b8a51b7b50d0282ce43255e176b2b603e352794142b86ce7d726f098e068b7466 WHIRLPOOL ed15585345fe6f7ffcf3050620b61aaa899d3ea8d124fe7285041712b79ba29af3924d037460c35f389cb040ee326f3d7a1e438dc8e14161b069263ac5c5324c +EBUILD dovecot_deleted_to_trash-0.3.ebuild 770 SHA256 321a5fa4bcd1b8f5067cf65fe0c0471561cf23d11e70afcb01fa3b6c66ef9bd4 SHA512 df43812346b9766be58567332fb999e125c9068880e9beb2404189d29917fecfb4df6841887aac9f19f21016f4ceb048710f311b4b737743d1ee56ddf85ea545 WHIRLPOOL d19475a45a4f47b16688168ac7cbbf4fdc2ac552b01238b7698c211730c7fde46fd97540c2f9fcc86d6332bb820fe2825fa834fe3e920035de761d71f7ad7c1e +MISC metadata.xml 369 SHA256 fbf0c047dd8f31baf2319b73779aa528e5c22283e2eb6f1b68a826e42b7eedc7 SHA512 1588487b3894d396348e5754ae1d9f93a0a7b2e72b87f59c4ce6ec6ae2564b6c7cd7fb40c098009989143412cdd3affbb6a7e07ea10f7955357d1c8b2fb41377 WHIRLPOOL c686ffb6a35eeee66c8316d686b1066fef117b216b264c96a84d21eb8d79718456babc43db707af119c84bf3f99946d64572c32cf5a05ee82b65315448255bd0 diff --git a/mail-filter/dovecot_deleted_to_trash/dovecot_deleted_to_trash-0.3.ebuild b/mail-filter/dovecot_deleted_to_trash/dovecot_deleted_to_trash-0.3.ebuild new file mode 100644 index 000000000000..5c2b7b4e282d --- /dev/null +++ b/mail-filter/dovecot_deleted_to_trash/dovecot_deleted_to_trash-0.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot_deleted_to_trash/dovecot_deleted_to_trash-0.3.ebuild,v 1.1 2012/09/06 17:35:27 maksbotan Exp $ + +EAPI=4 + +inherit toolchain-funcs base + +DESCRIPTION="Deleted to trash IMAP plugin for Dovecot" +HOMEPAGE="http://wiki.dovecot.org/Plugins/deleted-to-trash" +SRC_URI="http://wiki2.dovecot.org/Plugins/deleted-to-trash?action=AttachFile&do=get&target=deleted-to-trash-plugin_${PV}_for_dovecot_2.tar -> ${P}.tar" + +LICENSE="as-is" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +IUSE="" +RDEPEND="=net-mail/dovecot-2.0*" +DEPEND="${RDEPEND}" +PATCHES=( "${FILESDIR}"/fix_names_and_destdir.patch ) + +S="${WORKDIR}" + +src_compile() { + tc-export CC + base_src_compile +} + +src_install() { + base_src_install + + insinto /etc/dovecot/conf.d + doins "${FILESDIR}"/29-delete-to-trash.conf +} diff --git a/mail-filter/dovecot_deleted_to_trash/files/29-delete-to-trash.conf b/mail-filter/dovecot_deleted_to_trash/files/29-delete-to-trash.conf new file mode 100644 index 000000000000..65f9a31e7a03 --- /dev/null +++ b/mail-filter/dovecot_deleted_to_trash/files/29-delete-to-trash.conf @@ -0,0 +1,13 @@ +## Copyright 2012 A.Vinogradovs aka slepnoga +## Wrote for Gentoo ebuild +## Distributed under the terms of the GNU General Public License v2 +## +## Delete to Trash plugin specific settings +## + +# mail_plugins = $mail_plugins deleted_to_trash + +#plugin { +# deleted_to_trash_folder = Trash +#} + diff --git a/mail-filter/dovecot_deleted_to_trash/files/fix_names_and_destdir.patch b/mail-filter/dovecot_deleted_to_trash/files/fix_names_and_destdir.patch new file mode 100644 index 000000000000..a9c2cb312fe6 --- /dev/null +++ b/mail-filter/dovecot_deleted_to_trash/files/fix_names_and_destdir.patch @@ -0,0 +1,18 @@ +--- Makefile.old 2012-08-24 11:10:58.083907845 +0300 ++++ Makefile 2012-08-24 11:13:34.167906088 +0300 +@@ -5,13 +5,13 @@ + # Dovecot's header directory + DOVECOT_INC_PATH = /usr/include/dovecot + # Dovecot's IMAP plugin path +-DOVECOT_IMAP_PLUGIN_PATH = /usr/lib/dovecot/imap ++DOVECOT_IMAP_PLUGIN_PATH = /usr/lib/dovecot/ + + ## usually no need to configure anything below this line ## + + # plugin source & target name # + PLUGIN_SOURCES = deleted-to-trash-plugin.c +-PLUGIN_NAME = lib_deleted_to_trash_plugin.so ++PLUGIN_NAME = lib99_deleted_to_trash_plugin.so + + #### configuration end #### + diff --git a/mail-filter/dovecot_deleted_to_trash/metadata.xml b/mail-filter/dovecot_deleted_to_trash/metadata.xml new file mode 100644 index 000000000000..60c7f53239ef --- /dev/null +++ b/mail-filter/dovecot_deleted_to_trash/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proxy-maintainers</herd> +<maintainer> + <email>andreis.vinogradovs@gmail.com</email> + <name>Andreis Vinogradovs</name> +</maintainer> +<maintainer> + <email>maksbotan@gentoo.org</email> + <name>Maxim Koltsov</name> +</maintainer> +</pkgmetadata> |