Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525154 - app-crypt/gnupg-2.1.*: Make openldap and gnutls dependency optional
Summary: app-crypt/gnupg-2.1.*: Make openldap and gnutls dependency optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-12 14:41 UTC by Philipp Ammann
Modified: 2014-11-06 16:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ebuild with optional net-nds/openldap and net-libs/gnutls dependencies (gnupg-2.1.0_beta864.ebuild,4.31 KB, text/plain)
2014-10-12 14:41 UTC, Philipp Ammann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Ammann 2014-10-12 14:41:02 UTC
Created attachment 386526 [details]
Updated ebuild with optional net-nds/openldap and net-libs/gnutls dependencies

As the title says, net-nds/openldap and net-libs/gnutls are currently hard dependencies for gnupg 2.1 beta. These can be made optional.

I attached an updated ebuild. Changes are:

 * added 'ldap' and 'ssl' USE-flags and conditional dependencies
 * changes to econf:
    $(use_enable ldap dirmngr) \
    $(use_enable ssl gnutls) \
    $(use_with ldap)

Note that dirmngr depends on ldap and has to be disabled.

Builds and works just fine on hardened ~amd64 (glibc).
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2014-10-12 16:56:03 UTC
In future please submit diffs and not complete ebuilds.
Thanks!
Comment 2 Philipp Ammann 2014-10-12 22:09:32 UTC
(In reply to Alon Bar-Lev from comment #1)
> In future please submit diffs and not complete ebuilds.
> Thanks!

Sorry I didn't realize that, that was the very first ebuild I ever submitted here ;-)
Comment 3 Anthony Basile gentoo-dev 2014-10-13 00:03:16 UTC
(In reply to Philipp Ammann from comment #2)
> (In reply to Alon Bar-Lev from comment #1)
> > In future please submit diffs and not complete ebuilds.
> > Thanks!
> 
> Sorry I didn't realize that, that was the very first ebuild I ever submitted
> here ;-)

That's okay.  We appreciate all the help we can get :)
Comment 4 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-10-21 20:05:47 UTC
gnupg 2.1 without dirmngr disables all keyserver functionality as the old helpers are gone. Also, ldap support is optional for dirmngr since http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=6d9491842d5da597980eaa59e1e3e2137965fe09 so I'm not sure how much this change makes sense to do for beta864.
Comment 5 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-11-06 16:44:53 UTC
+*gnupg-2.1.0 (06 Nov 2014)
+
+  06 Nov 2014; Kristian Fiskerstrand <k_f@gentoo.org> +gnupg-2.1.0.ebuild,
+  -gnupg-2.1.0_beta864.ebuild:
+  Bump GnuPG 2.1 branch to final release. Fix bug #525154

Closing this bug as fixed. Please reopen if you encounter issues.