add description to security set handlers
authorMarius Mauch <genone@gentoo.org>
Tue, 9 Oct 2007 21:26:01 +0000 (21:26 -0000)
committerMarius Mauch <genone@gentoo.org>
Tue, 9 Oct 2007 21:26:01 +0000 (21:26 -0000)
svn path=/main/trunk/; revision=8030

doc/config/sets.docbook

index 002fc288f779b7d963ffe25ac995d4c1b13bb00e..70b70241d0f52a0ee82a6b95a1d8711cc30891a5 100644 (file)
                <sect2 id='config-set-classes-SecuritySet' xreflabel='SecuritySet'>
                <title>portage.sets.security.SecuritySet</title>
                <para>
+               The set created by this class contains all atoms that need to be installed 
+               to apply all GLSAs in the ebuild repository, no matter if they are already 
+               applied or no (it's equivalent to the <parameter>all</parameter> target of
+               glsa-check). Generally it should be avoided in configurations in favor of
+               <classname>NewAffectedSet</classname> described below.
                </para>
 
                        <sect3>
                                algorithm and use the lowest version that matches the GLSA and is 
                                higher than the currently installed version (least change policy).
                        </listitem>
+                       </itemizedlist>
                        </para>
                        </sect3>
                </sect2>
                <sect2 id='config-set-classes-NewGlsaSet'>
                <title>portage.sets.security.NewGlsaSet</title>
                <para>
+               Like <xref linkend='config-set-classes-SecuritySet'>SecuritySet</xref>,
+               but ignores all GLSAs that were already applied or injected previously.
                </para>
 
                        <sect3>
                <sect2 id='config-set-classes-NewAffectedSet'>
                <title>portage.sets.security.NewAffectedSet</title>
                <para>
+               Like <xref linkend='config-set-classes-SecuritySet'>SecuritySet</xref>,
+               but ignores all GLSAs that were already applied or inejcted previously,
+               and all GLSAs that don't affect the current system. Practically there
+               should be no difference to <classname>NewGlsaSet</classname> though.
                </para>
 
                        <sect3>
                <sect2 id='config-set-classes-AffectedSet'>
                <title>portage.sets.security.AffectedSet</title>
                <para>
+               Like <xref linkend='config-set-classes-SecuritySet'>SecuritySet</xref>,
+               but ignores all GLSAs that don't affect the current system. Practically
+               there should be no difference to <classname>SecuritySet</classname> though.
                </para>
 
                        <sect3>
                <sect2 id='config-set-classes-CommandOutputSet'>
                <title>portage.sets.shell.CommandOutputSet</title>
                <para>
+               As the name says, this class creates a package set based on the output of
+               a given command. The command is run once when the set is accessed 
+               for the first time during the current session.
                </para>
 
                        <sect3>
                        In single set configurations this class supports the following options:
                        <itemizedlist>
                        <listitem><varname>command</varname>: Required. Specifies the command
-                               that should be executed to generate the package set.
+                               that should be executed to generate the package set. It should 
+                               output a newline separated list of simple and/or versioned atoms
+                               on stdout.
                        </listitem>
                        </itemizedlist>
                        </para>