From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-3.sys.kth.se (smtp-3.sys.kth.se [130.237.48.192]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s7IADO8i020408 for ; Mon, 18 Aug 2014 06:13:28 -0400 (EDT) Received: from smtp-3.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-3.sys.kth.se (Postfix) with ESMTP id BC8D41E5A for ; Mon, 18 Aug 2014 12:13:23 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-3.sys.kth.se ([127.0.0.1]) by smtp-3.sys.kth.se (smtp-3.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NGBsAVHOziwP for ; Mon, 18 Aug 2014 12:13:13 +0200 (CEST) X-KTH-Auth: kristaps [2a02:1205:5033:5b0:7181:9373:ce57:1d12] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: discuss@mdocml.bsd.lv Received: from [IPv6:2a02:1205:5033:5b0:7181:9373:ce57:1d12] (unknown [IPv6:2a02:1205:5033:5b0:7181:9373:ce57:1d12]) by smtp-3.sys.kth.se (Postfix) with ESMTPSA id C07A21DE8 for ; Mon, 18 Aug 2014 12:13:10 +0200 (CEST) Message-ID: <53F1D1B5.4050305@bsd.lv> Date: Mon, 18 Aug 2014 12:13:09 +0200 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 To: discuss@mdocml.bsd.lv Subject: CGI documentation notes in INSTALL/TODO Content-Type: multipart/mixed; boundary="------------080305090307020707060100" This is a multi-part message in MIME format. --------------080305090307020707060100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Enclosed are some minor notes uncovered while deploying man.cgi from HEAD on a Mac. No code here: just documentation and a little wish-list. Ok? Best, Kristaps --------------080305090307020707060100 Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="cgi-doc.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cgi-doc.diff" Index: INSTALL =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/INSTALL,v retrieving revision 1.4 diff -u -p -r1.4 INSTALL --- INSTALL 16 Aug 2014 19:00:01 -0000 1.4 +++ INSTALL 18 Aug 2014 10:12:29 -0000 @@ -42,7 +42,8 @@ system, please consult your operating sy 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. Index: TODO =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/TODO,v retrieving revision 1.178 diff -u -p -r1.178 TODO --- TODO 13 Aug 2014 22:17:51 -0000 1.178 +++ TODO 18 Aug 2014 10:12:29 -0000 @@ -442,3 +442,16 @@ Several areas can be cleaned up to make 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. --------------080305090307020707060100-- -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv