| 1 |
----------------------------------------------------------------------------- |
| 2 |
TJ Saunders <[email protected]> |
| 3 |
2002-01-03 |
| 4 |
----------------------------------------------------------------------------- |
| 5 |
|
| 6 |
To install mod_wrap, copy the mod_wrap.c file into |
| 7 |
|
| 8 |
<proftpd-dir>/contrib |
| 9 |
|
| 10 |
after unpacking the proftpd-1.2.5rc1 (or later) source code. Then run: |
| 11 |
|
| 12 |
./configure --with-modules=mod_wrap |
| 13 |
make |
| 14 |
make install |
| 15 |
|
| 16 |
Solaris system users will need to obtain and build the tcpwrappers library, as |
| 17 |
it does not come installed by default with Solaris. |
| 18 |
|
| 19 |
mod_wrap-1.2.2 and later will not build properly on FreeBSD-4.4, as they, in |
| 20 |
their wisdom, decided to put the NIS/YP functions in a library other than |
| 21 |
libnsl.a (which is where Solaris and Linux have those functions). This means |
| 22 |
that, when building proftpd with mod_wrap-1.2.2 (or later) on FreeBSD-4.4 |
| 23 |
(possibly earlier?) platforms will need to change this line in mod_wrap.c: |
| 24 |
|
| 25 |
* $Libraries: -lwrap -lnsl$ |
| 26 |
|
| 27 |
to be: |
| 28 |
|
| 29 |
* $Libraries: -lwrap$ |
| 30 |
|
| 31 |
---------------------------------------------------------------------------- |