aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-11-24 12:27:18 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-11-24 12:27:18 +0000
commit35b477fcbd3c615c3e91e17319a6c6f13da65075 (patch)
treeb801f312fb061a5aa7a7de6776f376cb72a21a6d /Makefile
parent60a310d953eeb7b6d9117210874dc6ad8e08952a (diff)
downloadmandoc-35b477fcbd3c615c3e91e17319a6c6f13da65075.tar.gz
mandoc-35b477fcbd3c615c3e91e17319a6c6f13da65075.tar.zst
mandoc-35b477fcbd3c615c3e91e17319a6c6f13da65075.zip
Let man.cgi run in two modes:
(1) Insecure. This means that we're operating over the full file-system with access to mandoc(1). In this mode, mandocdb entries are formatted on-the-fly. The $INSECURE environment variable must be passed to man.cgi for this mode to work. (2) Secure. Manuals are assumed to be pre-formatted in a cache directory, which may be set with $CACHE_DIR but default to /cache/man.cgi. This mode works with manup(8), which updates the cached pages from outside of the jail. man.cgi simply locates the manual file and outputs it to stdout.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions