Page MenuHomeFreeBSD

ibnd_*(3): fix source of manpage
ClosedPublic

Authored by fernape on Feb 17 2021, 2:25 PM.
Tags
None
Referenced Files
F82069604: D28727.id84087.diff
Thu, Apr 25, 5:35 AM
Unknown Object (File)
Fri, Apr 19, 9:08 PM
Unknown Object (File)
Fri, Apr 19, 2:49 PM
Unknown Object (File)
Thu, Apr 18, 8:34 AM
Unknown Object (File)
Mar 22 2024, 2:36 PM
Unknown Object (File)
Mar 22 2024, 11:06 AM
Unknown Object (File)
Mar 22 2024, 10:15 AM
Unknown Object (File)
Mar 22 2024, 10:15 AM
Subscribers

Details

Summary

Some ibnd_* manpages source other manpages from a man3/ directory when it should
reference the pages in the current directory.

PR: 237693
Reported by: wosch@FreeBSD.org

Test Plan
$ man ibnd_debug

This is what you get:

()                                                                          ()




See the file ibnd_discover_fabric.3.




                               February 17, 2021                            ()
(END)

This was tested in 12.2-RELEASE and 13-stable

After aplying the patch

$ cd lib/ofed/libibnetdisc && make
$ man ./ibnd_debug.3.gz

It shows expected results.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 37092
Build 33981: arc lint + arc unit

Event Timeline

I'd rather not modify the contrib source, skip installing these, and use MLINKS instead.

Address comments by yuripv@

  • Do not install affected pages
  • Use MLINKS instead of fixing the .so macro (discouraged by mandoc(1))

Test plan:

Apply the patch and then:

$ cd lib/ofed/libibnetdisc && make install
...
...
$ man ibnd_debug
$ man ibnd_destroy_fabric
$ man ibnd_iter_nodes_type
$ man ibnd_find_node_dr
$ man ibnd_show_progress
This revision is now accepted and ready to land.Feb 17 2021, 3:10 PM
This revision was automatically updated to reflect the committed changes.