From owner-freebsd-ports@FreeBSD.ORG Mon May 14 12:44:58 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E14FF106564A for ; Mon, 14 May 2012 12:44:58 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from smtplq01.aruba.it (smtplq-out12.aruba.it [62.149.158.32]) by mx1.freebsd.org (Postfix) with SMTP id 1E3058FC19 for ; Mon, 14 May 2012 12:44:57 +0000 (UTC) Received: (qmail 19718 invoked by uid 89); 14 May 2012 12:44:53 -0000 Received: from unknown (HELO smtp6.aruba.it) (62.149.158.226) by smtplq01.aruba.it with SMTP; 14 May 2012 12:44:53 -0000 Received: (qmail 12204 invoked by uid 89); 14 May 2012 12:44:53 -0000 Received: from unknown (HELO clover.dyndns.biz) (info@cloverinformatica.it@151.55.124.69) by smtp6.ad.aruba.it with SMTP; 14 May 2012 12:44:53 -0000 Received: from [192.168.0.185] ([192.168.0.185]) by clover.dyndns.biz ; Mon, 14 May 2012 14:44:55 +0200 Message-ID: <4FB0FE47.3060802@cloverinformatica.it> Date: Mon, 14 May 2012 14:44:55 +0200 From: Maurizio Vairani User-Agent: Mozilla/5.0 (Windows NT 4.0; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: bapt@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: smtp6.ad.aruba.it 1.6.2 0/1000/N X-Spam-Rating: smtplq01.aruba.it 1.6.2 0/1000/N Cc: ports@FreeBSD.org Subject: FreeBSD Port: libvncserver-0.9.9 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: Mon, 14 May 2012 12:44:59 -0000 Disabling ipv6 in libvncserver-0.9.9 on FreeBSD 9 # uname -a FreeBSD clover-nas-test 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 I have compiled this library without the ipv6 support: # cd /usr/ports/net/libvncserver # make fetch # make patch # cd work/LibVNCServer-0.9.9 # ./configure --without-x --without-ipv6 --with-ssl # make all # make install The supplied example: # /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9/examples/example 14/05/2012 14:15:04 Listening for VNC connections on TCP port 5900 14/05/2012 14:15:04 Listening for HTTP connections on TCP port 5800 14/05/2012 14:15:04 URL http://clover-nas-test:5800 starts, but attempting to connect it crash: via VNC port 5900: Bus error: 10 (core dumped) via HTTP port 5800: 14/05/2012 14:18:39 httpd: get '' for 192.168.0.185 14/05/2012 14:18:39 httpd: defaulting to 'index.vnc' Bus error: 10 (core dumped) Recompiling the library with ipv6 support all works.