Skip site navigation (1)Skip section navigation (2)
Date:      18 Oct 2000 13:14:28 -0000
From:      Peter Pentchev <roam@orbitel.bg>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22081: new port: net/tcpcat
Message-ID:  <20001018131428.80833.qmail@ringwraith.office1>

next in thread | raw e-mail | index | archive | help

>Number:         22081
>Category:       ports
>Synopsis:       new port: net/tcpcat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 18 06:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Peter Pentchev <roam@orbitel.bg>
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
Orbitel JSCo.
>Environment:

current ports tree

>Description:

A simple utility for sending/receiving data over a TCP or a Unix-domain socket

>How-To-Repeat:

N/A

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	tcpcat
#	tcpcat/Makefile
#	tcpcat/distinfo
#	tcpcat/pkg-comment
#	tcpcat/pkg-descr
#	tcpcat/pkg-plist
#
echo c - tcpcat
mkdir -p tcpcat > /dev/null 2>&1
echo x - tcpcat/Makefile
sed 's/^X//' >tcpcat/Makefile << 'END-of-tcpcat/Makefile'
X# New ports collection makefile for:	tcpcat
X# Date created:		18 October 2000
X# Whom:			roam@orbitel.bg
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tcpcat
XPORTVERSION=	1.0.1
XCATEGORIES=	net
XMASTER_SITES=	http://www.gusnet.cx/proj/tcpcat/
X
XMAINTAINER=	roam@orbitel.bg
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
X
X.include <bsd.port.mk>
END-of-tcpcat/Makefile
echo x - tcpcat/distinfo
sed 's/^X//' >tcpcat/distinfo << 'END-of-tcpcat/distinfo'
XMD5 (tcpcat-1.0.1.tar.gz) = 298a6cfa559b3e13ca87fa13fbd8af28
END-of-tcpcat/distinfo
echo x - tcpcat/pkg-comment
sed 's/^X//' >tcpcat/pkg-comment << 'END-of-tcpcat/pkg-comment'
XA simple utility for sending/receiving data over a TCP or a Unix-domain socket
END-of-tcpcat/pkg-comment
echo x - tcpcat/pkg-descr
sed 's/^X//' >tcpcat/pkg-descr << 'END-of-tcpcat/pkg-descr'
XFrom the tcpcat README:
X
XTcpcat is a simple program that is like `cat' but it works over tcp streams
Xto allow you to cat from one host to another.
X
XThe host common way to use this program whould be something like this:
Xon host a: $ tcpcat -l 93255 | gzip -dc | tar xvf -
Xon host b: $ tcpcat -h hosta:93255  file.tar.gz
X
XAnother good use for this program is debugging network stuff. When debugging
Xa newtork client or server you can pipe the output of tcpcat to a hex dump
X(I recomend xxd which comes with vim). Also it can act as a crude telnet server
Xwhen invoded with --listen, --input, and --output, this mode is quite useful
Xfor network program debugging as well.
X
XAuthor:		Angus Mackay <amackay@gusnet.cx>
XWWW:		http://www.gusnet.cx/proj/tcpcat/
END-of-tcpcat/pkg-descr
echo x - tcpcat/pkg-plist
sed 's/^X//' >tcpcat/pkg-plist << 'END-of-tcpcat/pkg-plist'
Xbin/tcpcat
END-of-tcpcat/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001018131428.80833.qmail>