First execute the following commands (replacing x.x.x by the version number you are installing):
tar xzf bftpd-x.x.x.tar.gz
cd bftpd-x.x.x
./configure
make
make install
Note that you have to copy bftpd.conf from the source directory to /etc manually if you are upgrading from a previous version, as 'make install' does not overwrite your existing configuration.
Note: If you want to use the 'tar.gz on-the-fly' feature of bftpd, you must grab the source code of the program "pax" and extract it into a subdirectory of the bftpd source directory. Then, instead of doing "./configure", do "./configure --enable-pax=pax-sourcedir --enable-libz". You must also have the library libz and its header file, /usr/include/zlib.h.
bftpd runs in either standalone or inetd mode.
Add the following to your /etc/inetd.conf:
ftp stream tcp nowait root /usr/sbin/bftpd bftpd
Give inetd a HUP or reboot your system. Your FTP server
should work now.
Add the following to your /etc/xinetd.conf:
service ftp
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/bftpd
log_on_success += HOST PID
log_on_failure += HOST
nice = 10
}
(contributed by JackRipper)
Make the OS execute
/usr/sbin/bftpd -d
at bootup.