diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-12-30 04:30:48 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-12-30 04:30:48 +0000 |
commit | 99a4b96b356a5b35b7c1b5c68f6ad12de164d879 (patch) | |
tree | 46988f5b949324a27d985ec202145d45ccc025cc /net/relay | |
parent | 9002cc6d80af0ff4cd36ad1473d487d10529dd16 (diff) | |
download | ports-99a4b96b356a5b35b7c1b5c68f6ad12de164d879.tar.gz ports-99a4b96b356a5b35b7c1b5c68f6ad12de164d879.zip |
Notes
Diffstat (limited to 'net/relay')
-rw-r--r-- | net/relay/Makefile | 28 | ||||
-rw-r--r-- | net/relay/distinfo | 1 | ||||
-rw-r--r-- | net/relay/files/patch-01 | 13 | ||||
-rw-r--r-- | net/relay/files/patch-02 | 26 | ||||
-rw-r--r-- | net/relay/pkg-comment | 1 | ||||
-rw-r--r-- | net/relay/pkg-descr | 2 | ||||
-rw-r--r-- | net/relay/pkg-plist | 5 |
7 files changed, 76 insertions, 0 deletions
diff --git a/net/relay/Makefile b/net/relay/Makefile new file mode 100644 index 000000000000..d330669c0249 --- /dev/null +++ b/net/relay/Makefile @@ -0,0 +1,28 @@ +# ex:ts=8 +# Ports collection makefile for: relay +# Version required: 1.10 +# Date created: Mon Dec 23, 1998 +# Whom: David O'Brien (obrien@NUXI.com) +# +# $Id: Makefile,v 1.2 1997/01/25 18:08:40 obrien Exp $ +# + +DISTNAME= relay +PKGNAME= relay-1.10 +CATEGORIES= net security +MASTER_SITES= http://www.eleves.ens.fr:8080/home/espel/ \ + http://www.freebsd.org/~obrien/Distfiles/ + +MAINTAINER= obrien@FreeBSD.org + +IS_INTERACTIVE= 'must set server hostname in relay.h' + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/relay ${PREFIX}/libexec + @cd ${WRKSRC} ; ${INSTALL_PROGRAM} rtelnet rftp rfinger ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/relay + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/relay +.endif + +.include <bsd.port.mk> diff --git a/net/relay/distinfo b/net/relay/distinfo new file mode 100644 index 000000000000..ed83ae431cc9 --- /dev/null +++ b/net/relay/distinfo @@ -0,0 +1 @@ +MD5 (relay.tar.gz) = f0bddae0bc594b42a2a56d38305de7f9 diff --git a/net/relay/files/patch-01 b/net/relay/files/patch-01 new file mode 100644 index 000000000000..65d3db95aeac --- /dev/null +++ b/net/relay/files/patch-01 @@ -0,0 +1,13 @@ +--- relay.c.orig Fri Nov 10 21:18:37 1995 ++++ relay.c Sat Dec 26 12:29:01 1998 +@@ -51,8 +51,8 @@ + char sbuf[16384], cbuf[16384]; + struct hostent *myself; + char mynumber[100]; +-extern int errno; +-extern char *sys_errlist[]; ++/* extern int errno; ++extern char *sys_errlist[]; */ + int debug=0; + + void sigchld() { diff --git a/net/relay/files/patch-02 b/net/relay/files/patch-02 new file mode 100644 index 000000000000..41729e543362 --- /dev/null +++ b/net/relay/files/patch-02 @@ -0,0 +1,26 @@ +--- relay.h.orig Wed Oct 25 20:28:45 1995 ++++ relay.h Sat Dec 26 12:34:21 1998 +@@ -22,7 +22,7 @@ + by the clients + */ + +-#define FINGER "/usr/ucb/finger" ++#define FINGER "/usr/bin/finger" + /* change this to the name of the finger client on the relay, if it's + something else + */ +@@ -30,12 +30,12 @@ + #define SERV_TCP_PORT 19023 + /* change this if you don't like this number */ + +-#define TELNET "/usr/ucb/telnet" ++#define TELNET "/usr/bin/telnet" + /* change this to the name of the telnet client on the client machine if it's + something else + */ + +-#define FTP "/usr/local/bin/ftp" ++#define FTP "/usr/bin/ftp" + /* change this to the name of the ftp client on the client machine, if it's + something else + */ diff --git a/net/relay/pkg-comment b/net/relay/pkg-comment new file mode 100644 index 000000000000..ed9caa0135c6 --- /dev/null +++ b/net/relay/pkg-comment @@ -0,0 +1 @@ +very simple TCP proxy server + telnet,ftp,finger client rappers. diff --git a/net/relay/pkg-descr b/net/relay/pkg-descr new file mode 100644 index 000000000000..623d28e41c44 --- /dev/null +++ b/net/relay/pkg-descr @@ -0,0 +1,2 @@ +Relay is a very simple proxy that can be used for building simple firewalls. +telnet, ftp, and finger client rappers are provided. diff --git a/net/relay/pkg-plist b/net/relay/pkg-plist new file mode 100644 index 000000000000..def33ef18d51 --- /dev/null +++ b/net/relay/pkg-plist @@ -0,0 +1,5 @@ +bin/rtelnet +bin/rfinger +bin/rftp +libexec/relay +share/doc/relay/README |