[MacPorts] #60583: gnupg2 @2.2.20_0

MacPorts noreply at macports.org
Mon Jun 1 08:55:29 UTC 2020


#60583: gnupg2 @2.2.20_0
-------------------------+--------------------
 Reporter:  michi-zuri   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Low          |  Milestone:
Component:  ports        |    Version:  2.6.2
 Keywords:               |       Port:  gnupg2
-------------------------+--------------------
 When I installed duplicity on my macOS 10.13 system I encountered the
 following warning message that led me down a rabbit hole:

 {{{Warning: couldn't find file '/opt/local/var/run/openldap-
 data/.turd_openldap' for port 'openldap'. Please deactivate and reactivate
 the port to fix this issue.}}}

 I managed to disable the warning by creating an empty .turd_openldap file
 with readable permissions, but it left me wondering why gnupg2 needs
 openldap by default at all? Is it actually used by anything if the user
 does not manually configure openldap?

 I went ahead and reinstalled gnupg2 with the -openldap variant, since I am
 not intending to do any configuration for openldap myself. Could anyone
 confirm though that openldap is only used if configured, or am I missing
 out on some magic behind the curtains now?

 If my assumptions are correct, I would propose to make openldap an opt-in
 variant of gnupg2, rather than opt-out.

-- 
Ticket URL: <https://trac.macports.org/ticket/60583>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list