summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-07-02 12:31:30 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-07-02 12:31:30 +0000
commit8efc56e82feed2b7517dfd2ec1289356010e247a (patch)
treea7fb1c1ec2243d01ac746333c821949b494a2737 /net
parentAdd libidn 0.2.0, internationalized Domain Names command line tool. (diff)
Add prtunnel 0.1.7,
tunnel for TCP connections using an HTTP or SOCKS5 proxy. PR: 53480 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Notes
Notes: svn path=/head/; revision=84042
Diffstat (limited to 'net')
-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%%