The Mktemp package contains programs used to create secure temporary files in shell scripts.
Approximate build time: 0.1 SBU Required disk space: 317 KB
The installation dependencies for Mktemp haven't been checked yet.
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-1.5-add-tempfile.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