aboutsummaryrefslogtreecommitdiffstats
path: root/net/6tunnel/files
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2001-03-02 20:46:35 +0800
committersumikawa <sumikawa@FreeBSD.org>2001-03-02 20:46:35 +0800
commit7e73add065ac600a897b585ac4a33296bc1f419b (patch)
treeddac3cf3e462966215002e731262b7b1160bdbe7 /net/6tunnel/files
parent82f5a570967e421f2f04b7acdeb8edb1a2162b0e (diff)
downloadfreebsd-ports-gnome-7e73add065ac600a897b585ac4a33296bc1f419b.tar.gz
freebsd-ports-gnome-7e73add065ac600a897b585ac4a33296bc1f419b.tar.zst
freebsd-ports-gnome-7e73add065ac600a897b585ac4a33296bc1f419b.zip
6tunnel allows you to use services provided by IPv6 hosts with IPv4-only
applications and vice versa. It can bind to any of your IPv4 (default) or IPv6 addresses and forward all data to IPv4 or IPv6 (default) host. It can be used for example as an ipv6-capable IRC proxy. PR: ports/24088 Submitted by: Vassili Tchersky <vt@bsdjeunz.org>
Diffstat (limited to 'net/6tunnel/files')
-rw-r--r--net/6tunnel/files/patch-aa34
1 files changed, 34 insertions, 0 deletions
diff --git a/net/6tunnel/files/patch-aa b/net/6tunnel/files/patch-aa
new file mode 100644
index 000000000000..0a8aa46ab2c1
--- /dev/null
+++ b/net/6tunnel/files/patch-aa
@@ -0,0 +1,34 @@
+--- Makefile.orig Sun Nov 19 16:12:17 2000
++++ Makefile Fri Jan 5 17:00:06 2001
+@@ -1,4 +1,4 @@
+-CC = gcc -O2 -Wall
++CFLAGS += -O2 -Wall
+ VER = 0.07
+ RPM_ROOT = /home/wojtekka/rpm
+
+@@ -6,9 +6,9 @@
+ @echo -e -- \\033[1m6tunnel\\033[0m make --
+ @if [ -d /usr/local/v6/lib ]; then make KAME; else make generic; fi
+ generic:
+- $(CC) 6tunnel.c -o 6tunnel
++ $(CC) $(CFLAGS) 6tunnel.c -o 6tunnel
+ KAME:
+- $(CC) 6tunnel.c -o 6tunnel -L/usr/local/v6/lib -linet6
++ $(CC) $(CFLAGS) 6tunnel.c -o 6tunnel -L/usr/local/v6/lib -linet6
+
+ install:
+ @case $$(uname -s) in \
+@@ -21,10 +21,10 @@
+ install 6tunnel /usr/local/bin
+ install 6tunnel.1 /usr/local/man/man1
+
+-install-bsd: default
++install-bsd:
+ strip 6tunnel
+- install 6tunnel /usr/local/bin
+- install 6tunnel.1 /usr/local/share/man/man1
++ ${BSD_INSTALL_PROGRAM} 6tunnel ${PREFIX}/bin
++ ${BSD_INSTALL_MAN} 6tunnel.1 ${PREFIX}/man/man1
+
+ targz: clean
+ cd ..; tar zcvf 6tunnel/6tunnel-$(VER).tar.gz --exclude 6tunnel/6tunnel-$(VER).tar.gz --exclude 6tunnel/older 6tunnel