pkgsrc-Bugs archive

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

pkg/44819: mail/claws-mail-pgpcore missing dependency (patch included)



>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
>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"



Home | Main Index | Thread Index | Old Index