summaryrefslogtreecommitdiff
path: root/net/tnftpd
diff options
context:
space:
mode:
authorlukem <lukem@pkgsrc.org>2003-02-27 04:53:34 +0000
committerlukem <lukem@pkgsrc.org>2003-02-27 04:53:34 +0000
commitb883d5431c20e74e06179058adc6151c2076dff4 (patch)
tree8e38792b4be05b00346c3ffc448bdad0e34a0eaa /net/tnftpd
parent3067a8e66915cf71020005d29a1a24b201b605a0 (diff)
downloadpkgsrc-b883d5431c20e74e06179058adc6151c2076dff4.tar.gz
tnftpd - The NetBSD FTP Daemon. (replaces lukemftpd)
Diffstat (limited to 'net/tnftpd')
-rw-r--r--net/tnftpd/Makefile49
-rw-r--r--net/tnftpd/PLIST5
2 files changed, 54 insertions, 0 deletions
diff --git a/net/tnftpd/Makefile b/net/tnftpd/Makefile
new file mode 100644
index 00000000000..04aa3278901
--- /dev/null
+++ b/net/tnftpd/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/02/27 04:53:34 lukem Exp $
+#
+
+DISTNAME= tnftpd-2.0-beta3
+PKGNAME= tnftpd-2.0rc3
+SVR4_PKGNAME= tnftpd
+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
+
+.include "../../mk/bsd.prefs.mk"
+
+# Include SOCKS firewall support
+.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5)
+.if ${USE_SOCKS} == 4
+DEPENDS+= socks4-2.2:../../net/socks4
+CONFIGURE_ARGS+= --with-socks4
+.else
+DEPENDS+= socks5-1.0.2:../../net/socks5
+CONFIGURE_ARGS+= --with-socks5
+.endif
+.endif
+
+.if defined(USE_INET6) && ${USE_INET6} == YES
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= CPPFLAGS=""
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/tnftpd ${PREFIX}/libexec
+ ${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.5 ${PREFIX}/man/man5
+ ${INSTALL_MAN} ${WRKSRC}/src/ftpusers.5 ${PREFIX}/man/man5
+ ${INSTALL_MAN} ${WRKSRC}/src/ftpd.8 ${PREFIX}/man/man8
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/tnftpd/PLIST b/net/tnftpd/PLIST
new file mode 100644
index 00000000000..3ced7a0377f
--- /dev/null
+++ b/net/tnftpd/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/27 04:53:44 lukem Exp $
+libexec/tnftpd
+man/man5/ftpd.conf.5
+man/man5/ftpusers.5
+man/man8/ftpd.8