[Bug 204017] man.cgi does not default to latest version+ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 24 12:43:27 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204017

Andreas Perstinger <andipersti at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andipersti at gmail.com

--- Comment #3 from Andreas Perstinger <andipersti at gmail.com> ---
As noticed by Allan Jude, the easy fix would be to change the default man path
in man.cgi.

Another solution would be to use the "vendor" attribute (as explained in
share/xml/man-refs.ent) if it exists on the "citerefentry" element and add the
corresponding "manpath" URL parameter to the link. But then we also need to add
two more aliases in man.cgi because the vendor values "xorg" (currently used by
17 entries) and "ports" (currently used by 40 entries) are not known to the
script. 

("current" isn't known either but the 5 entries in man-refs.ent that use it
[devfs, device.hints, nullfs, acpiconf, usbconfig] are all in the base system
and when the value of the "manpath" parameter isn't known to the script, it
falls back to the default. Thus I would rather modify the entries in
man-refs.ent, i.e. remove the vendor attribute from these entries.)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-doc mailing list