If there are no ldap libraries around, gnupg fails to build with the following configure error: configure: *** *** The Dirmngr part requires an LDAP library *** Check out *** http://www.openldap.org *** for a suitable implementation. *** configure: error: *** *** Required libraries not found. Please consult the above messages *** and install them before running configure again. ***
Indeed, for 2.1 the dirmngr is responsible for all keyserver access (actually all network access) and dirmngr require openldap. Although it is possible to build 2.1 with --disable-dirmngr to avoid this dependency I'm not sure how useful this would be. In any case openldap should be added as a dependency. That said, looking through the ebuild I see a few other quirks as well, e.g. no gnutls dependency that is required for HKPS access to the keyservers. The ebuild also tries to install the old keyserver helpers, that are no longer part of 2.1. That said, I haven't tried the ebuild in question as I'm using a live ebuild from my layman[mercurial]:k_f repository[0] (installs in a different slot) - but will see if I can give it a proper review over the next few days. [0] https://bitbucket.org/kristianf/portage-overlay/src/tip/app-crypt/gnupg/gnupg-9999.ebuild?at=default
+ 18 Aug 2014; Kristian Fiskerstrand <k_f@gentoo.org> + +gnupg-2.1.0_beta783.ebuild, -gnupg-2.1.0_beta751.ebuild: + Bump 2.1 version to beta783. Fix bug #519200