aboutsummaryrefslogtreecommitdiff
path: root/net/freenet6
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-11-20 23:45:48 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-11-20 23:45:48 +0000
commit0cd4e5d065ad83fe5b9c10dd9085453315001df4 (patch)
tree790c580acef6f45dca8537dd4846ef2e47c9283f /net/freenet6
parent84a19a7e143edadd3a2272ebb1fdddbb1f939b3a (diff)
downloadports-0cd4e5d065ad83fe5b9c10dd9085453315001df4.tar.gz
ports-0cd4e5d065ad83fe5b9c10dd9085453315001df4.zip
Notes
Diffstat (limited to 'net/freenet6')
-rw-r--r--net/freenet6/files/freenet6.sh.in26
-rw-r--r--net/freenet6/files/patch-src::tsp::tsp_setup.c0
-rw-r--r--net/freenet6/files/pkg-message.in7
3 files changed, 33 insertions, 0 deletions
diff --git a/net/freenet6/files/freenet6.sh.in b/net/freenet6/files/freenet6.sh.in
new file mode 100644
index 000000000000..e61408f83a7c
--- /dev/null
+++ b/net/freenet6/files/freenet6.sh.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# Start or stop the IPv6 tunnel to Freenet6.net
+#
+
+case "$1" in
+ start)
+ if [ -f @@PREFIX@@/etc/tspc.conf ]; then
+ @@PREFIX@@/bin/tspc -f @@PREFIX@@/etc/tspc.conf && \
+ echo -n " freenet6"
+ fi
+ ;;
+
+ stop)
+ killall tspc && echo -n " freenet6"
+ ;;
+
+ *)
+ echo ""
+ echo "Usage: `basename $0` { start | stop }"
+ echo ""
+ exit 64
+ ;;
+esac
diff --git a/net/freenet6/files/patch-src::tsp::tsp_setup.c b/net/freenet6/files/patch-src::tsp::tsp_setup.c
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/net/freenet6/files/patch-src::tsp::tsp_setup.c
+++ /dev/null
diff --git a/net/freenet6/files/pkg-message.in b/net/freenet6/files/pkg-message.in
new file mode 100644
index 000000000000..c9f0d486407f
--- /dev/null
+++ b/net/freenet6/files/pkg-message.in
@@ -0,0 +1,7 @@
+Now that the package is installed, please finish it with the following steps:
+
+- Copy @@EXAMPLESDIR@@/tspc.conf.sample to @@PREFIX@@/etc/tspc.conf
+- Check the values of @@PREFIX@@/etc/tspc.conf. If you have registered at
+ the website, fill in your userid and password there.
+- Run @@PREFIX@@/etc/rc.d/freenet6.sh to start the tunnel.
+- Try to ping a IPv6 host, for example: ping6 www.jp.freebsd.org