aboutsummaryrefslogtreecommitdiffstats
path: root/net/magictun/files
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2003-01-21 02:17:38 +0800
committerroam <roam@FreeBSD.org>2003-01-21 02:17:38 +0800
commitde83bd483906934efc0787ca77bfc9e0adf61897 (patch)
treec0efbfe5a559ecb7748371e3923a18e288121276 /net/magictun/files
parentb025e5e838a94bfe04473568ca16811caba459ce (diff)
downloadfreebsd-ports-gnome-de83bd483906934efc0787ca77bfc9e0adf61897.tar.gz
freebsd-ports-gnome-de83bd483906934efc0787ca77bfc9e0adf61897.tar.zst
freebsd-ports-gnome-de83bd483906934efc0787ca77bfc9e0adf61897.zip
Add magictun-0.1, a simple LD_PRELOAD module for transparently
redirecting connections through an HTTPS proxy.
Diffstat (limited to 'net/magictun/files')
-rw-r--r--net/magictun/files/patch-Makefile20
1 files changed, 20 insertions, 0 deletions
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)