aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/prtunnel/Makefile34
-rw-r--r--net/prtunnel/distinfo1
-rw-r--r--net/prtunnel/pkg-descr6
-rw-r--r--net/prtunnel/pkg-plist3
5 files changed, 45 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 7641086be8a6..3dac69916cef 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -534,6 +534,7 @@
SUBDIR += pptpclient
SUBDIR += ppxp
SUBDIR += proxy-suite
+ SUBDIR += prtunnel
SUBDIR += psi
SUBDIR += pvm
SUBDIR += pvm++
diff --git a/net/prtunnel/Makefile b/net/prtunnel/Makefile
new file mode 100644
index 000000000000..ff4d92497dec
--- /dev/null
+++ b/net/prtunnel/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: prtunnel
+# Date created: 19.06.2003
+# Whom: Kirill Ponomarew <ponomarew@oberon.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= prtunnel
+PORTVERSION= 0.1.7
+CATEGORIES= net
+MASTER_SITES= http://joshbeam.com/files/
+
+MAINTAINER= ponomarew@oberon.net
+COMMENT= Tunnel for TCP connections using an HTTP or SOCKS5 proxy
+
+USE_REINPLACE= yes
+ALL_TARGET= ${PORTNAME}
+
+MAN1= prtunnel.1
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|%%PREFIX%%|${PREFIX}|g ; \
+ s|CC=gcc|CC?=gcc|g' ${WRKSRC}/Makefile
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for i in README
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/prtunnel/distinfo b/net/prtunnel/distinfo
new file mode 100644
index 000000000000..7f0529976cae
--- /dev/null
+++ b/net/prtunnel/distinfo
@@ -0,0 +1 @@
+MD5 (prtunnel-0.1.7.tar.gz) = 7c65705df3386fd35f8a6cb644dc9318
diff --git a/net/prtunnel/pkg-descr b/net/prtunnel/pkg-descr
new file mode 100644
index 000000000000..87db339a9e4f
--- /dev/null
+++ b/net/prtunnel/pkg-descr
@@ -0,0 +1,6 @@
+prtunnel tunnels a TCP connection through to a remote server
+using an HTTP or SOCKS5 proxy. It is useful if you are behind a
+proxy and want to use a program that doesn't have native proxy
+support.
+
+WWW: http://joshbeam.com/software/prtunnel.html
diff --git a/net/prtunnel/pkg-plist b/net/prtunnel/pkg-plist
new file mode 100644
index 000000000000..a1a75f6e4c44
--- /dev/null
+++ b/net/prtunnel/pkg-plist
@@ -0,0 +1,3 @@
+bin/prtunnel
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%