[MacPorts] #19343: openssl: man page names conflict with system man page names
MacPorts
noreply at macports.org
Thu Sep 22 20:13:08 CEST 2016
#19343: openssl: man page names conflict with system man page names
-----------------------------+-------------------------
Reporter: aetherknight@… | Owner: larryv@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Resolution: wontfix | Keywords: openssl man
Port: openssl |
-----------------------------+-------------------------
Changes (by cal@…):
* status: new => closed
* resolution: => wontfix
Comment:
I think there is no good solution here. The problem is with how manpages
are looked up; the algorithm is currently:
{{{
foreach manpath in $MANPATH:
foreach mansection in $MANSECTION:
test for $manpath/$manpage.$mansection
}}}
but should probably be
{{{
foreach mansection in $MANSECTION:
foreach manpath in $MANPATH:
test for $manpage/$manpage.$mansection
}}}
At the very least, searching for a specific match should be done in all of
`$MANPATH` when `man` is invoked with an explicit section, rather than
accepting `passwd.1ssl` as a result for `man 1 passwd` at the first entry
of `$MANPATH`.
We might be able to work around this by prefixing the manpage sections of
OpenSSL manpages, rather than suffixing, so that OpenSSL's copy of the
manpage was named `passwd.ssl1`, but this is probably counter-intuitive
for users.
We should report this to the developers of `man` and ask them to change
the lookup algorithm. I don't think we can fix this properly in OpenSSL.
--
Ticket URL: <https://trac.macports.org/ticket/19343#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list