           SPELL=mktemp
         VERSION=1.5
          SOURCE=$SPELL-$VERSION.tar.gz
     SOURCE_HASH=sha512:f013adc685efddc343f6e63aee153f10b4c9a7dc78251e801930a5e8b670d4a4c87d6a06ef9f62678e0a7d1c19fe3e7b2514f64fc4abfd74767a2453d3c69082
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
   SOURCE_URL[0]=ftp://ftp.mktemp.org/pub/mktemp/$SOURCE
   SOURCE_URL[0]=ftp://ftp.courtesan.com/pub/mktemp/$SOURCE
   SOURCE_URL[0]=http://www.courtesan.com/mktemp/dist/$SOURCE
        WEB_SITE=http://www.mktemp.org/
         ENTERED=20020214
         LICENSE=BSD
        KEYWORDS="utils"
           SHORT="Utility for temporary file handling in shells scripts"
cat << EOF
What/why is mktemp?
===================
Mktemp is a simple utility designed to make temporary file handling
in shells scripts be safe and simple.  Traditionally, people writing
shell scripts have used constructs like:

    TFILE=/tmp/foop.$$

which are trivial to attack.  If such a script is run as root it may
be possible for an attacker on the local host to gain access to the
root login, corrupt or unlink system files, or do a variety of other
nasty things.

The basic problem is that most shells have no equivalent to open(2)'s
O_EXCL flag.  While it is possible to avoid this using temporary
directories, I consider the use of mktemp(1) to be superior both in terms
of simplicity and robustness.  See the man page for more information.
EOF
