Date: Fri, 14 Apr 2000 14:17:18 -0400 (EDT) From: Mikhail Teterin <mi@privatelabs.com> To: FreeBSD-gnats-submit@freebsd.org Cc: bbraun@synack.net, vanilla@freebsd.org Subject: ports/18011: ipv6 support for the security/xinetd port Message-ID: <200004141817.OAA79078@misha.privatelabs.com>
next in thread | raw e-mail | index | archive | help
>Number: 18011 >Category: ports >Synopsis: ipv6 support for the security/xinetd port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 14 11:20:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 4.0-STABLE i386 >Organization: Virtual Estates, Inc. >Environment: >Description: The xinetd claims to support the ipv6, but there is a problem in xinetd/child.c, which prevents it from compiling on FreeBSD (others?). >How-To-Repeat: Add --with-inet6 to the CONFIGURE_ARGS and see the build bomb. >Fix: The following patch makes it compile (save it as /usr/ports/security/xinetd/patches/patch-v6): --- xinetd/child.c Wed Feb 23 02:46:34 2000 +++ xinetd/child.c Fri Apr 14 14:00:19 2000 @@ -322,3 +322,3 @@ #ifdef INET6 - if ( SC_ACCEPTS_CONNECTIONS( scp ) && !IN6_IS_ADDR_UNSPECIFIED(sinp) ) + if ( SC_ACCEPTS_CONNECTIONS( scp ) && !IN6_IS_ADDR_UNSPECIFIED(&(sinp->sin6_addr)) ) strx_print( INT_NULL, &name[ len ], namelen - len, But you also need the following to make the port build it (should be ifdef-ed, probably, because ipv6-ized xinetd will fail if there is no ipv6 in the kernel): +++ Makefile Fri Apr 14 12:55:58 2000 @@ -17,3 +17,3 @@ ALL_TARGET= build -CONFIGURE_ARGS= --with-loadavg --with-libwrap +CONFIGURE_ARGS= --with-loadavg --with-libwrap --with-inet6 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004141817.OAA79078>