Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2003 12:06:59 +0100 (CET)
From:      "Michael L.Hostbaek" <mich@freebsdcluster.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47667: New port: net/unix2tcp
Message-ID:  <20030130110659.08662F2@icommerce-france.com>

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

>Number:         47667
>Category:       ports
>Synopsis:       New port: net/unix2tcp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 30 03:10:09 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Michael L. Hostbaek
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
FreeBSDCluster.org
>Environment:
System: FreeBSD current.itxmarket.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Jan 21 14:14:37 CET 2003 root@current.itxmarket.com:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	A connection forwarder that converts Unix sockets into TCP sockets.
	Compiles on both 4.x and -CURRENT
>How-To-Repeat:
>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:
#
#	unix2tcp
#	unix2tcp/Makefile
#	unix2tcp/distinfo
#	unix2tcp/pkg-comment
#	unix2tcp/pkg-descr
#	unix2tcp/pkg-plist
#
echo c - unix2tcp
mkdir -p unix2tcp > /dev/null 2>&1
echo x - unix2tcp/Makefile
sed 's/^X//' >unix2tcp/Makefile << 'END-of-unix2tcp/Makefile'
X# ex:ts=8
X# Ports collection makefile for:  unix2tcp
X# Date created:                Thu Jan 30, 2003
X# Whom:                        Michael L. Hostbaek (mich@freebsdcluster.org)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	unix2tcp
XPORTVERSION=	0.7.2
XCATEGORIES=	net
XMASTER_SITES=	http://ahriman.bucharest.roedu.net/unix2tcp/
X
XMAINTAINER=	mich@freebsdcluster.org
X
Xdo-build:
X	cd ${WRKSRC} && \
X	${CC} -I. ${PORTNAME}.c -c &&\
X	${CC} -I. list.c -c && \
X	${CC} ${PORTNAME}.o list.o -o ${PORTNAME}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
X.endif
X
X.include <bsd.port.mk>
END-of-unix2tcp/Makefile
echo x - unix2tcp/distinfo
sed 's/^X//' >unix2tcp/distinfo << 'END-of-unix2tcp/distinfo'
XMD5 (unix2tcp-0.7.2.tar.gz) = d0d08bdb9e6059866e6886c8588640e6
END-of-unix2tcp/distinfo
echo x - unix2tcp/pkg-comment
sed 's/^X//' >unix2tcp/pkg-comment << 'END-of-unix2tcp/pkg-comment'
XA connection forwarder that converts Unix sockets into TCP sockets
END-of-unix2tcp/pkg-comment
echo x - unix2tcp/pkg-descr
sed 's/^X//' >unix2tcp/pkg-descr << 'END-of-unix2tcp/pkg-descr'
XAims:
X- To listen on a local UNIX socket and tunnel any incoming connections and 
X  traffic to a (remote) IP address/port
X
XWhat it does:
X- Tunnels all traffic betweeb a (remote) address/port and a local UNIX socket
X- Does NOT use fork() (single process model)
X- Does use O_NONBLOCK , should be no case of blocking
X
XWhat it doesnt do (yet):
X- Doesnt limit number of concurent connections
X
XWWW:		http://ahriman.bucharest.roedu.net/unix2tcp/
XAUTHOR:		<dizzy@roedu.net>
X
X       - Michael L. Hostbaek
X       mich@freebsdcluster.org
END-of-unix2tcp/pkg-descr
echo x - unix2tcp/pkg-plist
sed 's/^X//' >unix2tcp/pkg-plist << 'END-of-unix2tcp/pkg-plist'
Xsbin/unix2tcp
X%%PORTDOCS%%share/doc/unix2tcp/README
X%%PORTDOCS%%@dirrm /share/doc/unix2tcp
END-of-unix2tcp/pkg-plist
exit


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

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




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