Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2015 12:43:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-doc@FreeBSD.org
Subject:   [Bug 204017] man.cgi does not default to latest version+ports
Message-ID:  <bug-204017-9-Fhzkqv0nAF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204017-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204017-9@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204017

Andreas Perstinger <andipersti@gmail.com> changed:

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

--- Comment #3 from Andreas Perstinger <andipersti@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204017-9-Fhzkqv0nAF>