pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/kdepimlibs4 KDE SVN commit r1074158 by ttrnka:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f7e3f925633f
branches:  trunk
changeset: 569744:f7e3f925633f
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Jan 17 11:27:54 2010 +0000

description:
KDE SVN commit r1074158 by ttrnka:

Properly check errors during authentication to avoid falling into an
infinite loop.

diffstat:

 misc/kdepimlibs4/Makefile         |   3 ++-
 misc/kdepimlibs4/distinfo         |   3 ++-
 misc/kdepimlibs4/patches/patch-aa |  26 ++++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 2 deletions(-)

diffs (53 lines):

diff -r 7cf042302c92 -r f7e3f925633f misc/kdepimlibs4/Makefile
--- a/misc/kdepimlibs4/Makefile Sun Jan 17 11:24:04 2010 +0000
+++ b/misc/kdepimlibs4/Makefile Sun Jan 17 11:27:54 2010 +0000
@@ -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 -r 7cf042302c92 -r f7e3f925633f misc/kdepimlibs4/distinfo
--- a/misc/kdepimlibs4/distinfo Sun Jan 17 11:24:04 2010 +0000
+++ b/misc/kdepimlibs4/distinfo Sun Jan 17 11:27:54 2010 +0000
@@ -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 -r 7cf042302c92 -r f7e3f925633f misc/kdepimlibs4/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kdepimlibs4/patches/patch-aa Sun Jan 17 11:27:54 2010 +0000
@@ -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())
+     {



Home | Main Index | Thread Index | Old Index