NetBSD Problem Report #44819

From  Sun Apr  3 14:30:24 2011
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 5243A63BCF7
	for <>; Sun,  3 Apr 2011 14:30:24 +0000 (UTC)
Message-Id: <>
Date: Sun,  3 Apr 2011 14:30:23 +0000 (UTC)
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
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
As stated in this mail, , 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.
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.
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/"



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


NetBSD Home
NetBSD PR Database Search

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