Index: en_US.ISO8859-1/books/porters-handbook/special/chapter.xml =================================================================== --- en_US.ISO8859-1/books/porters-handbook/special/chapter.xml +++ en_US.ISO8859-1/books/porters-handbook/special/chapter.xml @@ -3423,6 +3423,13 @@ mygroup if the port needs different values. This allows the user to override them easily. + + Use WWWOWN and + WWWGRP, with parsimony, and remember that + every file the web server can write to is a security risk + waiting to happen. + + Do not depend on Apache unless the web app explicitly needs Apache. Respect that users may wish to run a web app on different web server than Apache. @@ -3431,6 +3438,12 @@ PHP + To add a dependency on PHP, a + web application first needs to add + USES=php. The following variables can be + used to specify which PHP modules + are needed. + Variables for Ports That Use PHP @@ -3438,10 +3451,7 @@ USE_PHP - The port requires PHP. The value - yes adds a dependency on PHP. - The list of required PHP extensions can be specified - instead. Example: + The list of required PHP extensions. Example: pcre xml gettext Index: en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml =================================================================== --- en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml +++ en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml @@ -1722,6 +1722,15 @@ _USE_PGSQL_DEP. + + <literal>php</literal> + + Possible arguments: (none) + + Provide support for PHP. See + for more informations. + + <literal>pkgconfig</literal>