[MacPorts] #45950: gpg-agent: no_pinentry variant does nothing

MacPorts noreply at macports.org
Wed Nov 19 21:40:58 PST 2014


#45950: gpg-agent: no_pinentry variant does nothing
--------------------------+-----------------------
 Reporter:  ryandesign@…  |      Owner:  ionic@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:
 Keywords:                |       Port:  gpg-agent
--------------------------+-----------------------
 The gpg-agent portfile contains this variant:

 {{{
 # Remove after 11-17-2015.
 variant no_pinentry conflicts pinentry pinentry_mac description {Legacy
 compatibility variant for disabling pinentry. Will be removed soon.} {
 }
 }}}

 The purpose of legacy compatibility variants is to help users who had
 selected an old variant get the same behavior with equivalent new
 variants. In this case, that means a user who had previously selected the
 no_pinentry variant does not want to get either the pinentry variant nor
 the pinentry_mac variant, but the port will select one of them anyway:

 {{{
     if {${os.subplatform} ne "macosx" ||
         ${os.major} < 12 || ([catch "registry_active pinentry"] &&
                              ![catch "registry_active pinentry-mac"])} {
         default_variants-append +pinentry
     } else {
         default_variants-append +pinentry_mac
     }
 }}}

 Either the port should respect the user's previous no_pinentry request, or
 the no_pinentry variant should be removed because in its current form it
 does nothing, other than prevent the user from upgrading the port.

-- 
Ticket URL: <https://trac.macports.org/ticket/45950>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list