Mail Archives: djgpp/2008/03/01/14:00:09
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
Message-Id: | <200803011858.m21Iwe4N003693@delorie.com>
|
X-Recipient: | djgpp-announce AT delorie DOT com
|
X-Authenticated: | #27081556
|
X-Provags-ID: | V01U2FsdGVkX19wSs4x0H5wnpSkR0CJ58GN9V1jmKAOW8jwYRJPCY
|
| V0nHCzbnQhsu1j
|
From: | Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
|
To: | djgpp-announce AT delorie DOT com
|
Subject: | ANNOUNCE: DJGPP port of mktemp 1.5 uploaded
|
Date: | Sat, 1 Mar 2008 18:26:25 +0100
|
X-Y-GMX-Trusted: | 0
|
This is a port of mktemp 1.5 to MSDOS/DJGPP.
Mktemp is a simple utility designed to make temporary file handling
in shells scripts be safe and simple. It is compatible with the one
that comes with coreutils. Because a port of GNU coreutils is not
available but certain testsuites require a mktemp program to create
their temporary output files this tool has been ported.
DJGPP specific changes.
=======================
- The default template that is used to create the default filename
is choosen at runtime depending on if LFN support is available or not.
If LFN is available the default template "tmp.XXXXXXXXXX" will be used,
if not then the shorter template "tpXXXXXX" will be used. It should
be noticed that the program generates it own pattern for the default
filename and do not use neither the mkstemp() nor mktemp() functions
of libc and their use is not supported.
- The tool can handle slash and backslash as dir separator.
- To determinate which default directory shall be used to store the
file the environment variables TMPDIR, TMP and TEMP are evaluated
in that order. If one of the environment varaiables is set, it will
be checked that the directory contained therein can really be accessed.
If not possible the current working dir will be used as temporary
filename prefix.
- Becuase the code requires lstat(), there will be no version compiled
with djdev203.
- To build the package you will need LFN support. I do not see any reason
to waist my time trying to make the sources 8.3 clean.
Please *read* the docs and man pages to become familiar with the program
options.
As usual all changes I have done to the sources are documented in the
/djgpp/diffs file.
If you want to recompile the source package proceed as follow:
- configuration
Cd into the top srcdir /mktemp-1.5 and run the command:
sh ./configure
- compilation
Start make like this:
make
- installation
Start make like this:
make install prefix=/some/dir
The prefix is optional. If no prefix is given the products are
installed in /dev/env/DJDIR
The port consists of two packages that can be downloaded from
ftp.delorie.com and mirrors as (timestamp 2008-02-29):
Mktemp 1.5 binary and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/mktmp15b.zip
Mktemp 1.5 source:
ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/mktmp15s.zip
Send mktemp specific bug reports to <http://www.mktemp.org/bugs/>.
Send suggestions and bug reports concerning the DJGPP port
to comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
If you are not sure if the failure is really a mktemp failure
or a djgpp specific failure, report it here and *not* to
<http://www.mktemp.org/bugs/>. The author is not aware of
what I have done.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT gmx DOT de>
- Raw text -