BSD Notes
From DrFTPD
Contents |
BSD Notes
When installing on various flavors of BSD, there are a few small things that must be done differently.
All BSD
For all versions of BSD, the /etc/fstab file must be copied to /etc/mtab, irrelevant lines should be removed (i.e. those containing drives/mounts that are not going to be used by drftpd).
OpenBSD
The latest wrapper, compiled for OpenBSD 4.0 is available here. (thanks dom)
http://drftpd.ultrapresence.net/wrapper.openbsd4.0
In order for OpenBSD to properly read your remaining disk space, you will also need the recompiled filesystem.so (see below) (thanks dom)
You may need to add the full path to the java application, the line in both wrapper-master.conf and wrapper-slave.conf might read:
wrapper.java.command=/usr/local/jdk-1.5.0/bin/java
Add this line under that one in both wrapper-master.conf and wrapper-slave.conf:
wrapper.working.dir=../
You will also need to replace libFileSystem.so and libwrapper.so (both are located in the /lib directory of the drftpd installation) with the two contained within this tar:
http://drftpd.ultrapresence.net/openbsd.41.lib.files.tgz
Todo so, simply download the tar to your lib directory and untar (i.e. wget http://drftpd.ultrapresence.net/openbsd.41.lib.files.tgz; tar -zxvf openbsd.41.lib.files.tgz)
FreeBSD
FreeBSD 5.x Wrapper -> http://drftpd.ultrapresence.net/wrapper.fbsd.5.4
FreeBSD 6.x Wrapper -> http://drftpd.ultrapresence.net/wrapper.fbsd.6.2
