1 | INTRODUCTION
|
---|
2 |
|
---|
3 | There's port of glibc DES crypt() routines to the CygWin32b18(gcc2.7.2),
|
---|
4 | particulary Ultra Fast Crypt by Michael Glad, email: [email protected].
|
---|
5 | See README.UFC for more info on it.
|
---|
6 | Also the crypt() function itself has hole to call MD5 based crypt
|
---|
7 | through special salt, but MD5 sources I have can't pass selftests.
|
---|
8 | Port has been made by Alexey Truhan, email: [email protected].
|
---|
9 | It is covered by the GNU library license version 2,
|
---|
10 | see the file 'COPYING.LIB'.
|
---|
11 | Port has been tested on SunOS5.5(gcc2.6.0) and Linux2.0.32(gcc.2. also.
|
---|
12 |
|
---|
13 | INSTALL
|
---|
14 |
|
---|
15 | First, compile the sources:
|
---|
16 | gcc -c -I. *.c
|
---|
17 | will work.
|
---|
18 | Than you may place .o files wherever you want, make them a library
|
---|
19 | (libcrypt.a/.so as for UNIX), do not forget placing headers in your INCLUDE
|
---|
20 | path.
|
---|
21 | That's all, folks.
|
---|
22 |
|
---|
23 | DETAILS
|
---|
24 |
|
---|
25 | This can be linked with GLibC MD5 library with no effort, I think.
|
---|
26 | I have not tested reentrant version - crypt_r(), it may have wrong name.
|
---|
27 |
|
---|
28 | The package consists of:
|
---|
29 | Files originally lived under sysdeps/unix in the
|
---|
30 | glibc-crypt-2.0.tgz which can be downloaded from any GNU site.
|
---|
31 | Unfortunatelly the sources seems to be stripped to compile good only is
|
---|
32 | a part of GNU LibC, so there're some minor changes. Now it works (tested
|
---|
33 | SunOS5.5, RedHat5.0, CygWin32b18) and produces identical results on all
|
---|
34 | the systems mentioned compiled with gcc 2.6.0 and higher.
|
---|
35 | Some headers from GLibC2.0 source tree, which are missing as
|
---|
36 | for CygWin, plus some missing macro definitions:
|
---|
37 | features.h
|
---|
38 | gnu/stubs.h
|
---|
39 | sys/cdefs.h
|
---|
40 | |
---|