[kdepimlibs] kmail does not work with dovecot (#757295,kde#249992)
Rex Dieter
rdieter at fedoraproject.org
Sat Nov 26 14:24:56 UTC 2011
commit 73e5b6f6865215d6def819a3e7302dfcd7ec607e
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Sat Nov 26 08:25:44 2011 -0600
kmail does not work with dovecot (#757295,kde#249992)
kdepimlibs-4.7.3-dovecot_kde249992.patch | 26 ++++++++++++++++++++++++++
kdepimlibs.spec | 9 ++++++++-
2 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/kdepimlibs-4.7.3-dovecot_kde249992.patch b/kdepimlibs-4.7.3-dovecot_kde249992.patch
new file mode 100644
index 0000000..a2adf41
--- /dev/null
+++ b/kdepimlibs-4.7.3-dovecot_kde249992.patch
@@ -0,0 +1,26 @@
+--- kdepimlibs-4.7.3/kimap/loginjob.cpp.ark 2011-11-08 00:15:20.339317872 +0100
++++ kdepimlibs-4.7.3/kimap/loginjob.cpp 2011-11-08 00:19:51.685974706 +0100
+@@ -323,11 +323,7 @@ void LoginJob::handleResponse( const Mes
+ }
+ }
+ } else if ( response.content.size() >= 2 ) {
+- if ( d->authState == LoginJobPrivate::Authenticate ) {
+- if (!d->answerChallenge(QByteArray::fromBase64(response.content[1].toString()))) {
+- emitResult(); //error, we're done
+- }
+- } else if ( response.content[1].toString()=="CAPABILITY" ) {
++ if ( response.content[1].toString()=="CAPABILITY" ) {
+ bool authModeSupported = d->authMode.isEmpty();
+ for (int i = 2; i < response.content.size(); ++i) {
+ QString capability = response.content[i].toString();
+@@ -346,6 +342,10 @@ void LoginJob::handleResponse( const Mes
+ setErrorText( i18n("Login failed, authentication mode %1 is not supported by the server.", d->authMode) );
+ d->authState = LoginJobPrivate::Login; //just to treat the upcoming OK correctly
+ }
++ } else if ( d->authState == LoginJobPrivate::Authenticate ) {
++ if (!d->answerChallenge(QByteArray::fromBase64(response.content[1].toString()))) {
++ emitResult(); //error, we're done
++ }
+ }
+ }
+ }
diff --git a/kdepimlibs.spec b/kdepimlibs.spec
index 8fe6c4e..26876e6 100644
--- a/kdepimlibs.spec
+++ b/kdepimlibs.spec
@@ -7,7 +7,7 @@
Name: kdepimlibs
Summary: KDE PIM Libraries
Version: 4.7.80
-Release: 1%{?dist}
+Release: 2%{?dist}
# http://techbase.kde.org/Policies/Licensing_Policy
License: LGPLv2+
@@ -17,6 +17,8 @@ Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/kdepimlibs-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
## upstream patches
+# https://bugs.kde.org/249992
+Patch100: kdepimlibs-4.7.3-dovecot_kde249992.patch
%if ! 0%{?akonadi_subpkg}
Obsoletes: %{name}-akonadi < %{version}-%{release}
@@ -84,6 +86,8 @@ format for easy browsing.
%prep
%setup -q
+%patch100 -p1 -b .dovecot_kde249992
+
%build
mkdir -p %{_target_platform}
@@ -208,6 +212,9 @@ rm -rf %{buildroot}
%changelog
+* Sat Nov 26 2011 Rex Dieter <rdieter at fedoraproject.org> 4.7.80-2
+- kmail does not work with dovecot (#757295,kde#249992)
+
* Fri Nov 18 2011 Jaroslav Reznik <jreznik at redhat.com> 4.7.80-1
- 4.7.80 (beta 1)
More information about the scm-commits
mailing list