[30437] trunk/doc-new/man/xml/portfile.7.xml

source_changes at macosforge.org source_changes at macosforge.org
Sat Oct 27 18:06:05 PDT 2007


Revision: 30437
          http://trac.macosforge.org/projects/macports/changeset/30437
Author:   markd at macports.org
Date:     2007-10-27 18:06:05 -0700 (Sat, 27 Oct 2007)

Log Message:
-----------
Add startupitem.netchange and startupitem.inetdcompat; the latter is not implemented yet, but
hopefully soon.

Modified Paths:
--------------
    trunk/doc-new/man/xml/portfile.7.xml

Modified: trunk/doc-new/man/xml/portfile.7.xml
===================================================================
--- trunk/doc-new/man/xml/portfile.7.xml	2007-10-27 23:11:27 UTC (rev 30436)
+++ trunk/doc-new/man/xml/portfile.7.xml	2007-10-28 01:06:05 UTC (rev 30437)
@@ -932,7 +932,7 @@
       attributes of <quote>script</quote> StartupItems.</para>
 
       <refsection>
-        <title>StartupIem Creation &amp; Logging</title>
+        <title>StartupItem Attributes</title>
 
         <para>The keywords in this section may be used with either
         <quote>executable</quote> or <quote>script</quote> StartupItems (see
@@ -1055,6 +1055,35 @@
               </itemizedlist>
             </listitem>
           </varlistentry>
+
+          <varlistentry>
+            <term>startupitem.netchange</term>
+
+            <listitem>
+              <para>Cause the daemon to be restarted when a change in network
+              state is detected.</para>
+
+              <itemizedlist>
+                <listitem>
+                  <para>Type: optional</para>
+                </listitem>
+
+                <listitem>
+                  <para>Default: no</para>
+                </listitem>
+
+                <listitem>
+                  <para>Values: yes no</para>
+                </listitem>
+
+                <listitem>
+                  <para>Example:</para>
+
+                  <programlisting>startupitem.netchange  yes</programlisting>
+                </listitem>
+              </itemizedlist>
+            </listitem>
+          </varlistentry>
         </variablelist>
       </refsection>
 
@@ -1113,6 +1142,127 @@
               </itemizedlist>
             </listitem>
           </varlistentry>
+
+          <varlistentry>
+            <term>startupitem.inetdcompat</term>
+
+            <listitem>
+              <para>This keyword can only be used with startupitem.executable
+              and sets inetdCompatibility option.</para>
+
+              <itemizedlist>
+                <listitem>
+                  <para>Type: optional</para>
+                </listitem>
+
+                <listitem>
+                  <para>Default: no</para>
+                </listitem>
+
+                <listitem>
+                  <para>Values: yes no</para>
+                </listitem>
+
+                <listitem>
+                  <para>Example:</para>
+
+                  <programlisting>startupitem.inetdcompat   yes</programlisting>
+                </listitem>
+              </itemizedlist>
+            </listitem>
+          </varlistentry>
+
+          <varlistentry>
+            <term>startupitem.inetdsockname</term>
+
+            <listitem>
+              <para>Specify the xinetd socket servicename given in
+              <filename>/etc/services</filename>; this is mandatory when using
+              startupitem.inetdcompat, otherwise an invalid plist file
+              results.</para>
+
+              <itemizedlist>
+                <listitem>
+                  <para>Type: optional, but mandatory when using
+                  startupitem.inetdcompat.</para>
+                </listitem>
+
+                <listitem>
+                  <para>Default: no</para>
+                </listitem>
+
+                <listitem>
+                  <para>Values: <replaceable>name</replaceable></para>
+                </listitem>
+
+                <listitem>
+                  <para>Example:</para>
+
+                  <programlisting>startupitem.inetdsockname   nmicmpd</programlisting>
+                </listitem>
+              </itemizedlist>
+            </listitem>
+          </varlistentry>
+
+          <varlistentry>
+            <term>startupitem.inetdnowait</term>
+
+            <listitem>
+              <para>This keyword can only be used with
+              startupitem.inetdcompat, and corresponds to "wait" or "nowait"
+              option of xinetd services.</para>
+
+              <itemizedlist>
+                <listitem>
+                  <para>Type: optional</para>
+                </listitem>
+
+                <listitem>
+                  <para>Default: no</para>
+                </listitem>
+
+                <listitem>
+                  <para>Values: yes no</para>
+                </listitem>
+
+                <listitem>
+                  <para>Example:</para>
+
+                  <programlisting>startupitem.inetdnowait   yes</programlisting>
+                </listitem>
+              </itemizedlist>
+            </listitem>
+          </varlistentry>
+
+          <varlistentry>
+            <term>startupitem.logevents</term>
+
+            <listitem>
+              <para>Control whether or not to log events to the log file. If
+              logevents is set, events with timestamps are logged to the
+              logfile.</para>
+
+              <itemizedlist>
+                <listitem>
+                  <para>Type: optional</para>
+                </listitem>
+
+                <listitem>
+                  <para>Default: no</para>
+                </listitem>
+
+                <listitem>
+                  <para>Values: yes no</para>
+                </listitem>
+
+                <listitem>
+                  <para>Example:</para>
+
+                  <programlisting>startupitem.logevents   yes</programlisting>
+                </listitem>
+              </itemizedlist>
+            </listitem>
+          </varlistentry>
         </variablelist>
       </refsection>
 
@@ -2145,8 +2295,8 @@
           <listitem>
             <para>Set environment variables for configure; list modifiers add
             and delete items from a previous Portfile configure.env keyword,
-            or a default set by MacPorts base. If available, it is encouraged to
-            use the predefined options (like configure.cflags) instead of
+            or a default set by MacPorts base. If available, it is encouraged
+            to use the predefined options (like configure.cflags) instead of
             modifying configure.env directly</para>
 
             <itemizedlist>
@@ -2186,8 +2336,7 @@
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal>-O2</literal></para>
+                <para>Default: <literal>-O2</literal></para>
               </listitem>
 
               <listitem>
@@ -2222,8 +2371,7 @@
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal>-L${prefix}/lib</literal></para>
+                <para>Default: <literal>-L${prefix}/lib</literal></para>
               </listitem>
 
               <listitem>
@@ -2258,8 +2406,7 @@
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal>-I${prefix}/include</literal></para>
+                <para>Default: <literal>-I${prefix}/include</literal></para>
               </listitem>
 
               <listitem>
@@ -2280,7 +2427,8 @@
           </listitem>
         </varlistentry>
 
-<!-- fortran compiler options -->
+        <!-- fortran compiler options -->
+
         <varlistentry>
           <term>configure.fflags</term>
 
@@ -2289,14 +2437,14 @@
           <term>configure.fflags-delete</term>
 
           <listitem>
-            <para>Set FFLAGS to be passed to the Fortran compiler; list modifiers
-            add or delete items from a previous Portfile configure.fflags
-            keyword or the default set by MacPorts base.</para>
+            <para>Set FFLAGS to be passed to the Fortran compiler; list
+            modifiers add or delete items from a previous Portfile
+            configure.fflags keyword or the default set by MacPorts
+            base.</para>
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal>-O2</literal></para>
+                <para>Default: <literal>-O2</literal></para>
               </listitem>
 
               <listitem>
@@ -2318,14 +2466,14 @@
           <term>configure.fcflags-delete</term>
 
           <listitem>
-            <para>Set FCFLAGS to be passed to the Fortran compiler; list modifiers
-            add or delete items from a previous Portfile configure.fcflags
-            keyword or the default set by MacPorts base.</para>
+            <para>Set FCFLAGS to be passed to the Fortran compiler; list
+            modifiers add or delete items from a previous Portfile
+            configure.fcflags keyword or the default set by MacPorts
+            base.</para>
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal>-O2</literal></para>
+                <para>Default: <literal>-O2</literal></para>
               </listitem>
 
               <listitem>
@@ -2347,14 +2495,14 @@
           <term>configure.f90flags-delete</term>
 
           <listitem>
-            <para>Set F90FLAGS to be passed to the Fortran 90 compiler; list modifiers
-            add or delete items from a previous Portfile configure.f90flags
-            keyword or the default set by MacPorts base.</para>
+            <para>Set F90FLAGS to be passed to the Fortran 90 compiler; list
+            modifiers add or delete items from a previous Portfile
+            configure.f90flags keyword or the default set by MacPorts
+            base.</para>
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal>-O2</literal></para>
+                <para>Default: <literal>-O2</literal></para>
               </listitem>
 
               <listitem>
@@ -2367,9 +2515,11 @@
             </itemizedlist>
           </listitem>
         </varlistentry>
-<!-- fortran compiler options end -->
 
-<!-- compiler selection arguments -->
+        <!-- fortran compiler options end -->
+
+        <!-- compiler selection arguments -->
+
         <varlistentry>
           <term>configure.cc</term>
 
@@ -2378,8 +2528,7 @@
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal></literal></para>
+                <para>Default: <literal></literal></para>
               </listitem>
 
               <listitem>
@@ -2395,12 +2544,12 @@
           <term>configure.cpp</term>
 
           <listitem>
-            <para>Set CPP compiler flags for selecting a C preprocessor;</para>
+            <para>Set CPP compiler flags for selecting a C
+            preprocessor;</para>
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal></literal></para>
+                <para>Default: <literal></literal></para>
               </listitem>
 
               <listitem>
@@ -2420,8 +2569,7 @@
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal></literal></para>
+                <para>Default: <literal></literal></para>
               </listitem>
 
               <listitem>
@@ -2437,12 +2585,12 @@
           <term>configure.objc</term>
 
           <listitem>
-            <para>Set OBJC compiler flags for selecting an Objective-C compiler;</para>
+            <para>Set OBJC compiler flags for selecting an Objective-C
+            compiler;</para>
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal></literal></para>
+                <para>Default: <literal></literal></para>
               </listitem>
 
               <listitem>
@@ -2458,12 +2606,12 @@
           <term>configure.fc</term>
 
           <listitem>
-            <para>Set FC compiler flags for selecting a Fortran compiler;</para>
+            <para>Set FC compiler flags for selecting a Fortran
+            compiler;</para>
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal></literal></para>
+                <para>Default: <literal></literal></para>
               </listitem>
 
               <listitem>
@@ -2479,12 +2627,12 @@
           <term>configure.f77</term>
 
           <listitem>
-            <para>Set F77 compiler flags for selecting a Fortran 77 compiler;</para>
+            <para>Set F77 compiler flags for selecting a Fortran 77
+            compiler;</para>
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal></literal></para>
+                <para>Default: <literal></literal></para>
               </listitem>
 
               <listitem>
@@ -2500,12 +2648,12 @@
           <term>configure.f90</term>
 
           <listitem>
-            <para>Set F90 compiler flags for selecting a Fortran 90 compiler;</para>
+            <para>Set F90 compiler flags for selecting a Fortran 90
+            compiler;</para>
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal></literal></para>
+                <para>Default: <literal></literal></para>
               </listitem>
 
               <listitem>
@@ -2521,12 +2669,12 @@
           <term>configure.javac</term>
 
           <listitem>
-            <para>Set JAVAC compiler flags for selecting a Java compiler;</para>
+            <para>Set JAVAC compiler flags for selecting a Java
+            compiler;</para>
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal></literal></para>
+                <para>Default: <literal></literal></para>
               </listitem>
 
               <listitem>
@@ -2537,8 +2685,11 @@
             </itemizedlist>
           </listitem>
         </varlistentry>
-<!-- compiler selection arguments end -->
-<!-- interpreter selection arguments -->
+
+        <!-- compiler selection arguments end -->
+
+        <!-- interpreter selection arguments -->
+
         <varlistentry>
           <term>configure.perl</term>
 
@@ -2547,8 +2698,7 @@
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal></literal></para>
+                <para>Default: <literal></literal></para>
               </listitem>
 
               <listitem>
@@ -2568,8 +2718,7 @@
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal></literal></para>
+                <para>Default: <literal></literal></para>
               </listitem>
 
               <listitem>
@@ -2589,8 +2738,7 @@
 
             <itemizedlist>
               <listitem>
-                <para>Default:
-                <literal></literal></para>
+                <para>Default: <literal></literal></para>
               </listitem>
 
               <listitem>
@@ -2601,8 +2749,9 @@
             </itemizedlist>
           </listitem>
         </varlistentry>
-<!-- interpreter selection arguments end -->
 
+        <!-- interpreter selection arguments end -->
+
         <varlistentry>
           <term>configure.args</term>
 
@@ -3204,4 +3353,4 @@
 
     <para>Markus W. Weissmann <email>mww at macports.org</email></para>
   </refsection>
-</refentry>
+</refentry>
\ No newline at end of file

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071027/d7e5df7d/attachment-0001.html


More information about the macports-changes mailing list