| 1 | README2: additional notes on compiling and installing ftpd.
 | 
|---|
| 2 | 
 | 
|---|
| 3 | Note that the Makefile install options will replace files in /usr/bin
 | 
|---|
| 4 | and /usr/man that were installed with the Minix distribution.  If you
 | 
|---|
| 5 | are not sure you want to do this you can either rename the original
 | 
|---|
| 6 | in.ftpd binary, the anonftp.* scripts, and the ftpd.8 man page to
 | 
|---|
| 7 | prevent them from being replaced, or you can edit the Makefile to
 | 
|---|
| 8 | change the directory values:
 | 
|---|
| 9 |   BINDIR= /usr/local/bin
 | 
|---|
| 10 |   MANDIR= /usr/local/man/man8
 | 
|---|
| 11 | ASW's practice is to rename binaries with a suffix that indicates the
 | 
|---|
| 12 | original distribution from which they were obtained, i.e., in.ftpd.203
 | 
|---|
| 13 | for the version distributed with Minix 2.0.3, or with a date code or a
 | 
|---|
| 14 | version number.
 | 
|---|
| 15 | 
 | 
|---|
| 16 | If you are sure you want to replace the original ftpd provided with your
 | 
|---|
| 17 | distribution you  may want to copy the contents of the unpacked tarball
 | 
|---|
| 18 | to the main directory tree, in this case /usr/src/commands/ftpd, so that
 | 
|---|
| 19 | a new version will be compiled if you do a general recompilation of all 
 | 
|---|
| 20 | commands using "make all" or "make compile" in /usr/src. ASW's practice
 | 
|---|
| 21 | is generally to make a directory in /usr/local/src for new versions of
 | 
|---|
| 22 | major programs. 
 | 
|---|
| 23 | Also note that if you create a new man page where one did not exist
 | 
|---|
| 24 | previously you will need to run makewhatis to rebuild the whatis
 | 
|---|
| 25 | database, i.e.:
 | 
|---|
| 26 |   makewhatis /usr/man
 | 
|---|
| 27 | or
 | 
|---|
| 28 |   makewhatis /usr/local/man
 | 
|---|
| 29 | 
 | 
|---|
| 30 | Important: the scripts for setting up and maintaining an anonymous ftp
 | 
|---|
| 31 | installation haven't been checked for a long time, I would appreciate 
 | 
|---|
| 32 | comments.
 | 
|---|
| 33 | 
 | 
|---|
| 34 | ASW 2005-02-06
 | 
|---|