DESCR

bftpd is a FTP server that tries to be very configurable while being fast and
small. Its features include:
* Easy configuration.
* Speed.
* Support for most RFC FTP commands.
* tar.gz on-the-fly compression/archiving.
* Security with chroot without special setup.
* No need for extra files (sh, ls..) in a chroot environment.
* Logging to wtmp and to logfile or syslog.
* PAM and passwd/shadow support.
* Support for SITE CHOWN/CHMOD.

INSTALL

# $NetBSD: INSTALL,v 1.1 2008/07/10 15:52:03 joerg Exp $

case ${STAGE} in
POST-INSTALL)
@MKDIR@ @VARBASE@/log
@TOUCH@ @VARBASE@/log/bftpd.log
@MKDIR@ @VARBASE@/run/bftpd
;;
esac

Makefile

# $NetBSD: Makefile,v 1.12 2010/06/04 04:30:45 obache Exp $
#

DISTNAME= bftpd-2.9
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bftpd/}

MAINTAINER= virtus@wanadoo.nl
HOMEPAGE= http://bftpd.sourceforge.net/
COMMENT= Small and fast FTP server
LICENSE= gnu-gpl-v2

PKG_DESTDIR_SUPPORT= user-destdir

GNU_CONFIGURE= YES
WRKSRC= ${WRKDIR}/bftpd

CONF_FILES= ${PREFIX}/share/examples/bftpd/bftpd.conf \
${PKG_SYSCONFDIR}/bftpd.conf

SUBST_CLASSES+= varbase
SUBST_STAGE.varbase= post-configure
SUBST_FILES.varbase= bftpd.conf
SUBST_SED.varbase= -e 's|/var/|${VARBASE}/|g'

SUBST_CLASSES+= sysconf
SUBST_STAGE.sysconf= post-configure
SUBST_FILES.sysconf= mypaths.h bftpd.8
SUBST_SED.sysconf= -e 's|/etc/|${PKG_SYSCONFDIR}/|g'

INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 share/examples/bftpd

BUILD_DEFS+= VARBASE

.include "../../mk/bsd.pkg.mk"

PLIST

@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:09:22 joerg Exp $
man/man8/bftpd.8
sbin/bftpd
share/examples/bftpd/bftpd.conf

distinfo

$NetBSD: distinfo,v 1.6 2010/06/04 04:30:45 obache Exp $

SHA1 (bftpd-2.9.tar.gz) = 92c7130419e7bf3898d2be9f59cc93133e6de939
RMD160 (bftpd-2.9.tar.gz) = 27d61d8cc63a815c97d53242c9d9d0cc32939c62
Size (bftpd-2.9.tar.gz) = 139639 bytes
SHA1 (patch-aa) = a7dfb17cbfc203f497a98abacec4a60ea987cffd
SHA1 (patch-ac) = 8e50b2abd98f65ee9421d3f225812f25af8bd438