From owner-freebsd-ports@FreeBSD.ORG Fri Dec 28 18:47:01 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8160F16A418 for ; Fri, 28 Dec 2007 18:47:01 +0000 (UTC) (envelope-from mike@fth-devel.net) Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mx1.freebsd.org (Postfix) with ESMTP id EB0BC13C457 for ; Fri, 28 Dec 2007 18:47:00 +0000 (UTC) (envelope-from mike@fth-devel.net) Received: from mail-in-11-z2.arcor-online.net (mail-in-11-z2.arcor-online.net [151.189.8.28]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id BB5FC32EA7F; Fri, 28 Dec 2007 18:42:44 +0100 (CET) Received: from mail-in-12.arcor-online.net (mail-in-12.arcor-online.net [151.189.21.52]) by mail-in-11-z2.arcor-online.net (Postfix) with ESMTP id A79C83486E0; Fri, 28 Dec 2007 18:42:44 +0100 (CET) Received: from mail.fth-devel.net (dslb-088-067-038-174.pools.arcor-ip.net [88.67.38.174]) by mail-in-12.arcor-online.net (Postfix) with ESMTP id 4000A8C469; Fri, 28 Dec 2007 18:42:38 +0100 (CET) Received: from behemoth.fth-devel.net (localhost [IPv6:::1]) by mail.fth-devel.net (8.13.8/8.13.8) with ESMTP id lBSHgbu7002234; Fri, 28 Dec 2007 18:42:37 +0100 (CET) (envelope-from mike@behemoth.fth-devel.net) Received: (from mike@localhost) by behemoth.fth-devel.net (8.13.8/8.13.8/Submit) id lBSHgZd8002233; Fri, 28 Dec 2007 18:42:35 +0100 (CET) (envelope-from mike) To: wahjava.ml@gmail.com From: Michael Scholz In-Reply-To: ("Ashish Shukla"'s message of "Fri\, 28 Dec 2007 22\:06\:29 +0530") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) References: Date: Fri, 28 Dec 2007 18:42:35 +0100 Message-ID: <86k5my7m2c.fsf@behemoth.fth-devel.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV 0.91.2/5277/Fri Dec 28 14:34:55 2007 on mail-in-12.arcor-online.net X-Virus-Status: Clean Cc: edwin@mavetju.org, freebsd-ports@freebsd.org Subject: Re: Problem with net/freenet6 port. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2007 18:47:01 -0000 > 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