mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
New port: net/unix2tcp
A connection forwarder that converts Unix sockets into TCP sockets. Compiles on both 4.x and -CURRENT PR: ports/47667 Submitted by: Michael L. Hostbaek <mich@freebsdcluster.org>
This commit is contained in:
parent
8eb3d1a370
commit
b2bc002097
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75357
@ -621,6 +621,7 @@
|
||||
SUBDIR += tvark
|
||||
SUBDIR += udptunnel
|
||||
SUBDIR += unison
|
||||
SUBDIR += unix2tcp
|
||||
SUBDIR += urlendec
|
||||
SUBDIR += utftpd
|
||||
SUBDIR += v6eval
|
||||
|
31
net/unix2tcp/Makefile
Normal file
31
net/unix2tcp/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: unix2tcp
|
||||
# Date created: Thu Jan 30, 2003
|
||||
# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= unix2tcp
|
||||
PORTVERSION= 0.7.2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://ahriman.bucharest.roedu.net/unix2tcp/
|
||||
|
||||
MAINTAINER= mich@freebsdcluster.org
|
||||
COMMENT= A connection forwarder that converts Unix sockets into TCP sockets
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && \
|
||||
${CC} -I. ${PORTNAME}.c -c &&\
|
||||
${CC} -I. list.c -c && \
|
||||
${CC} ${PORTNAME}.o list.o -o ${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/unix2tcp/distinfo
Normal file
1
net/unix2tcp/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (unix2tcp-0.7.2.tar.gz) = d0d08bdb9e6059866e6886c8588640e6
|
1
net/unix2tcp/pkg-comment
Normal file
1
net/unix2tcp/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A connection forwarder that converts Unix sockets into TCP sockets
|
17
net/unix2tcp/pkg-descr
Normal file
17
net/unix2tcp/pkg-descr
Normal file
@ -0,0 +1,17 @@
|
||||
Aims:
|
||||
- To listen on a local UNIX socket and tunnel any incoming connections and
|
||||
traffic to a (remote) IP address/port
|
||||
|
||||
What it does:
|
||||
- Tunnels all traffic betweeb a (remote) address/port and a local UNIX socket
|
||||
- Does NOT use fork() (single process model)
|
||||
- Does use O_NONBLOCK , should be no case of blocking
|
||||
|
||||
What it doesnt do (yet):
|
||||
- Doesnt limit number of concurent connections
|
||||
|
||||
WWW: http://ahriman.bucharest.roedu.net/unix2tcp/
|
||||
AUTHOR: <dizzy@roedu.net>
|
||||
|
||||
- Michael L. Hostbaek
|
||||
mich@freebsdcluster.org
|
3
net/unix2tcp/pkg-plist
Normal file
3
net/unix2tcp/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
sbin/unix2tcp
|
||||
%%PORTDOCS%%share/doc/unix2tcp/README
|
||||
%%PORTDOCS%%@dirrm /share/doc/unix2tcp
|
Loading…
Reference in New Issue
Block a user