summaryrefslogtreecommitdiffstats
path: root/net/unix2tcp
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-02-12 09:31:06 +0000
committeredwin <edwin@FreeBSD.org>2003-02-12 09:31:06 +0000
commitbad47b3f9c9c36ab3faa5f2317635c2cebcbb46a (patch)
tree32b278eeceb698f52637fb42ee61c50952ecc254 /net/unix2tcp
parentf55f3d2b443a514ddbfe824eddb8eec46a97a339 (diff)
downloadFreeBSD-ports-bad47b3f9c9c36ab3faa5f2317635c2cebcbb46a.zip
FreeBSD-ports-bad47b3f9c9c36ab3faa5f2317635c2cebcbb46a.tar.gz
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>
Diffstat (limited to 'net/unix2tcp')
-rw-r--r--net/unix2tcp/Makefile31
-rw-r--r--net/unix2tcp/distinfo1
-rw-r--r--net/unix2tcp/pkg-comment1
-rw-r--r--net/unix2tcp/pkg-descr17
-rw-r--r--net/unix2tcp/pkg-plist3
5 files changed, 53 insertions, 0 deletions
diff --git a/net/unix2tcp/Makefile b/net/unix2tcp/Makefile
new file mode 100644
index 0000000..0b70cba
--- /dev/null
+++ b/net/unix2tcp/Makefile
@@ -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>
diff --git a/net/unix2tcp/distinfo b/net/unix2tcp/distinfo
new file mode 100644
index 0000000..a8714d4
--- /dev/null
+++ b/net/unix2tcp/distinfo
@@ -0,0 +1 @@
+MD5 (unix2tcp-0.7.2.tar.gz) = d0d08bdb9e6059866e6886c8588640e6
diff --git a/net/unix2tcp/pkg-comment b/net/unix2tcp/pkg-comment
new file mode 100644
index 0000000..7bae4a5e
--- /dev/null
+++ b/net/unix2tcp/pkg-comment
@@ -0,0 +1 @@
+A connection forwarder that converts Unix sockets into TCP sockets
diff --git a/net/unix2tcp/pkg-descr b/net/unix2tcp/pkg-descr
new file mode 100644
index 0000000..feb3409
--- /dev/null
+++ b/net/unix2tcp/pkg-descr
@@ -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
diff --git a/net/unix2tcp/pkg-plist b/net/unix2tcp/pkg-plist
new file mode 100644
index 0000000..5dd82a1
--- /dev/null
+++ b/net/unix2tcp/pkg-plist
@@ -0,0 +1,3 @@
+sbin/unix2tcp
+%%PORTDOCS%%share/doc/unix2tcp/README
+%%PORTDOCS%%@dirrm /share/doc/unix2tcp
OpenPOWER on IntegriCloud