Page MenuHomeFreeBSD

ibnd_*(3): fix source of manpage
ClosedPublic

Authored by fernape on Feb 17 2021, 2:25 PM.
Tags
None
Referenced Files
F107062873: D28727.diff
Thu, Jan 9, 12:48 PM
Unknown Object (File)
Dec 5 2024, 3:23 AM
Unknown Object (File)
Nov 23 2024, 1:45 AM
Unknown Object (File)
Nov 14 2024, 6:07 AM
Unknown Object (File)
Oct 8 2024, 6:41 AM
Unknown Object (File)
Oct 1 2024, 1:45 PM
Unknown Object (File)
Oct 1 2024, 4:34 AM
Unknown Object (File)
Sep 30 2024, 4:41 PM
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
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37093
Build 33982: 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.