Ticket #19343 (new defect)
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
Change History
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.

