diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2003-01-20 18:17:38 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2003-01-20 18:17:38 +0000 |
commit | e7b91ed11a790f06f97d051c8fe6af619dd8b8d8 (patch) | |
tree | 853e3673fbf00a89ec70b2bb5533a067f8682e28 /net/magictun | |
parent | - update SSL support. (diff) |
Add magictun-0.1, a simple LD_PRELOAD module for transparently
redirecting connections through an HTTPS proxy.
Diffstat (limited to 'net/magictun')
-rw-r--r-- | net/magictun/Makefile | 18 | ||||
-rw-r--r-- | net/magictun/distinfo | 1 | ||||
-rw-r--r-- | net/magictun/files/patch-Makefile | 20 | ||||
-rw-r--r-- | net/magictun/pkg-comment | 1 | ||||
-rw-r--r-- | net/magictun/pkg-descr | 9 | ||||
-rw-r--r-- | net/magictun/pkg-plist | 1 |
6 files changed, 50 insertions, 0 deletions
diff --git a/net/magictun/Makefile b/net/magictun/Makefile new file mode 100644 index 000000000000..f39e1dbf417b --- /dev/null +++ b/net/magictun/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: magictun +# Date created: 20 January 2003 +# Whom: roam@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= magictun +PORTVERSION= 0.1 +CATEGORIES= net +MASTER_SITES= http://anight.org/magictun/dist/ + +MAINTAINER= roam@FreeBSD.org + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/magictun.so ${PREFIX}/lib/magictun.so + +.include <bsd.port.mk> diff --git a/net/magictun/distinfo b/net/magictun/distinfo new file mode 100644 index 000000000000..dc15d39134dd --- /dev/null +++ b/net/magictun/distinfo @@ -0,0 +1 @@ +MD5 (magictun-0.1.tar.gz) = cf23ca5d679cbfeeb145eb3d9bfef4c3 diff --git a/net/magictun/files/patch-Makefile b/net/magictun/files/patch-Makefile new file mode 100644 index 000000000000..4750cabbf4b8 --- /dev/null +++ b/net/magictun/files/patch-Makefile @@ -0,0 +1,20 @@ +--- Makefile Mon Jan 20 19:35:28 2003 ++++ Makefile Mon Jan 20 19:35:41 2003 +@@ -1,14 +1,14 @@ + + # $Id: Makefile,v 1.4 2003/01/18 10:41:02 anight Exp $ + +-CC=gcc +-CFLAGS=-g3 -O0 -Wall ++CC?=gcc ++CFLAGS?=-g3 -O0 -Wall + TARGETS=magictun.so + + all: $(TARGETS) + + magictun.so: magictun.c +- $(CC) $(CFLAGS) -fpic -shared magictun.c -o magictun.so -ldl ++ $(CC) $(CFLAGS) -fpic -shared magictun.c -o magictun.so + + clean: + rm -f *.o $(TARGETS) diff --git a/net/magictun/pkg-comment b/net/magictun/pkg-comment new file mode 100644 index 000000000000..942a24ab2264 --- /dev/null +++ b/net/magictun/pkg-comment @@ -0,0 +1 @@ +An LD_PRELOAD module for transparent HTTPS proxy redirection diff --git a/net/magictun/pkg-descr b/net/magictun/pkg-descr new file mode 100644 index 000000000000..4e3efb485c38 --- /dev/null +++ b/net/magictun/pkg-descr @@ -0,0 +1,9 @@ +From the magictun README file: + + This is simple LD_PRELOAD module let you transparently redirect + ANY tcp connections from ANY programs through https proxy (RFC2817) without + modifications to source code. This is done by substituting libc connect(2) + function with a special wrapper. + +Author: Andrei Nigmatulin <root@anight.org> +WWW: http://anight.org/magictun/ diff --git a/net/magictun/pkg-plist b/net/magictun/pkg-plist new file mode 100644 index 000000000000..5e877a200533 --- /dev/null +++ b/net/magictun/pkg-plist @@ -0,0 +1 @@ +lib/magictun.so |