summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2010-01-17 11:27:54 +0000
committermarkd <markd@pkgsrc.org>2010-01-17 11:27:54 +0000
commit124e9178d785c78c8571e361243a31b4c4f327ae (patch)
treea5ae561fbd1a9caf075972281698c603ad227d71
parentab54c3d888b8059e928a67e74bf3652294ad2eec (diff)
downloadpkgsrc-124e9178d785c78c8571e361243a31b4c4f327ae.tar.gz
KDE SVN commit r1074158 by ttrnka:
Properly check errors during authentication to avoid falling into an infinite loop.
-rw-r--r--misc/kdepimlibs4/Makefile3
-rw-r--r--misc/kdepimlibs4/distinfo3
-rw-r--r--misc/kdepimlibs4/patches/patch-aa26
3 files changed, 30 insertions, 2 deletions
diff --git a/misc/kdepimlibs4/Makefile b/misc/kdepimlibs4/Makefile
index aa294bc26e8..d5e33f7ea2d 100644
--- a/misc/kdepimlibs4/Makefile
+++ b/misc/kdepimlibs4/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2009/10/11 08:13:39 markd Exp $
+# $NetBSD: Makefile,v 1.3 2010/01/17 11:27:54 markd Exp $
DISTNAME= kdepimlibs-${_KDE_VERSION}
+PKGREVISION= 1
CATEGORIES= misc
COMMENT= Support libraries for PIM for the KDE integrated X11 desktop
diff --git a/misc/kdepimlibs4/distinfo b/misc/kdepimlibs4/distinfo
index a6fbf75d844..fc201030eb2 100644
--- a/misc/kdepimlibs4/distinfo
+++ b/misc/kdepimlibs4/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2009/12/04 22:04:05 markd Exp $
+$NetBSD: distinfo,v 1.5 2010/01/17 11:27:54 markd Exp $
SHA1 (kdepimlibs-4.3.4.tar.bz2) = 4f7cd55999e82f504e3766b6f360ae58b984d5cb
RMD160 (kdepimlibs-4.3.4.tar.bz2) = 4c1d1ed223acb849645f43dc2545d5c451d98f1b
Size (kdepimlibs-4.3.4.tar.bz2) = 1781468 bytes
+SHA1 (patch-aa) = 187d6dcfec65ceb00bb2573e3b77e413790de0c0
diff --git a/misc/kdepimlibs4/patches/patch-aa b/misc/kdepimlibs4/patches/patch-aa
new file mode 100644
index 00000000000..c8c3b7507e0
--- /dev/null
+++ b/misc/kdepimlibs4/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1 2010/01/17 11:27:55 markd Exp $
+
+KDE SVN commit r1074158 by ttrnka:
+
+Properly check errors during authentication to avoid falling into an
+infinite loop.
+
+--- kioslave/imap4/imapparser.cpp.orig 2009-05-14 17:26:01.000000000 +0000
++++ kioslave/imap4/imapparser.cpp
+@@ -262,13 +262,12 @@ imapParser::clientAuthenticate ( KIO::Sl
+ }
+ cmd = sendCommand (CommandPtr(new imapCommand ("AUTHENTICATE", firstCommand.toLatin1())));
+
+- while ( true )
+- {
++ int pl = 0;
++ while ( pl != -1 && !cmd->isComplete () ) {
+ //read the next line
+- while (parseLoop() == 0) {
++ while ( ( pl = parseLoop() ) == 0) {
+ ;
+ }
+- if ( cmd->isComplete() ) break;
+
+ if (!continuation.isEmpty())
+ {