Subject: Re: What, no IPV6?
To: Frederick Bruckman <fredb@immanent.net>
From: Tyler Retzlaff <rtr@twentynine.org>
List: tech-x11
Date: 03/26/2004 23:35:58
Hi Frederick

On Friday 26 March 2004 13:24, Frederick Bruckman wrote:
> On Tue, 23 Mar 2004, Frederick Bruckman wrote:
> > It looks like the crossover build hasn't caught up with the native
> > (imake) build in regards to IPv6. The native build sets -DIPv6 in
> > response to BuildIPv6=YES. I tried adding -DIPv6 to
> > ${X11FLAGS.CONNECTION} in bsd.x11.mk, but it's apparently not quite
> > that simple...
> >
> >     # DISPLAY=inet6/localhost:0 xdpyinfo
> >     Xlib: connection to "localhost:0.0" refused by server
> >     Xlib: Protocol not supported by server
> >
> >     xdpyinfo:  unable to open display "inet6/localhost:0".
>
> Ack, it works fine, after an "xhost +localhost". So, does anyone
> object if I commit the following?

Sorry I haven't had time to take a proper look at the items you mentioned in 
your original post.  I've been very busy, thanks for looking in to it.

>
> Frederick
>
> Index: share/mk/bsd.x11.mk
> ===================================================================
> RCS file: /cvsroot/src/share/mk/bsd.x11.mk,v
> retrieving revision 1.36
> diff -u -r1.36 bsd.x11.mk
> --- share/mk/bsd.x11.mk	16 Mar 2004 00:24:47 -0000	1.36
> +++ share/mk/bsd.x11.mk	25 Mar 2004 16:25:28 -0000
> @@ -17,7 +17,8 @@
>  X11FLAGS.THREADLIB=	${X11FLAGS.THREADS} -DUSE_NBSD_THREADLIB
>
>  #	 CONNECTION_FLAGS
> -X11FLAGS.CONNECTION=	-DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT
> -DHAS_FCHOWN +X11FLAGS.CONNECTION=	-DTCPCONN -DUNIXCONN
> -DHAS_STICKY_DIR_BIT \
> +			-DHAS_FCHOWN -DIPv6
>
>  #	 EXT_DEFINES
>  X11FLAGS.EXTENSION=	-DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD \
> Index: x11/bin/xdm/Makefile.xdm
> ===================================================================
> RCS file: /cvsroot/src/x11/bin/xdm/Makefile.xdm,v
> retrieving revision 1.2
> diff -u -r1.2 Makefile.xdm
> --- x11/bin/xdm/Makefile.xdm	2 Jan 2004 17:19:51 -0000	1.2
> +++ x11/bin/xdm/Makefile.xdm	25 Mar 2004 16:25:28 -0000
> @@ -3,7 +3,7 @@
>  CPPFLAGS+=	-DBINDIR=\"${X11BINDIR}\" -DXDMDIR=\"${X11LIBDIR}/xdm\" \
>  		-DHASXDMAUTH ${X11FLAGS.CONNECTION} -DGREET_USER_STATIC \
>  		-DFRAGILE_DEV_MEM -DDEV_RANDOM=\"/dev/urandom\" \
> -		-DXPM -DUSE_XINERAMA -DHAS_SETPROCTITLE \
> +		-DXPM -DUSE_XINERAMA -DHAS_SETPROCTITLE -UIPv6 \
>  		-I${X11SRCDIR.xc}/programs/xdm \
>  		${X11FLAGS.VERSION}

At a quick glance this looks ok.  Maybe toss in a comment referencing the 
reason why were undefing IPv6 here though.  Otherwise I'd say go ahead and 
commit it.

Thanks again!

Tyler