Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2007 18:42:35 +0100
From:      Michael Scholz <mike@fth-devel.net>
To:        wahjava.ml@gmail.com
Cc:        edwin@mavetju.org, freebsd-ports@freebsd.org
Subject:   Re: Problem with net/freenet6 port.
Message-ID:  <86k5my7m2c.fsf@behemoth.fth-devel.net>
In-Reply-To: <d9a03f10712280836n3bf32e5eu54870734241aa6b5@mail.gmail.com> ("Ashish Shukla"'s message of "Fri\, 28 Dec 2007 22\:06\:29 %2B0530")
References:  <d9a03f10712280836n3bf32e5eu54870734241aa6b5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 2007/12/28 21:53:08 tspc: tspSetEnv: TSP_TUNNEL_PREFIXLEN=128
> 2007/12/28 21:53:08 tspc: tspSetEnv: TSP_VERBOSE=3
> 2007/12/28 21:53:08 tspc: tspSetEnv: TSP_HOME_DIR=/usr/local
> 2007/12/28 21:53:08 tspc: tspSetupInterface: Executing configuration
> script: /bin/sh "/usr/local/bin/tspc-freebsd.sh"
> 2007/12/28 21:53:08 tspc: Script: --- Start of configuration script. ---
> 2007/12/28 21:53:08 tspc: Script: Script: tspc-freebsd.sh
> 2007/12/28 21:53:08 tspc: Script: Error: TSP_HOST_TYPE not defined.
> 2007/12/28 21:53:08 tspc: tspStartLocal: Script failed to execute correctly
> 2007/12/28 21:53:08 tspc: tspMain: Error is 3: INTERFACE_SETUP_FAILED
> 2007/12/28 21:53:08 tspc: tspMain: TSP session done

> FreeBSD chateau.d.lf 7.0-BETA4 FreeBSD 7.0-BETA4 #1: Wed Dec 19
> 13:22:36 IST 2007     toor@chateau.d.lf:/usr/obj/usr/src/sys/GENERIC
> amd64
>
> Can anyone tell me, where's the problem ?

Month ago I have sent a problem report with solution for net/freenet6
but it wasn't committed yet.  FreeBSD 7.X has changed the behavior of
libc function putenv() which results in the above issue.  As a
circumvent you may use net/gateway6, it's nearly the same, or you
correct tspSetEnv() in freebsd/tsp_local.c (replace putenv() with
setenv(), just like in net/gateway6).

Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k5my7m2c.fsf>