diff options
Diffstat (limited to 'chapter06/mktemp.xml')
-rw-r--r-- | chapter06/mktemp.xml | 44 |
1 files changed, 2 insertions, 42 deletions
diff --git a/chapter06/mktemp.xml b/chapter06/mktemp.xml index 3e2e6226c..42a6c662f 100644 --- a/chapter06/mktemp.xml +++ b/chapter06/mktemp.xml @@ -10,8 +10,6 @@ <indexterm zone="ch-system-mktemp"><primary sortas="a-Mktemp">Mktemp</primary></indexterm> <sect2 role="package"><title/> -<para>The Mktemp package contains programs used to create secure temporary -files in shell scripts.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> @@ -19,16 +17,12 @@ files in shell scripts.</para> <seglistitem><seg>0.1 SBU</seg><seg>317 KB</seg></seglistitem> </segmentedlist> -<para>The installation dependencies for Mktemp haven't been checked yet.</para> - </sect2> <sect2 role="installation"> <title>Installation of Mktemp</title> -<para>Many scripts still use the deprecated <command>tempfile</command> -program, which has functionality much the same as <command>mktemp</command>. -Patch Mktemp to include a <command>tempfile</command> wrapper:</para> +<para>Apply a patch:</para> <screen><userinput>patch -Np1 -i ../mktemp-&mktemp-version;-add_tempfile-1.patch</userinput></screen> @@ -36,17 +30,6 @@ Patch Mktemp to include a <command>tempfile</command> wrapper:</para> <screen><userinput>./configure --prefix=/usr --with-libc</userinput></screen> -<para>The meaning of the configure option:</para> - -<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> <screen><userinput>make</userinput></screen> @@ -61,30 +44,7 @@ make install-tempfile</userinput></screen> <sect2 id="contents-mktemp" role="content"><title>Contents of Mktemp</title> -<segmentedlist> -<segtitle>Installed programs</segtitle> -<seglistitem><seg>mktemp, tempfile</seg></seglistitem> -</segmentedlist> - -<variablelist><title>Short descriptions</title> - -<varlistentry id="mktemp"> -<term><command>mktemp</command></term> -<listitem> -<indexterm zone="ch-system-mktemp mktemp"><primary sortas="b-mktemp">mktemp</primary></indexterm> -<para>creates temporary files in a secure manner. It is used in scripts.</para> -</listitem> -</varlistentry> - -<varlistentry id="tempfile"> -<term><command>tempfile</command></term> -<listitem> -<indexterm zone="ch-system-mktemp tempfile"><primary sortas="b-tempfile">tempfile</primary></indexterm> -<para>creates temporary files in a less secure manner than -<command>mktemp</command>. It is installed for backwards-compatibility.</para> -</listitem> -</varlistentry> -</variablelist> +<para>See testing</para> </sect2> |