Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680012 - net-misc/openssh-7.9_p1-r4: manpages installed in wrong dir if only mandoc is installed
Summary: net-misc/openssh-7.9_p1-r4: manpages installed in wrong dir if only mandoc is...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-03-11 07:46 UTC by Patrick Steinhardt
Modified: 2019-03-11 09:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mantype patch (patch,424 bytes, patch)
2019-03-11 07:46 UTC, Patrick Steinhardt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Steinhardt 2019-03-11 07:46:04 UTC
Created attachment 568534 [details, diff]
mantype patch

If the system has only app-text/mandoc installed instead of using sys-apps/man-db, then net-misc/openssh-7.9_p1-r4 and older will install manpages into "/usr/share/man/cat?/" instead of installing them into "/usr/share/man/man?/", even though app-text/mandoc is configured to make use of the latter, too.

The bug is caused by configure.ac, where openssh tries to auto-detect which type of manpages the system has available. If none of "nroff" or "awf" are installed, then it will assume that MANTYPE is "cat" and install into the wrong location.

The bug can easily be fixed by configuring openssh with "--with-mantype=man", a patch is attached.