| 1 | |
|---|
| 2 | Copyright (c) 1999,2000 WU-FTPD Development Group. |
|---|
| 3 | All rights reserved. |
|---|
| 4 | |
|---|
| 5 | Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994 |
|---|
| 6 | The Regents of the University of California. |
|---|
| 7 | Portions Copyright (c) 1993, 1994 Washington University in Saint Louis. |
|---|
| 8 | Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc. |
|---|
| 9 | Portions Copyright (c) 1989 Massachusetts Institute of Technology. |
|---|
| 10 | Portions Copyright (c) 1998 Sendmail, Inc. |
|---|
| 11 | Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman. |
|---|
| 12 | Portions Copyright (c) 1997 by Stan Barber. |
|---|
| 13 | Portions Copyright (c) 1997 by Kent Landfield. |
|---|
| 14 | Portions Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997 |
|---|
| 15 | Free Software Foundation, Inc. |
|---|
| 16 | |
|---|
| 17 | Use and distribution of this software and its source code are governed |
|---|
| 18 | by the terms and conditions of the WU-FTPD Software License ("LICENSE"). |
|---|
| 19 | |
|---|
| 20 | If you did not receive a copy of the license, it may be obtained online |
|---|
| 21 | at http://www.wu-ftpd.org/license.html. |
|---|
| 22 | |
|---|
| 23 | $Id: INSTALL,v 1.9 2000/07/01 17:42:15 wuftpd Exp $ |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | IMPORTANT NOTICE |
|---|
| 28 | |
|---|
| 29 | Beginning with version 2.6.0, the WU-FTPD Development Group is moving the build |
|---|
| 30 | process to use GNU Autoconf. Until this move is completed, both build systems |
|---|
| 31 | will remain supported. You are encouraged to use the new 'configure' command |
|---|
| 32 | to select options, then 'make' to compile the daemon. See the file |
|---|
| 33 | README.AUTOCONF for details. |
|---|
| 34 | If problems occur, please report them to the development group via email to |
|---|
| 35 | wuftpd-members@wu-ftpd.org We are soliciting feedback on the new configuration |
|---|
| 36 | process, and your help is greatly appreciated. |
|---|
| 37 | |
|---|
| 38 | If you choose to continue to use the process described below, bear in mind it |
|---|
| 39 | will be phased out over then next few releases: when he are reasonably sure the |
|---|
| 40 | new configuration system works for most target platforms. |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | INSTALLATION INSTRUCTIONS as of $Date: 2000/07/01 17:42:15 $ |
|---|
| 45 | |
|---|
| 46 | 1a. Type "./build xxx" in the root of the source tree. Note that you can |
|---|
| 47 | specify an alternate C compiler by entering "./build CC=yyy xxx" where |
|---|
| 48 | yyy is the command that would replace "cc" to start the alternate compiler. |
|---|
| 49 | [For "gcc", the command sould be "./build CC=gcc xxx".] |
|---|
| 50 | |
|---|
| 51 | In the build command line, xxx may be one of the following: |
|---|
| 52 | gen : generic make (copy this when porting to a new system) |
|---|
| 53 | aix : IBM AIX |
|---|
| 54 | aux : AU/X |
|---|
| 55 | bdi : BSD/OS |
|---|
| 56 | bsd : BSD |
|---|
| 57 | dec : DEC Unix 3.X |
|---|
| 58 | du4 : DEC Unix 4.X or later |
|---|
| 59 | dyn : Dynix |
|---|
| 60 | fbs : FreeBSD 2.0 or later |
|---|
| 61 | hiu : Hitachi Unix |
|---|
| 62 | hpx : HP-UX |
|---|
| 63 | lnx : Linux (tested on 2.0.30) |
|---|
| 64 | nbs : NetBSD 1.X |
|---|
| 65 | nx2 : NeXTstep 2.x |
|---|
| 66 | nx3 : NeXTstep 3.x |
|---|
| 67 | osf : OSF/1 |
|---|
| 68 | osx : Mac OS X |
|---|
| 69 | ptx : ??? |
|---|
| 70 | sco : SCO Unix 3.2v4.2/SCO OpenServer 5 |
|---|
| 71 | sgi : SGI Irix 4.0.5a |
|---|
| 72 | sny : Sony NewsOS |
|---|
| 73 | sol : SunOS 5.x / Solaris 2.x |
|---|
| 74 | s41 : SunOS 4.1.x |
|---|
| 75 | ult : Ultrix 4.x |
|---|
| 76 | uxw : UnixWare 1.1 or later |
|---|
| 77 | clean : Clean up object files and such to reduce disk space after building. |
|---|
| 78 | install: Install ftpd |
|---|
| 79 | |
|---|
| 80 | 1b. If your system is not defined above... |
|---|
| 81 | cp src/config/config.gen src/config/config.xxx |
|---|
| 82 | cp src/makefiles/Makefile.gen src/makefiles/Makefile.xxx |
|---|
| 83 | cp support/makefiles/Makefile.gen support/makefiles/Makefile.xxx |
|---|
| 84 | |
|---|
| 85 | Edit the three files appropriately. Go back to step 1a. This is not |
|---|
| 86 | trivial. You may want to join the mailing list and ask for help. |
|---|
| 87 | |
|---|
| 88 | [Be sure to send those changes to wuftpd-questions@wu-ftpd.org] |
|---|
| 89 | |
|---|
| 90 | 2. If you are upgrading to a new version of wu-ftpd, you should save copies |
|---|
| 91 | of all your old configuration files. If you don't, they will be replaced |
|---|
| 92 | by new sample ones from this distribution when you do the installation |
|---|
| 93 | step. |
|---|
| 94 | |
|---|
| 95 | If you're going to use the samples as a base (most people do, at least |
|---|
| 96 | initially) be sure to edit them to fit your site. |
|---|
| 97 | |
|---|
| 98 | 3. Type "./build install" as the super-user. |
|---|
| 99 | |
|---|
| 100 | 4. Edit the "/etc/inetd.conf" file to point to the new ftpd. In most cases, |
|---|
| 101 | this step will not be necessary as the install step should have placed |
|---|
| 102 | the new softare in the same location as the old version. If you intend |
|---|
| 103 | to actually make use of the extended features of this server, you will |
|---|
| 104 | need to insure that the server is started with the "-a" option. Usually, |
|---|
| 105 | this means that you will need to add a "-a" (without the quotes) to the |
|---|
| 106 | end of the line in /etc/inetd.conf that starts the server. For operating |
|---|
| 107 | systems that don't use /etc/inetd.conf, you will need to read your OS |
|---|
| 108 | documentation to find out how to do this. By default, the server acts |
|---|
| 109 | like a regular ftp server (one without enhancements). |
|---|
| 110 | |
|---|
| 111 | 5. On BSD-like sytems, type "kill -1 `ps t"?" | grep inetd`" |
|---|
| 112 | On SGI systems, type "/etc/killall -HUP inetd" |
|---|
| 113 | On AIX systems, type "refresh -s inetd" |
|---|
| 114 | |
|---|
| 115 | 6. For the server to support creation of .tar.Z files of directories, you |
|---|
| 116 | need GNU tar installed [remember to put a copy in the anonymous ftp |
|---|
| 117 | hierarchy]. If you need a copy, it is available from the host |
|---|
| 118 | prep.ai.mit.edu in the /pub/gnu directory. |
|---|
| 119 | |
|---|
| 120 | 7. Copy the compress program to ~ftp/bin/compress. Copy the ls program to |
|---|
| 121 | ~ftp/bin/ls. If your operating system uses shared libraries and these |
|---|
| 122 | programs are not statically linked, you will need to duplicate the |
|---|
| 123 | relevant shared libaries in the correct place. |
|---|
| 124 | |
|---|
| 125 | 8. Use the ckconfig program created when you did the first step to find out |
|---|
| 126 | where to put the various configuration files for ftpd: ftpconversions, |
|---|
| 127 | ftpusers, and ftpgroups. There are examples of these files in the |
|---|
| 128 | doc/examples directory. ckconfig is in the bin directory. Be sure to |
|---|
| 129 | fix any other problems ckconfig reports |
|---|
| 130 | |
|---|
| 131 | 9. Put any executables that you want anonymous users to be able to run in |
|---|
| 132 | _SITE_EXEC. Be careful what you put here. |
|---|
| 133 | |
|---|
| 134 | 10. Rerun bin/ckconfig to make sure that all the support files are |
|---|
| 135 | properly installed. |
|---|
| 136 | |
|---|
| 137 | $Id: INSTALL,v 1.9 2000/07/01 17:42:15 wuftpd Exp $ |
|---|
| 138 | |
|---|