Author: manuel Date: 2005-05-28 04:29:29 -0600 (Sat, 28 May 2005) New Revision: 5479
Modified: branches/cross-lfs/BOOK/final-system/common/mktemp.xml Log: Indented mktemp.xml Modified: branches/cross-lfs/BOOK/final-system/common/mktemp.xml =================================================================== --- branches/cross-lfs/BOOK/final-system/common/mktemp.xml 2005-05-28 10:22:38 UTC (rev 5478) +++ branches/cross-lfs/BOOK/final-system/common/mktemp.xml 2005-05-28 10:29:29 UTC (rev 5479) @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!ENTITY % general-entities SYSTEM "../../general.ent"> <!ENTITY % patches-entities SYSTEM "../../patches.ent"> %general-entities; @@ -7,96 +8,118 @@ ]> <sect1 id="ch-system-mktemp" role="wrap"> -<title>Mktemp-&mktemp-version;</title> -<?dbhtml filename="mktemp.html"?> + <?dbhtml filename="mktemp.html"?> -<indexterm zone="ch-system-mktemp"><primary sortas="a-Mktemp">Mktemp</primary></indexterm> + <title>Mktemp-&mktemp-version;</title> -<sect2 role="package"><title/> -<para>The Mktemp package contains programs used to create secure temporary -files in shell scripts.</para> + <indexterm zone="ch-system-mktemp"> + <primary sortas="a-Mktemp">Mktemp</primary> + </indexterm> -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.1 SBU</seg><seg>317 KB</seg></seglistitem> -</segmentedlist> + <sect2 role="package"> + <title/> -<segmentedlist> -<segtitle>&dependencies;</segtitle> -<seglistitem><seg>Coreutils, Make, and Patch</seg></seglistitem> -</segmentedlist> -</sect2> + <para>The Mktemp package contains programs used to create secure + temporary files in shell scripts.</para> -<sect2 role="installation"> -<title>Installation of Mktemp</title> + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> -<para>Many scripts still use the deprecated -<command>tempfile</command> program, which has functionality similar -to <command>mktemp</command>. Patch Mktemp to include a -<command>tempfile</command> wrapper:</para> + <seglistitem> + <seg>Not checked yet</seg> + <seg>Not checked yet</seg> + </seglistitem> + </segmentedlist> + <segmentedlist> + <segtitle>&dependencies;</segtitle> + + <seglistitem> + <seg>Coreutils, Make, and Patch</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Mktemp</title> + + <para>Many scripts still use the deprecated <command>tempfile</command> + program, which has functionality similar to <command>mktemp</command>. + Patch Mktemp to include a <command>tempfile</command> wrapper:</para> + <screen><userinput>patch -Np1 -i ../&mktemp-tempfile-patch;</userinput></screen> -<para>Prepare Mktemp for compilation:</para> + <para>Prepare Mktemp for compilation:</para> <screen><userinput>./configure --prefix=/usr --with-libc</userinput></screen> -<para>The meaning of the configure option:</para> + <variablelist> + <title>The meaning of the configure option:</title> -<variablelist> -<varlistentry> -<term><parameter>--with-libc</parameter></term> -<listitem><para>This causes the <command>mktemp</command> program to -use the <emphasis>mkstemp</emphasis> and <emphasis>mkdtemp</emphasis> -functions from the system C library.</para></listitem> -</varlistentry> -</variablelist> + <varlistentry> + <term><parameter>--with-libc</parameter></term> + <listitem> + <para>This causes the <command>mktemp</command> program to use the + <emphasis>mkstemp</emphasis> and <emphasis>mkdtemp</emphasis> + functions from the system C library.</para> + </listitem> + </varlistentry> + </variablelist> + <para>Compile the package:</para> - -<para>Compile the package:</para> - <screen><userinput>make</userinput></screen> -<para>Install the package:</para> + <para>Install the package:</para> <screen><userinput>make install make install-tempfile</userinput></screen> -</sect2> + </sect2> + <sect2 id="contents-mktemp" role="content"> + <title>Contents of Mktemp</title> -<sect2 id="contents-mktemp" role="content"><title>Contents of Mktemp</title> + <segmentedlist> + <segtitle>Installed programs</segtitle> -<segmentedlist> -<segtitle>Installed programs</segtitle> -<seglistitem><seg>mktemp and tempfile</seg></seglistitem> -</segmentedlist> + <seglistitem> + <seg>mktemp and tempfile</seg> + </seglistitem> + </segmentedlist> -<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> -<?dbfo list-presentation="list"?> -<?dbhtml list-presentation="table"?> + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> -<varlistentry id="mktemp"> -<term><command>mktemp</command></term> -<listitem> -<para>Creates temporary files in a secure manner; it is used in scripts</para> -<indexterm zone="ch-system-mktemp mktemp"><primary sortas="b-mktemp">mktemp</primary></indexterm> -</listitem> -</varlistentry> + <varlistentry id="mktemp"> + <term><command>mktemp</command></term> + <listitem> + <para>Creates temporary files in a secure manner; it is used in + scripts</para> + <indexterm zone="ch-system-mktemp mktemp"> + <primary sortas="b-mktemp">mktemp</primary> + </indexterm> + </listitem> + </varlistentry> -<varlistentry id="tempfile"> -<term><command>tempfile</command></term> -<listitem> -<para>Creates temporary files in a less secure manner than -<command>mktemp</command>; it is installed for backwards-compatibility</para> -<indexterm zone="ch-system-mktemp tempfile"><primary sortas="b-tempfile">tempfile</primary></indexterm> -</listitem> -</varlistentry> -</variablelist> + <varlistentry id="tempfile"> + <term><command>tempfile</command></term> + <listitem> + <para>Creates temporary files in a less secure manner than + <command>mktemp</command>; it is installed for + backwards-compatibility</para> + <indexterm zone="ch-system-mktemp tempfile"> + <primary sortas="b-tempfile">tempfile</primary> + </indexterm> + </listitem> + </varlistentry> -</sect2> + </variablelist> + </sect2> + </sect1> - -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
