From owner-freebsd-current Sun Feb 20 5:17:22 2000 Delivered-To: freebsd-current@freebsd.org Received: from prince.net.ebina.hitachi.co.jp (sagami134136.allnet.ne.jp [210.251.134.136]) by hub.freebsd.org (Postfix) with ESMTP id 3B17137BCD5 for ; Sun, 20 Feb 2000 05:17:18 -0800 (PST) (envelope-from sumikawa@ebina.hitachi.co.jp) Received: from ebina.hitachi.co.jp (localhost [127.0.0.1]) by prince.net.ebina.hitachi.co.jp (8.9.3/3.7W) with SMTP id WAA10583; Sun, 20 Feb 2000 22:15:56 +0900 (JST) From: sumikawa@ebina.hitachi.co.jp Message-Id: <200002201315.WAA10583@prince.net.ebina.hitachi.co.jp> Date: Sun, 20 Feb 2000 22:15:56 +0900 (JST) To: dgilbert@velocet.ca Cc: cpiazza@jaxon.net, freebsd-current@FreeBSD.ORG Cc: sumikawa@ebina.hitachi.co.jp Subject: Re: ipv6 default in current ports? In-Reply-To: <14509.52933.883241.459866@trooper.velocet.net> References: <14509.50981.963519.987797@trooper.velocet.net> <20000218145710.A831@norn.ca.eu.org> <14509.52933.883241.459866@trooper.velocet.net> X-Mailer: xcite1.31> Mew version 1.95b10 on Emacs 20.4 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris> It doesn't need kernel support to build with ipv6 support. Chris> Trying to use the ipv6 support without it in the kernel is the Chris> only problem. dgilbert> Well... ruby refuses to build with IPv6 if it's not enabled and mtr dgilbert> dies with a "cannot open socket". dgilbert> In escence, both ports (and possibly others) don't work in 4.0 without dgilbert> INET6 in your kernel. Thanks for the reporting. I attach the patch for ruby. I've already send it to the maintainer. As for mtr, I'll check it. --- Munechika SUMIKAWA @ KAME Project / FreeBSD.org Index: patches/patch-aa =================================================================== RCS file: /home/ncvs/ports/lang/ruby/patches/patch-aa,v retrieving revision 1.1 diff -u -r1.1 patch-aa --- patches/patch-aa 2000/01/12 19:16:44 1.1 +++ patches/patch-aa 2000/02/20 13:06:46 @@ -1,5 +1,5 @@ --- ext/socket/extconf.rb.orig Fri Oct 29 13:45:41 1999 -+++ ext/socket/extconf.rb Wed Jan 12 17:15:03 2000 ++++ ext/socket/extconf.rb Sun Feb 20 22:04:32 2000 @@ -57,8 +57,6 @@ #endif EOF @@ -9,3 +9,14 @@ $CFLAGS="-DINET6 "+$CFLAGS elsif File.directory? "/usr/inet6" $ipv6type = "linux" +@@ -225,7 +223,9 @@ + } + } + +- if (inet6 != 2 || inet4 != 2) ++ if (!(inet4 == 0 || inet4 == 2)) ++ goto bad; ++ if (!(inet6 == 0 || inet6 == 2)) + goto bad; + + if (aitop) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message