Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 535834

Summary: kde-apps/kgpg: postinst check for app-crypt/dirmngr
Product: Gentoo Linux Reporter: Kristian Fiskerstrand (RETIRED) <k_f>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-01-06 21:35:40 UTC
Seems one of the only dependencies or uses of app-crypt/dirmngr in the Gentoo tree is kde-base/kgpg's         
if ! has_version app-crypt/dirmngr ; then
                elog "For improved key search functionality, install app-crypt/dirmngr."
        fi

This is of course a trivial matter, but as a heads up please note that as of GnuPG 2.1 the dirmngr will no longer be shipped as an own package but be an embedded part of GnuPG. There doesn't seem to be sufficient use of this package in the tree to require a virtual for it, but one alternative might be to check for ${EPREFIX}/usr/bin/dirmngr directly.
Comment 1 Manuel RĂ¼ger (RETIRED) gentoo-dev 2015-01-06 21:38:23 UTC
If it is included in gnupg 2.1, we probably just need to check for ! dirmngr and !>gnupg-2.1, because kgpg depends on gnupg anyway.
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2015-06-21 14:33:54 UTC
Thanks for reporting. This is fixed in cvs and git now.

+
+  21 Jun 2015; Johannes Huber <johu@gentoo.org> +kgpg-4.14.3-r1.ebuild:
+  Adjust postinst check for app-crypt/gnupg-2.1, bug #535834.
+

https://gitweb.gentoo.org/proj/kde.git/commit/?id=88d7b7354283dee281c7496d33cefec53701c300