Chapter 11. wzdftpd FreeBSD notes

If you are a FreeBSD user, you can install wzdftpd using FreeBSD Port Collection. You need port tree dated 2003-10-22 or more recent. If you have an old port tree, please update it, you can find instructions how to do it in FreeBSD Handbook.

To install wzdftpd use the following commands:


    $ cd /usr/ports/ftp/wzdftpd
    # make
    # make install
    # make clean
To compile wzdftpd with SSL support, use WITH_SSL knob. To compile wzdftpd with IPv6 support, use WITH_IPV6 knob. To compile wzdftpd with UTF8 support, use WITH_UTF8 knob. To compile wzdftpd with TCL module, use WITH_TCL knob. Of course, you can use this keys together (i.e. make -DWITH_TCL -DWITH_SSL). To compile in all supported features you can just use PACKAGE_BUILDING knob. That's all, wzdftpd is installed on your machine. Sample config files are: PREFIX/etc/wzd.cfg.sample and PREFIX/etc/users.sample (PREFIX usually is '/usr/local/'). For quick start,

	# cp wzd.cfg.sample wzd.cfg
and

	# cp users.sample users
Note that if you're using wzdftpd port >=0.5.0, sample config files will be copied automaticly. To deinstall wzdftpd use

	$ cd /usr/ports/ftp/wzdftpd
	# make deinstall
If you want wzdftpd to start on every system boot, add

wzdftpd_enable="YES"
to /etc/rc.conf or /etc/rc.conf.local (you need to have wzdftpd-0.3.2_1 or newer installed).

Binary packages are also available, you can find them here. To install package you should use pkg_add(1). Package can be removed using pkg_delete(1).

Additional info about FreeBSD ports and packages can be found in FreeBSD Handbook, chapter Installing Applications: Packages and Ports.