Page MenuHomeFreeBSD

D16034.diff
No OneTemporary

D16034.diff

Index: head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml
+++ head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml
@@ -63,6 +63,14 @@
mode the script is being run in. The <envar>PKG_PREFIX</envar>
environmental variable will be set to the package installation
directory.</para>
+
+ <important>
+ <para>This script is here to help you set up the package so that
+ it is as ready to use as possible. It <emphasis>must
+ not</emphasis> be abused to start services, stop services,
+ or any other commands that will modify the currenly running
+ system.</para>
+ </important>
</sect1>
<sect1 xml:id="pkg-deinstall">
@@ -80,6 +88,14 @@
mode the script is being run in. The <envar>PKG_PREFIX</envar>
environmental variable will be set to the package installation
directory</para>
+
+ <important>
+ <para>This script is here to help you set up the package so that
+ it is as ready to use as possible. It <emphasis>must
+ not</emphasis> be abused to start services, stop services,
+ or any other commands that will modify the currenly running
+ system.</para>
+ </important>
</sect1>
<sect1 xml:id="pkg-names">
Index: head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml
+++ head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml
@@ -661,6 +661,14 @@
</listitem>
</varlistentry>
</variablelist>
+
+ <important>
+ <para>These keywords are here to help you set up the package
+ so that it is as ready to use as possible. They
+ <emphasis>must not</emphasis> be abused to start services,
+ stop services, or any other commands that will modify the
+ currenly running system.</para>
+ </important>
</sect3>
<sect3 xml:id="plist-keywords-base-mode">
Index: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
+++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
@@ -5561,6 +5561,15 @@
<literal>_enable</literal> variable is not optional,
and must use the &quot;:&quot; for the default.</para>
+ <important>
+ <para>Ports <emphasis>must not</emphasis> start and stop
+ themselves when installing and deinstalling. Do not abuse the
+ <filename>plist</filename> keywords described in <xref
+ linkend="plist-keywords-base-exec"/> to run commands
+ starting services, stopping services, or any other commands
+ that will modify the currenly running system.</para>
+ </important>
+
<sect2 xml:id="rc-scripts-checklist">
<title>Pre-Commit Checklist</title>

File Metadata

Mime Type
text/plain
Expires
Mon, Jun 15, 1:14 AM (8 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33962006
Default Alt Text
D16034.diff (2 KB)

Event Timeline