Page MenuHomeFreeBSD

D6932.id17807.diff
No OneTemporary

D6932.id17807.diff

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</literal> if the port needs different values. This
allows the user to override them easily.</para>
+ <important>
+ <para>Use <varname>WWWOWN</varname> and
+ <varname>WWWGRP</varname>, with parsimony, and remember that
+ every file the web server can write to is a security risk
+ waiting to happen.</para>
+ </important>
+
<para>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.</para>
@@ -3431,6 +3438,12 @@
<sect2 xml:id="php-variables">
<title>PHP</title>
+ <para>To add a dependency on <application>PHP</application>, a
+ web application first needs to add
+ <literal>USES=php</literal>. The following variables can be
+ used to specify which <application>PHP</application> modules
+ are needed.</para>
+
<table frame="none" xml:id="using-php-variables">
<title>Variables for Ports That Use PHP</title>
@@ -3438,10 +3451,7 @@
<tbody>
<row>
<entry><varname>USE_PHP</varname></entry>
- <entry>The port requires PHP. The value
- <literal>yes</literal> adds a dependency on PHP.
- The list of required PHP extensions can be specified
- instead. Example:
+ <entry>The list of required PHP extensions. Example:
<literal>pcre xml gettext</literal></entry>
</row>
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</command>.</para>
</sect1>
+ <sect1 xml:id="uses-php">
+ <title><literal>php</literal></title>
+
+ <para>Possible arguments: (none)</para>
+
+ <para>Provide support for <application>PHP</application>. See
+ <xref linkend="php-variables"/> for more informations.</para>
+ </sect1>
+
<sect1 xml:id="uses-pkgconfig">
<title><literal>pkgconfig</literal></title>

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 5, 4:56 PM (7 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30904686
Default Alt Text
D6932.id17807.diff (2 KB)

Event Timeline