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: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Apr 03 14:35:00 +0000 2011
>Last-Modified: Sun May 15 04:20:01 +0000 2022
>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.
Responsible-Changed-From-To: gls->pkg-manager
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sun, 20 Jan 2019 07:40:42 +0000
Responsible-Changed-Why:
Reset responsible field for retired developer.
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/44819: mail/claws-mail-pgpcore missing dependency (patch
included)
Date: Sun, 15 May 2022 04:18:58 +0000
On Sun, Apr 03, 2011 at 02:35:00PM +0000, gnrp@komkon2.de wrote:
> DEPENDS+= gpgme>=1.1.4nb2:../../security/gpgme
> +DEPENDS+= pinentry-gtk2:../../security/pinentry-gtk2
These days, should it be pinentry-gtk2, or pinentry-gnome3? Judging
from the various deps, it seems like the latter...
--
David A. Holland
dholland@netbsd.org
>Unformatted:
(Contact us)
$NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.