diff options
-rw-r--r-- | mail-client/mailody/ChangeLog | 11 | ||||
-rw-r--r-- | mail-client/mailody/Manifest | 20 | ||||
-rw-r--r-- | mail-client/mailody/files/digest-mailody-0.2.0_rc1 | 3 | ||||
-rw-r--r-- | mail-client/mailody/files/mailody-0.2.0_rc1-dovecot.patch | 95 | ||||
-rw-r--r-- | mail-client/mailody/mailody-0.2.0_rc1.ebuild | 25 | ||||
-rw-r--r-- | mail-client/mailody/metadata.xml | 5 |
6 files changed, 159 insertions, 0 deletions
diff --git a/mail-client/mailody/ChangeLog b/mail-client/mailody/ChangeLog new file mode 100644 index 000000000000..8c44c750e114 --- /dev/null +++ b/mail-client/mailody/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for mail-client/mailody +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/mailody/ChangeLog,v 1.1 2006/11/22 13:41:28 flameeyes Exp $ + +*mailody-0.2.0_rc1 (22 Nov 2006) + + 22 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/mailody-0.2.0_rc1-dovecot.patch, +metadata.xml, + +mailody-0.2.0_rc1.ebuild: + Initial import, lightweight IMAP mail client for KDE. + diff --git a/mail-client/mailody/Manifest b/mail-client/mailody/Manifest new file mode 100644 index 000000000000..558729455e74 --- /dev/null +++ b/mail-client/mailody/Manifest @@ -0,0 +1,20 @@ +AUX mailody-0.2.0_rc1-dovecot.patch 3827 RMD160 f7957564c063a191828b44f16013024fc00b740b SHA1 b5d730c96259ad9086947fb766dac9a1468635ba SHA256 01a6bad86770ae652760386f2d31145b238e8f3e61d988c64370cc3ec0f2abc2 +MD5 a012a449663be8f9b3031183ba63ddd3 files/mailody-0.2.0_rc1-dovecot.patch 3827 +RMD160 f7957564c063a191828b44f16013024fc00b740b files/mailody-0.2.0_rc1-dovecot.patch 3827 +SHA256 01a6bad86770ae652760386f2d31145b238e8f3e61d988c64370cc3ec0f2abc2 files/mailody-0.2.0_rc1-dovecot.patch 3827 +DIST mailody-0.2.0-rc1.tar.bz2 632373 RMD160 450fc2192eaab5c751970fbb45c69d835af52f38 SHA1 80cb63826cade4a9a39843cc0f8b516a8c556ddb SHA256 e7f5069e41d252c9ef72d5c2f0cdb7d4b257d2ee9e79b6017f96adf53527e80f +EBUILD mailody-0.2.0_rc1.ebuild 467 RMD160 576ad2003b6e7ece53b9d7c557e80468fefde441 SHA1 ab3331858e57b755f93b4d1c1def2b90f8dd98a1 SHA256 6b2c2d44ee9f5d2ade8e1f893da24db98499b75ae4107aa0cfda4ddb73817167 +MD5 70d581f6515d9cfc1dd5674d6e467661 mailody-0.2.0_rc1.ebuild 467 +RMD160 576ad2003b6e7ece53b9d7c557e80468fefde441 mailody-0.2.0_rc1.ebuild 467 +SHA256 6b2c2d44ee9f5d2ade8e1f893da24db98499b75ae4107aa0cfda4ddb73817167 mailody-0.2.0_rc1.ebuild 467 +MISC ChangeLog 350 RMD160 3db16c4dbcba16bff262c712c584d0cd2b20e723 SHA1 60e3b3b11220f000da9b913e698e99d1d546641c SHA256 53a8b58672284a670914f6fa1e6fdfeffa7d85136945d664464f7fd881c7c3cb +MD5 53b29fe45104695c26b761150083139f ChangeLog 350 +RMD160 3db16c4dbcba16bff262c712c584d0cd2b20e723 ChangeLog 350 +SHA256 53a8b58672284a670914f6fa1e6fdfeffa7d85136945d664464f7fd881c7c3cb ChangeLog 350 +MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a +MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 +RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156 +SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a metadata.xml 156 +MD5 deac7e3f99c8f65649c3842bfdd6f9e8 files/digest-mailody-0.2.0_rc1 256 +RMD160 c59fa44618f995aa42ba67ad861a5e7b32155bec files/digest-mailody-0.2.0_rc1 256 +SHA256 09a2e34cb2151e57be808ba9d5ce580e4f317c7472eac50406409a65900200fa files/digest-mailody-0.2.0_rc1 256 diff --git a/mail-client/mailody/files/digest-mailody-0.2.0_rc1 b/mail-client/mailody/files/digest-mailody-0.2.0_rc1 new file mode 100644 index 000000000000..4bee0472b5fd --- /dev/null +++ b/mail-client/mailody/files/digest-mailody-0.2.0_rc1 @@ -0,0 +1,3 @@ +MD5 7837d83c82ddb13b5f6e1e8b72d993bb mailody-0.2.0-rc1.tar.bz2 632373 +RMD160 450fc2192eaab5c751970fbb45c69d835af52f38 mailody-0.2.0-rc1.tar.bz2 632373 +SHA256 e7f5069e41d252c9ef72d5c2f0cdb7d4b257d2ee9e79b6017f96adf53527e80f mailody-0.2.0-rc1.tar.bz2 632373 diff --git a/mail-client/mailody/files/mailody-0.2.0_rc1-dovecot.patch b/mail-client/mailody/files/mailody-0.2.0_rc1-dovecot.patch new file mode 100644 index 000000000000..86cf57eb5b1a --- /dev/null +++ b/mail-client/mailody/files/mailody-0.2.0_rc1-dovecot.patch @@ -0,0 +1,95 @@ +Index: mailody/mailody/src/imap.cpp +=================================================================== +--- mailody/mailody/src/imap.cpp (revision 604932) ++++ mailody/mailody/src/imap.cpp (working copy) +@@ -392,51 +392,72 @@ + //|* 1 FETCH (UID 1 BODY[HEADER.FIELDS ("FROM" "SUBJECT" "DATE")] {148}| + // Cyrus: + //|* 1 FETCH (UID 26133 BODY[HEADER.FIELDS (FROM SUBJECT DATE)] {139}| ++ // Dovecot: ++ //|* 1 FETCH (RFC822.SIZE 8609 UID 2 BODY[HEADER.FIELDS (FROM TO CC SUBJECT DATE IN-REPLY-TO MESSAGE-ID)] {337} + +- QRegExp rx; ++ QRegExp rx0; ++ QRegExp rx1; ++ QRegExp rx2; + if (m_currentQueueItem.state() == Queue::GetHeaders) +- rx.setPattern("UID (\\d*) RFC822.SIZE (\\d*)" +- + QRegExp::escape(" BODY[HEADER.FIELDS ") ++ { ++ rx0.setPattern("UID (\\d*) "); ++ rx1.setPattern("RFC822.SIZE (\\d*) "); ++ rx2.setPattern( QRegExp::escape(" BODY[HEADER.FIELDS ") + + "\\(\"?FROM\"? \"?TO\"? \"?CC\"? " + + "\"?SUBJECT\"? \"?DATE\"? \"?IN-REPLY-TO\"? " + + "\"?MESSAGE-ID\"?\\)\\] " + + QRegExp::escape("{") + "(\\d*)" + QRegExp::escape("}")); ++ } + else +- rx.setPattern("UID (\\d*)" + QRegExp::escape(" BODY[] ") ++ { ++ rx0.setPattern("UID (\\d*)"); ++ rx2.setPattern(QRegExp::escape(" BODY[] ") + + QRegExp::escape("{") + "(\\d*)" + QRegExp::escape("}")); ++ } + + m_db->beginTransaction(); + QString r = received; + QStringList headersToSend; +- while (rx.search(r.stripWhiteSpace()) != -1) ++ ++ while (rx0.search(r.stripWhiteSpace()) != -1) + { +- int uid = rx.cap(1).toInt(); + ++ if ( rx2.search(r.stripWhiteSpace()) == -1) ++ { ++ emit statusError(i18n("Retrieving failed")); ++ return; ++ } ++ ++ int uid = rx0.cap(1).toInt(); ++ + QString size; +- int expectedLength; +- if (m_currentQueueItem.state() == Queue::GetHeaders) ++ if (m_currentQueueItem.state() == Queue::GetHeaders && ++ rx1.search(r.stripWhiteSpace()) != -1) + { +- size = "Size: " + rx.cap(2); +- expectedLength = rx.cap(3).toInt(); ++ size = "Size: " + rx1.cap(1); + } +- else +- expectedLength = rx.cap(2).toInt(); + ++ int expectedLength = rx2.cap(1).toInt(); ++ + int i = r.find("}")+1; + QString text = r.mid(i, expectedLength); + + if (m_currentQueueItem.state() == Queue::GetHeaders) + { +- text += size; ++ text.append("\r\n"); ++ text.append(size); + // kdDebug() << "UID: " << uid +- // << " mb: " << m_currentQueueItem.mailbox() +- // << "text" << text +- // << endl; ++ // << " mb: " << m_currentQueueItem.mailbox() ++ // << " size: " << size ++ // << " expect: " << expectedLength ++ // << " found: " << i ++ // << " text: " << text ++ // << endl; + +- headersToSend.append(rx.cap(1)); ++ headersToSend.append(rx0.cap(1)); + headersToSend.append(m_currentQueueItem.mailbox()); + headersToSend.append(text); +- headersToSend.append(m_db->getFlags(rx.cap(1).toInt(), ++ headersToSend.append(m_db->getFlags(uid, + m_currentQueueItem.mailbox())); + + if (text.isEmpty())
\ No newline at end of file diff --git a/mail-client/mailody/mailody-0.2.0_rc1.ebuild b/mail-client/mailody/mailody-0.2.0_rc1.ebuild new file mode 100644 index 000000000000..ede147a87c12 --- /dev/null +++ b/mail-client/mailody/mailody-0.2.0_rc1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/mailody/mailody-0.2.0_rc1.ebuild,v 1.1 2006/11/22 13:41:28 flameeyes Exp $ + +inherit kde + +MY_P="${P/_/-}" + +DESCRIPTION="IMAP mail client for KDE" +HOMEPAGE="http://www.mailody.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86-fbsd" +IUSE="" + +RDEPEND="=dev-db/sqlite-3* + app-crypt/qca-tls" + +S="${WORKDIR}/${MY_P}" + +PATCHES="${FILESDIR}/${P}-dovecot.patch" + +need-kde 3.5 diff --git a/mail-client/mailody/metadata.xml b/mail-client/mailody/metadata.xml new file mode 100644 index 000000000000..8d1e86a9cefb --- /dev/null +++ b/mail-client/mailody/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kde</herd> +</pkgmetadata> |