803c82f337
requested by <martin> Changes: 20061217: ========= - Portability fix: provide a replacement daemon(3) if necessary. 20061204: ========= - Fix buffer overflow in local version of glob(3). (already fixed in pkgsrc) - Implement -D to run as a stand-alone daemon. - Add ftpd.conf(5) options: hidesymlinks recvbufsize - Enforce account expiration, and support shadow password aging where appropriate. - Return 450 instead of 550 upon NLST error. - Portability fixes and improvements.
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2007/03/01 14:01:21 salo Exp $
|
|
#
|
|
|
|
DISTNAME= tnftpd-20061217
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp/
|
|
|
|
MAINTAINER= lukem@NetBSD.org
|
|
COMMENT= The NetBSD FTP Daemon
|
|
|
|
CONFLICTS= wu-ftpd-[0-9]*
|
|
CONFLICTS+= kth-krb4-[0-9]*
|
|
CONFLICTS+= lukemftpd-[0-9]*
|
|
|
|
GNU_CONFIGURE= YES
|
|
MANCOMPRESSED_IF_MANZ= YES
|
|
USE_TOOLS+= yacc
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
CONF_FILES+= ${EXAMPLEDIR}/ftpd.conf ${PKG_SYSCONFDIR}/ftpd.conf
|
|
CONF_FILES+= ${EXAMPLEDIR}/ftpusers ${PKG_SYSCONFDIR}/ftpusers
|
|
|
|
.include "options.mk"
|
|
|
|
OPSYSVARS+= MAKE_ENV
|
|
MAKE_ENV.SunOS+= CPPFLAGS=""
|
|
|
|
EXAMPLEDIR= ${PREFIX}/share/examples/tnftpd
|
|
INSTALLATION_DIRS= libexec ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/tnftpd ${PREFIX}/libexec
|
|
${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.5 ${PREFIX}/${PKGMANDIR}/man5
|
|
${INSTALL_MAN} ${WRKSRC}/src/ftpusers.5 ${PREFIX}/${PKGMANDIR}/man5
|
|
${INSTALL_MAN} ${WRKSRC}/src/ftpd.8 ${PREFIX}/${PKGMANDIR}/man8
|
|
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/ftpd.conf ${EXAMPLEDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/ftpusers ${EXAMPLEDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|