From 0cd4e5d065ad83fe5b9c10dd9085453315001df4 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis <edwin@FreeBSD.org> Date: Sat, 20 Nov 2004 23:45:48 +0000 Subject: 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. --- net/freenet6/files/freenet6.sh.in | 26 ++++++++++++++++++++++++++ net/freenet6/files/patch-src::tsp::tsp_setup.c | 0 net/freenet6/files/pkg-message.in | 7 +++++++ 3 files changed, 33 insertions(+) create mode 100644 net/freenet6/files/freenet6.sh.in delete mode 100644 net/freenet6/files/patch-src::tsp::tsp_setup.c create mode 100644 net/freenet6/files/pkg-message.in (limited to 'net/freenet6') 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 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 -- cgit v1.2.3