# $Id$

PortSystem 1.0

name			oftpd
version			0.3.7
revision		2
categories		net
license			BSD
platforms		darwin
maintainers		nomaintainer
homepage		http://www.time-travellers.org/oftpd/
description		Secure anonymous FTP server

long_description	oftpd is designed to be as secure as an anonymous FTP server \
			can possibly be. It runs as non-root for most of the time, and \
			uses the Unix chroot() command to hide most of the systems \
			directories from external users - they cannot chane into them \
			even if the server is totally compromised! It contains it's own \
			directory change code, so that it can run efficiently as a \
			threaded server, and it's own directory listing code (many \
			FTP servers execute the system 'ls' command to list files). \
			It is currently being code-reviewed for buffer overflows, and \
			being load-tested.

master_sites		${homepage}

checksums		md5 1a396ad12584c7efe3a0e712dadf28be

configure.args		--mandir=${prefix}/share/man \
			--infodir=${prefix}/share/info \
			--sysconfdir=${prefix}/etc

destroot.destdir	prefix=${destroot}${prefix} \
			mandir=${destroot}${prefix}/share/man

post-destroot {		file mkdir ${destroot}${prefix}/share/doc/${name}
			xinstall -m 644 -v -W ${worksrcpath} \
				AUTHORS BUGS COPYING FAQ NEWS README TODO \
				${destroot}${prefix}/share/doc/${name}
			}