summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-22 13:41:28 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-22 13:41:28 +0000
commit0468e02739f4f5030e40640214a6a184aba4028c (patch)
tree3c0930535aeb8d15950908f239617e4add9272d4 /mail-client/mailody
parentStable on sparc wrt #153726 (diff)
downloadhistorical-0468e02739f4f5030e40640214a6a184aba4028c.tar.gz
historical-0468e02739f4f5030e40640214a6a184aba4028c.tar.bz2
historical-0468e02739f4f5030e40640214a6a184aba4028c.zip
Initial import, lightweight IMAP mail client for KDE.
Package-Manager: portage-2.1.2_rc2-r1
Diffstat (limited to 'mail-client/mailody')
-rw-r--r--mail-client/mailody/ChangeLog11
-rw-r--r--mail-client/mailody/Manifest30
-rw-r--r--mail-client/mailody/files/digest-mailody-0.2.0_rc13
-rw-r--r--mail-client/mailody/files/mailody-0.2.0_rc1-dovecot.patch95
-rw-r--r--mail-client/mailody/mailody-0.2.0_rc1.ebuild25
-rw-r--r--mail-client/mailody/metadata.xml5
6 files changed, 169 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..0ababa53567f
--- /dev/null
+++ b/mail-client/mailody/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 576 RMD160 d6a5e5b2080153c9f9d61fe3a635c152b14ae0a5 SHA1 6366304dab8ba0f7085297dcbbdd6928a2060422 SHA256 9f9f1bb8af66a57879dc9da0eab85045b7dc6d721a8b8d714c4d22f38fd9337f
+MD5 2f06f6a8d33200afa4fbf3cfa00bb29d mailody-0.2.0_rc1.ebuild 576
+RMD160 d6a5e5b2080153c9f9d61fe3a635c152b14ae0a5 mailody-0.2.0_rc1.ebuild 576
+SHA256 9f9f1bb8af66a57879dc9da0eab85045b7dc6d721a8b8d714c4d22f38fd9337f mailody-0.2.0_rc1.ebuild 576
+MISC ChangeLog 444 RMD160 c8c2cbda27801583c5f0854ef2e0e02795ea82f8 SHA1 22b77a56d9bfaca9510731711b572a2085783cd6 SHA256 173d0e2952b4664775affa1cbcbcd2b5b2c20ecd6e73c64c00787e66f1012cf3
+MD5 23d43040061fbc6fdb97fd09a1f93578 ChangeLog 444
+RMD160 c8c2cbda27801583c5f0854ef2e0e02795ea82f8 ChangeLog 444
+SHA256 173d0e2952b4664775affa1cbcbcd2b5b2c20ecd6e73c64c00787e66f1012cf3 ChangeLog 444
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFZFOQAiZjviIA2XgRAqqbAKDT5doIV9Yt4OvSelVwGT5GyRTFvwCaAkw5
+asyBMKWldkAtdT6v7lq+DwY=
+=dxrX
+-----END PGP SIGNATURE-----
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>