NetBSD Problem Report #44819

From www@NetBSD.org  Sun Apr  3 14:30:24 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 5243A63BCF7
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  3 Apr 2011 14:30:24 +0000 (UTC)
Message-Id: <20110403143023.69F9F63B84D@www.NetBSD.org>
Date: Sun,  3 Apr 2011 14:30:23 +0000 (UTC)
From: gnrp@komkon2.de
Reply-To: gnrp@komkon2.de
To: gnats-bugs@NetBSD.org
Subject: mail/claws-mail-pgpcore missing dependency (patch included)
X-Send-Pr-Version: www-1.0

>Number:         44819
>Category:       pkg
>Synopsis:       mail/claws-mail-pgpcore missing dependency (patch included)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gls
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 03 14:35:00 +0000 2011
>Last-Modified:  Mon Apr 04 21:02:48 +0000 2011
>Originator:     Julian Fagir
>Release:        5.99.48
>Organization:
>Environment:
NetBSD eselhitler 5.99.48 NetBSD 5.99.48 (ESELHITLER) #10: Tue Mar 29 13:57:41 CEST 2011  gnrp@eselhitler:/usr/obj/sys/arch/amd64/compile/ESELHITLER amd64
>Description:
As stated in this mail, http://mail-index.netbsd.org/pkgsrc-users/2011/04/03/msg014129.html , claws-mail-pgp{core,inline,mime} needs security/pinentry-gtk2 to run properly. Without, no graphical password-entry is possible, when not starting claws from the shell, you will see it just freeze.
>How-To-Repeat:
Install claws-mail-pgpcore, do not have pinentry-gtk2 installed and compose an encrypted e-mail. Claws will "freeze", asking for a passphrase on console.
Install pinentry-gtk2 and see a nice window asking for your password.
>Fix:
Installing pinentry-gtk2 and linking it to pinentry resolves this issue.
As the package depends on gtk2 and gnupg which depends on pinentry, adding the dependency for pinentry-gtk2 is cheap.

What still is missing is that PREFIX/bin/pinentry is automatically linked to pinentry-gtk-2, but you can't do this without further questioning (perhaps there are other curses-tools relying on pinentry).


Patch below adds the dependency.

--- mail/claws-mail-pgpcore/Makefile.orig       2011-04-03 12:01:54.000000000 +0200
+++ mail/claws-mail-pgpcore/Makefile    2011-04-03 11:51:09.000000000 +0200
@@ -21,6 +21,7 @@
 DEPENDS+=      claws-mail-${CLAWS_VERSION}{,nb[0-9]*}:../../mail/claws-mail
 #DEPENDS+=     gnupg>=1.4.9:../../security/gnupg
 DEPENDS+=      gpgme>=1.1.4nb2:../../security/gpgme
+DEPENDS+=      pinentry-gtk2:../../security/pinentry-gtk2

 .include "../../mail/claws-mail/Makefile.vers"
 .include "../../security/gpgme/buildlink3.mk"

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->gls
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 04 Apr 2011 21:02:48 +0000
Responsible-Changed-Why:
gls agreed to handle this one.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.