summaryrefslogtreecommitdiff
path: root/net/ftpproxy
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2002-05-09 16:20:58 +0000
committertaca <taca@pkgsrc.org>2002-05-09 16:20:58 +0000
commit9960600a43fd2a589d5d37dc79bf70fbe8c57cc6 (patch)
treec4b3b005de8575d3fa07b3a8198b02be13c9d4ec /net/ftpproxy
parenta5e72daec6f29e3cfdcfa8d9123c9518803847ba (diff)
downloadpkgsrc-9960600a43fd2a589d5d37dc79bf70fbe8c57cc6.tar.gz
Importing ftpproxy 1.1.5 package.
ftp.proxy is a proxy server for a subset of the file tranfer protocol described in RFC 959. It forwards traffic between a client and a server without looking too much if both hosts do real FTP. The FTP server can be either given on the command line or supplied by the client. It starts from inetd(8).
Diffstat (limited to 'net/ftpproxy')
-rw-r--r--net/ftpproxy/DESCR5
-rw-r--r--net/ftpproxy/MESSAGE10
-rw-r--r--net/ftpproxy/Makefile34
-rw-r--r--net/ftpproxy/PLIST3
-rw-r--r--net/ftpproxy/distinfo5
-rw-r--r--net/ftpproxy/patches/patch-aa31
6 files changed, 88 insertions, 0 deletions
diff --git a/net/ftpproxy/DESCR b/net/ftpproxy/DESCR
new file mode 100644
index 00000000000..04267ab4067
--- /dev/null
+++ b/net/ftpproxy/DESCR
@@ -0,0 +1,5 @@
+ftp.proxy is a proxy server for a subset of the file tranfer protocol
+described in RFC 959. It forwards traffic between a client and a
+server without looking too much if both hosts do real FTP. The FTP
+server can be either given on the command line or supplied by the
+client.
diff --git a/net/ftpproxy/MESSAGE b/net/ftpproxy/MESSAGE
new file mode 100644
index 00000000000..1f16e271993
--- /dev/null
+++ b/net/ftpproxy/MESSAGE
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2002/05/09 16:20:58 taca Exp $
+
+Please install inetd.conf(5)'s entry like bellow.
+
+ ftp stream tcp nowait nobody ${LOCALBASE}/libexec/ftp.proxy ftp.proxy -e -l -m
+
+You may consider to select your own port other than standard ftp.
+
+===========================================================================
diff --git a/net/ftpproxy/Makefile b/net/ftpproxy/Makefile
new file mode 100644
index 00000000000..0284bb08b83
--- /dev/null
+++ b/net/ftpproxy/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/09 16:20:58 taca Exp $
+#
+
+DISTNAME= ftpproxy-1.1.5
+CATEGORIES= net
+MASTER_SITES= http://www.ftpproxy.org/download/ \
+ ftp://ftp.daemons.de/ \
+ http://www.ftpproxy.org/download/older_releases/ \
+ ftp://ftp.daemons.de/older_releases/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= package@netbsd.org
+HOMEPAGE= http://www.ftpproxy.org/
+COMMENT= application level gateway for FTP
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+NROFF?= nroff
+MANDOC?= -man
+.else
+NROFF?= nroff
+MANDOC?= -mandoc
+.endif
+
+post-build:
+ cd ${WRKSRC}/doc; ${NROFF} ${MANDOC} ftp.proxy.1 > ftp.proxy.cat8
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/ftp.proxy ${LOCALBASE}/libexec
+ ${INSTALL_MAN} ${WRKSRC}/doc/ftp.proxy.cat8 \
+ ${LOCALBASE}/man/cat8/ftp.proxy.8
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ftpproxy/PLIST b/net/ftpproxy/PLIST
new file mode 100644
index 00000000000..b15bc26a07a
--- /dev/null
+++ b/net/ftpproxy/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/09 16:20:58 taca Exp $
+libexec/ftp.proxy
+man/cat8/ftp.proxy.8
diff --git a/net/ftpproxy/distinfo b/net/ftpproxy/distinfo
new file mode 100644
index 00000000000..ff15d1ce355
--- /dev/null
+++ b/net/ftpproxy/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/09 16:20:58 taca Exp $
+
+SHA1 (ftpproxy-1.1.5.tgz) = 5796cdf8cc9965c37e4edd0efe4e3d9693cbbbb2
+Size (ftpproxy-1.1.5.tgz) = 148035 bytes
+SHA1 (patch-aa) = 7b2a27861266e230a982e47f6af9855b6ba95f39
diff --git a/net/ftpproxy/patches/patch-aa b/net/ftpproxy/patches/patch-aa
new file mode 100644
index 00000000000..4af8ecfd456
--- /dev/null
+++ b/net/ftpproxy/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/09 16:20:58 taca Exp $
+
+--- doc/ftp.proxy.1.orig Tue Feb 5 02:57:01 2002
++++ doc/ftp.proxy.1
+@@ -13,7 +13,7 @@
+ .in -0.5i
+ .sp
+ ..
+-.TH FTP.PROXY 1 "04 FEBRUARY 2002"
++.TH FTP.PROXY 8 "04 FEBRUARY 2002"
+ .SH NAME
+ ftp.proxy \- FTP proxy server
+ .SH SYNOPSIS
+@@ -29,7 +29,7 @@
+ .PP
+ .I ftp.proxy
+ must be started from a TCP superserver like
+-.IR inetd (1)
++.IR inetd (8)
+ or
+ .IR tcpproxy (1).
+ It can't bind to a TCP/IP port on it's own.
+@@ -254,7 +254,7 @@
+ .SH "AUTHOR"
+ Andreas Schoenberg <asg@ftpproxy.org>
+ .SH "SEE ALSO"
+-.IR inetd (1),
++.IR inetd (8),
+ .IR tcpproxy (1).
+ .IR syslogd (8).
+ .IR syslog.conf (5).