%general-entities; ]> Mktemp-&mktemp-version; Mktemp <para>The Mktemp package contains programs used to create secure temporary files in shell scripts.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <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 Many scripts still use the deprecated tempfile program, which has functionality much the same as mktemp. Patch mktemp to include a tempfile wrapper: patch -Np1 -i ../mktemp-&mktemp-version;-add_tempfile-1.patch Now prepare Mktemp for compilation: ./configure --prefix=/usr --with-libc The meaning of the configure option: --with-libc This causes the mktemp program to use the mkstemp and mkdtemp functions from the system C library. Compile the package: make Now install it: make install make install-tempfile Contents of Mktemp Installed programs mktemp, tempfile Short descriptions mktemp mktemp creates temporary files in a secure manner. It is used in scripts. tempfile tempfile creates temporary files in a less secure manner than mktemp. It is installed for backwards-compatibility.