peter 323d6cf640 * use -O2 for 2.1.1 compilers %!s(int64=19) %!d(string=hai) anos
..
Makefile 323d6cf640 * use -O2 for 2.1.1 compilers %!s(int64=19) %!d(string=hai) anos
Makefile.fpc 5e01930edc + Added uuid package %!s(int64=20) %!d(string=hai) anos
README 4ace790492 * remove $Log %!s(int64=20) %!d(string=hai) anos
fpmake.inc ec05423779 + Initial implementation %!s(int64=20) %!d(string=hai) anos
fpmake.pp ec05423779 + Initial implementation %!s(int64=20) %!d(string=hai) anos
libuuid.pp 4ace790492 * remove $Log %!s(int64=20) %!d(string=hai) anos
testlibuid.pp 4ace790492 * remove $Log %!s(int64=20) %!d(string=hai) anos
testuid.pp 4ace790492 * remove $Log %!s(int64=20) %!d(string=hai) anos
uuid.pp 4ace790492 * remove $Log %!s(int64=20) %!d(string=hai) anos

README

This package contains 2 units

uuid:

creates a GUID based on the MAC address and Time on a linux machine.
The implementation is 100% native object pascal code.

Libuuid:
creates a GUID based on the MAC address and Time on a linux machine.
The implementation uses the libuuid.so.1 library, which should
be present on most linux systems. The library is loaded dynamically.

Both units set the OnCreateGUID event handler of SysUtils.

The test programs show the usage, tested on SuSE 9.2.

Enjoy,

Michael.