summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-08-18 13:27:47 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-08-18 13:27:47 +0000
commit9db097d0fa3580b6949e4da3455438f64cf21525 (patch)
tree6ed8418da5305e078a3ea49b79e4dd3a1345a84a
parenta85c2bafa990fdb5b501994d2144372b0a789395 (diff)
downloadmandoc-9db097d0fa3580b6949e4da3455438f64cf21525.tar.gz
Notes on CGI: installation (readying cgi.h) and future plans.
-rw-r--r--INSTALL3
-rw-r--r--TODO13
2 files changed, 15 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index bf75c0a3..9b278c1a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -42,7 +42,8 @@ system, please consult your operating system documentation.
To install mandoc manually, the following steps are needed:
1. If you want to build the CGI program, man.cgi(8), too, run the
-command "echo BUILD_CGI=1 > configure.local".
+command "echo BUILD_CGI=1 > configure.local". Then run "cp
+cgi.h.examples cgi.h" and edit cgi.h as desired.
2. Run "./configure".
This script attempts autoconfiguration of mandoc for your system.
diff --git a/TODO b/TODO
index dab7f896..ce9fb12c 100644
--- a/TODO
+++ b/TODO
@@ -442,3 +442,16 @@ Several areas can be cleaned up to make mandoc even faster. These are
abstract from the database structure, too.
suggested by espie@ Sat, 19 Apr 2014 14:52:57 +0200
+************************************************************************
+* CGI issues
+************************************************************************
+
+ - Enable HTTP compression by detecting gzip encoding and filtering
+ output through libz.
+ - Sandbox (see OpenSSH).
+ - Enable caching support via HTTP 304 and If-Modified-Since.
+ - Allow for cgi.h to be overridden by CGI environment variables.
+ Otherwise, binary distributions will inherit the compile-time
+ behaviour, which is not optimal.
+ - Have Mac OSX systems automatically disable -static compilation of the
+ CGI: -static isn't supported.