New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19343 (new defect)

Opened 4 years ago

Last modified 3 years ago

openssl: man page names conflict with system man page names

Reported by: aetherknight@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: openssl man Cc: raimue@…
Port: openssl

Description

The openssl package installs several man pages in man section 1 whose names overlap with various standard Mac OS X commands, such as passwd. This causes commands such as man passwd to display the man page for openssl passwd instead of the passwd user account password changing utility, if man has been configured to search in /opt/local/share/man before searching in the normal man locations.

Some Linux distributions deal with this by renaming the openssl man section 1 pages to ssl-name or openssl-name, such as Gentoo. (look in the src_install() method).

Could MacPorts' openssl port do something similar?

Attachments

patch-openssl-mansuffix.diff (480 bytes) - added by raimue@… 3 years ago.

Change History

comment:1 Changed 4 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to mww@…

comment:2 Changed 4 years ago by raimue@…

  • Cc raimue@… added

As Apple applies a suffix to the man pages, it would make perfect sense to do the same. In /usr/share/man/man1 exists both passwd.1.gz and passwd.1ssl.gz, so you can choose between the man pages using man 1 passwd and man 1ssl passwd.

I took a quick look at the OpenSSL Makefile and I assume it would be as easy as passing MANSUFFIX=ssl in build.args.

comment:3 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Changed 3 years ago by raimue@…

comment:4 Changed 3 years ago by raimue@…

Patch committed in r73018.

But there is still no way to access system's passwd(1) man page without using the full path.

Note: See TracTickets for help on using tickets.