Subject: Re: KMail 1.3.1 (kde 2.2.1) & Encyption
To: Marcello Balduccini <marcello.balduccini@ttu.edu>
From: Johnny Lam <jlam@jgrind.org>
List: tech-pkg
Date: 11/07/2001 14:32:05
On Wed, Nov 07, 2001 at 04:19:59PM -0600, Marcello Balduccini wrote:
> Hello,
>   I upgraded recently to KDE 2.2.1 (NetBSD/i386 1.5.2) and found out that 
> KMail 1.3.1 would freeze every time I try to read or send an e-mail that 
> requires encryption (I tried with pgp5 and gnupg).
>   I have fixed the problem (it seems to be a NetBSD-specific problem), and I 
> thought that some of you guys may be interested.
> 
> In kdenetwork2, modify kpgpbase.cpp as follows:
> Line: 268
> Replace:
>             }
> With:
>             } else { pollout.revents |= POLLHUP; break;}
> -----
> Line: 291
> Replace:
>             }
> With:
>             } else { pollout.revents |= POLLHUP; break;}

Could you please explain what your changes do?  I'll be happy to add them
to our package but some comments for the code would be very helpful from
a maintenance standpoint.

> 
> BTW: in case I fix other bugs for kde, should I keep writing to tech-pkg, or 
> is it better to contact directly the maintainer of the KDE pkgsrc ? Where can 
> I find his e-mail address ?

It's best to use send-pr(1) or the bug-reporting page on the website.
The information at:

	http://www.netbsd.org/Misc/send-pr.html

should be very helpful.

	Cheers,

	-- Johnny Lam <jlam@jgrind.org>