Enable IPv6 in XFree86 4.4.0 reachover build. Usage is describe

in "/usr/X11R6/lib/X11/doc/RELNOTES". Note particularly that "tcp",
as in "X -nolisten tcp" or "xhost +tcp/host:0", now means *both*
IP transport protocols. Use "inet" or "inet6", instead, to specify
only one or the other.

XDMCP support for IPv6 -- such as it is -- is disabled, just as
it is in the native, out-of-the-box build. XDM-AUTHORIZATION-1
does not really support IPv6 addresses, in any case. (It is
possible to build "xdm" with -DIPv6, but that presumes support
for IPv6-mapped IPv4 addresses in the default installation, for
one thing, and there are unexplored issues with all that.)
This commit is contained in:
fredb 2004-03-26 21:29:54 +00:00
parent 87d87e87fe
commit 158d2f19f3
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.x11.mk,v 1.36 2004/03/16 00:24:47 perry Exp $
# $NetBSD: bsd.x11.mk,v 1.37 2004/03/26 21:29:54 fredb Exp $
.include <bsd.init.mk>
@ -17,7 +17,8 @@ X11FLAGS.THREADS= -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API \
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 \

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile.xdm,v 1.2 2004/01/02 17:19:51 lukem Exp $
# $NetBSD: Makefile.xdm,v 1.3 2004/03/26 21:29:54 fredb Exp $
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}