Problem with net/freenet6 port.

Michael Scholz mike at fth-devel.net
Fri Dec 28 10:47:01 PST 2007


> 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 at 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


More information about the freebsd-ports mailing list