mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
A little program to bounce tcp connections to another machine/port.
This commit is contained in:
parent
99a4b96b35
commit
d699d09cb6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15722
6 changed files with 55 additions and 0 deletions
31
net/bounce/Makefile
Normal file
31
net/bounce/Makefile
Normal file
|
@ -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 <bsd.port.mk>
|
1
net/bounce/distinfo
Normal file
1
net/bounce/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (bounce.c) = 9ec7c53022f4c6a0559c7bbcc08080f1
|
19
net/bounce/files/patch-01
Normal file
19
net/bounce/files/patch-01
Normal file
|
@ -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 <sys/ioctl.h>
|
||||
#include <signal.h>
|
||||
#include <sys/wait.h>
|
||||
+#include <unistd.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
|
||||
#define QLEN 5
|
||||
#define DEFAULT_PORT 1523
|
||||
|
||||
char sbuf[16384], cbuf[16384];
|
||||
-extern int errno;
|
||||
-extern char *sys_errlist[];
|
||||
|
||||
void sigchld() {
|
||||
signal(SIGCHLD, sigchld);
|
1
net/bounce/pkg-comment
Normal file
1
net/bounce/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
bounce tcp connections to another machine/port.
|
2
net/bounce/pkg-descr
Normal file
2
net/bounce/pkg-descr
Normal file
|
@ -0,0 +1,2 @@
|
|||
A little program to bounce tcp connections to another machine/port.
|
||||
By default it listens on port 1523.
|
1
net/bounce/pkg-plist
Normal file
1
net/bounce/pkg-plist
Normal file
|
@ -0,0 +1 @@
|
|||
libexec/bounce
|
Loading…
Add table
Reference in a new issue