From d699d09cb626c9c3988f98d0130f7f5415e06cdb Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 30 Dec 1998 04:31:42 +0000 Subject: A little program to bounce tcp connections to another machine/port. --- net/bounce/Makefile | 31 +++++++++++++++++++++++++++++++ net/bounce/distinfo | 1 + net/bounce/files/patch-01 | 19 +++++++++++++++++++ net/bounce/pkg-comment | 1 + net/bounce/pkg-descr | 2 ++ net/bounce/pkg-plist | 1 + 6 files changed, 55 insertions(+) create mode 100644 net/bounce/Makefile create mode 100644 net/bounce/distinfo create mode 100644 net/bounce/files/patch-01 create mode 100644 net/bounce/pkg-comment create mode 100644 net/bounce/pkg-descr create mode 100644 net/bounce/pkg-plist (limited to 'net/bounce') diff --git a/net/bounce/Makefile b/net/bounce/Makefile new file mode 100644 index 000000000000..1cf3b71fdf91 --- /dev/null +++ b/net/bounce/Makefile @@ -0,0 +1,31 @@ +# ex:ts=8 +# Ports collection makefile for: bounce +# Version required: 1.0 +# 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= bounce +PKGNAME= bounce-1.0 +CATEGORIES= net security +MASTER_SITES= http://www.eleves.ens.fr:8080/home/espel/ \ + http://www.freebsd.org/~obrien/Distfiles/ +DISTFILES= ${DISTNAME}.c + +MAINTAINER= obrien@FreeBSD.org + +NO_WRKSUBDIR= yes + +do-extract: + @${MKDIR} ${WRKDIR} + @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR} + +do-build: + (cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${DISTNAME} ${DISTNAME}.c) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/libexec + +.include diff --git a/net/bounce/distinfo b/net/bounce/distinfo new file mode 100644 index 000000000000..6a9b025b983f --- /dev/null +++ b/net/bounce/distinfo @@ -0,0 +1 @@ +MD5 (bounce.c) = 9ec7c53022f4c6a0559c7bbcc08080f1 diff --git a/net/bounce/files/patch-01 b/net/bounce/files/patch-01 new file mode 100644 index 000000000000..adf91f3d6676 --- /dev/null +++ b/net/bounce/files/patch-01 @@ -0,0 +1,19 @@ +--- bounce.c.orig Sun Sep 20 15:44:41 1998 ++++ bounce.c Sun Sep 20 15:46:04 1998 +@@ -20,13 +20,14 @@ + #include + #include + #include ++#include ++#include ++#include + + #define QLEN 5 + #define DEFAULT_PORT 1523 + + char sbuf[16384], cbuf[16384]; +-extern int errno; +-extern char *sys_errlist[]; + + void sigchld() { + signal(SIGCHLD, sigchld); diff --git a/net/bounce/pkg-comment b/net/bounce/pkg-comment new file mode 100644 index 000000000000..4d89c6d0d4cb --- /dev/null +++ b/net/bounce/pkg-comment @@ -0,0 +1 @@ +bounce tcp connections to another machine/port. diff --git a/net/bounce/pkg-descr b/net/bounce/pkg-descr new file mode 100644 index 000000000000..55d2d57511ee --- /dev/null +++ b/net/bounce/pkg-descr @@ -0,0 +1,2 @@ +A little program to bounce tcp connections to another machine/port. +By default it listens on port 1523. diff --git a/net/bounce/pkg-plist b/net/bounce/pkg-plist new file mode 100644 index 000000000000..68d9ef75895b --- /dev/null +++ b/net/bounce/pkg-plist @@ -0,0 +1 @@ +libexec/bounce -- cgit v1.2.3