upgrade to version 1.0

PR:		ports/58418
Submitted by:	Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
This commit is contained in:
Edwin Groothuis 2003-10-25 12:06:30 +00:00
parent d518b2fb16
commit 5bc48ebfaa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92117
7 changed files with 38 additions and 29 deletions

View file

@ -6,9 +6,10 @@
# #
PORTNAME= freenet6 PORTNAME= freenet6
PORTVERSION= 0.9.7 PORTVERSION= 1.0
CATEGORIES= net ipv6 CATEGORIES= net ipv6
MASTER_SITES= # fetch manually MASTER_SITES= # fetch manually
DISTNAME= ${PORTNAME}-client-${PORTVERSION}
EXTRACT_SUFX= .tgz EXTRACT_SUFX= .tgz
MAINTAINER= edwin@mavetju.org MAINTAINER= edwin@mavetju.org
@ -39,12 +40,9 @@ IGNORE= May not be automatically fetched due to licensing\
Once it has been downloaded, move it to\ Once it has been downloaded, move it to\
${DISTDIR} and then restart this build.\ ${DISTDIR} and then restart this build.\
You also can register to use this service at\ You also can register to use this service at\
http://www.freenet6.net/cgi-bin/new_account.pl http://www.freenet6.net/register.shtml
.endif .endif
NO_CDROM= "Redistribution not allowed"
NO_PACKAGE= "Redistribution not allowed"
.if ${OSVERSION} >= 440000 .if ${OSVERSION} >= 440000
MAKE_ARGS= target=freebsd44 installdir=${PREFIX} MAKE_ARGS= target=freebsd44 installdir=${PREFIX}
.else .else

View file

@ -1 +1 @@
MD5 (freenet6-0.9.7.tgz) = 0489d5d893089c5b8a19c3b47718dab7 MD5 (freenet6-client-1.0.tgz) = a2b4edb1d52b874587533b4cf40de1ba

View file

@ -1,5 +1,5 @@
--- src/Makefile.orig Thu Dec 6 06:06:55 2001 --- src/Makefile.orig Mon Aug 11 17:18:21 2003
+++ src/Makefile Tue Oct 22 22:50:38 2002 +++ src/Makefile Thu Oct 23 11:12:02 2003
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
INC=. INC=.
BIN=../bin BIN=../bin
@ -7,14 +7,18 @@
-CC=gcc -g -I$(INC) -Wall -CC=gcc -g -I$(INC) -Wall
+CC+=$(CFLAGS) -g -I$(INC) -Wall +CC+=$(CFLAGS) -g -I$(INC) -Wall
pre-clean: all: tspc tspc.conf.sample
@if [ -f $(BIN)/tspc.conf ]; then rm -f $(BIN)/tspc.conf; fi
@@ -22,7 +22,7 @@ @@ -19,9 +19,9 @@
@echo Installing tspc @echo Installing tspc
mkdir -p $(install_bin) mkdir -p $(install_bin)
$(COPY) $(BIN)/$(TSPC) $(install_bin)/$(TSPC) $(COPY) $(BIN)/$(TSPC) $(install_bin)/$(TSPC)
- $(COPY) $(BIN)/tspc.conf $(install_bin)/tspc.conf - $(COPY) $(BIN)/tspc.conf.sample $(install_bin)/tspc.conf.sample
+ $(COPY) $(BIN)/tspc.conf $(install_etc)/tspc.conf - @if [ ! -e "$(install_bin)/tspc.conf" ]; then \
- $(COPY) $(BIN)/tspc.conf.sample $(install_bin)/tspc.conf; \
+ $(COPY) $(BIN)/tspc.conf.sample $(install_etc)/tspc.conf.sample
+ @if [ ! -e "$(install_etc)/tspc.conf" ]; then \
+ $(COPY) $(BIN)/tspc.conf.sample $(install_etc)/tspc.conf; \
fi
@echo End of tspc installation @echo End of tspc installation
$(BIN)/tspc.conf:

View file

@ -1,21 +1,11 @@
--- src/tspc.c.orig Tue Sep 11 23:41:05 2001 --- src/tspc.c.orig Wed Sep 10 07:44:23 2003
+++ src/tspc.c Thu Oct 11 13:27:31 2001 +++ src/tspc.c Thu Oct 23 11:13:55 2003
@@ -178,7 +178,7 @@ @@ -205,7 +205,7 @@
int Initialise(int argc, char *argv[], tConf *Conf) int Initialise(int argc, char *argv[], tConf *Conf)
{ {
tConf CmdLine; tConf CmdLine;
- char *Templ = "template"; - char *Templ = "template";
+ char *Templ = "bin"; + char *Templ = "bin";
extern int ReadConfigFile(char *File, tConf *Conf);
Conf->tsp_dir = NULL; Conf->tsp_dir = NULL;
@@ -554,7 +554,7 @@ Conf->server = "";
SetEnv("TSP_VERBOSE", buf, 1);
SetEnv("TSP_HOME_DIR", TspHomeDir, 1);
- snprintf(buf, sizeof buf, "%s%s%c%s.%s", ScriptInterpretor, ScriptDir, DirSeparator, Conf.template, ScriptExtension);
+ snprintf(buf, sizeof buf, "%s%s%ctspc-%s.%s", ScriptInterpretor, ScriptDir, DirSeparator, Conf.template, ScriptExtension);
Display(2, ELInfo, "SetUpInterface", "Executing configuration script.\n");
Display(2, ELInfo, "SetUpInterface", buf);

View file

@ -0,0 +1,13 @@
--- src/tspc.conf.in.orig Thu Oct 23 11:34:40 2003
+++ src/tspc.conf.in Thu Oct 23 11:35:02 2003
@@ -37,8 +37,8 @@
# You can also use "checktunnel" if you only want the tunnel info print out.
# Possible templates are:
# template=checktunnel
-# template=freebsd4
-# template=freebsd44
+# template=tspc-freebsd4
+# template=tspc-freebsd44
# template=netbsd
# template=openbsd
# template=solaris8

View file

@ -6,8 +6,11 @@ Now that the package is installed, please finish it with the following steps:
- Run @@PREFIX@@/etc/rc.d/freenet6.sh to start the tunnel. - Run @@PREFIX@@/etc/rc.d/freenet6.sh to start the tunnel.
- Try to ping a IPv6 host, for example: ping6 www.jp.freebsd.org - Try to ping a IPv6 host, for example: ping6 www.jp.freebsd.org
*** NOTE FOR UPGRADERS: *** NOTE FOR UPGRADERS to version 0.97:
The configuration file has changed, please change "tsp_version" to The configuration file has changed, please change "tsp_version" to
"1.0.1" and add "retry_delay=1800" to it. See tspc.conf.sample for "1.0.1" and add "retry_delay=1800" to it. See tspc.conf.sample for
more information. If you don't add this, the tunnel will not be more information. If you don't add this, the tunnel will not be
setup. setup.
*** NOTE FOR UPGRADERS to version 1.0
- servername could be have been changed to 'tsps2.freenet6.net'
- template has changed to 'tspc-freebsd44'

View file

@ -18,6 +18,7 @@ another very important step to accelerate the deployment at large
scale of IPv6 to everyone on the net. scale of IPv6 to everyone on the net.
WWW: http://www.freenet6.net/ WWW: http://www.freenet6.net/
WWW: http://www.freenet6.net/register.shtml
- Edwin Groothuis - Edwin Groothuis
edwin@mavetju.org edwin@mavetju.org