aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-11-21 07:45:48 +0800
committeredwin <edwin@FreeBSD.org>2004-11-21 07:45:48 +0800
commit2f59071a196fcd8843ccbc54c221b5e48b33cd51 (patch)
tree61580dd76697f6b318006c5df7ac14cecd44db35
parent6e2c6f8c1dc9d8a30dc27b0e35683a60c10be6aa (diff)
downloadfreebsd-ports-gnome-2f59071a196fcd8843ccbc54c221b5e48b33cd51.tar.gz
freebsd-ports-gnome-2f59071a196fcd8843ccbc54c221b5e48b33cd51.tar.zst
freebsd-ports-gnome-2f59071a196fcd8843ccbc54c221b5e48b33cd51.zip
Re-add files which were deleted due to some reason but still were
important. Somehow cvs(1) doesn't like "cvs remove" and "cvs add" without a "cvs commit" in the middle" Also removed empty patchfile.
-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