From: Jon Trulson Date: Thu, 26 Nov 2015 21:08:23 +0000 (-0700) Subject: dtlogin: use XDM authentication instead of MIT/DES on linux X-Git-Tag: 2.2.4~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1e2e373082617e1b7cfa47aa90b9555527ddfaaa;p=oweals%2Fcde.git dtlogin: use XDM authentication instead of MIT/DES on linux --- diff --git a/cde/config/cf/linux.cf b/cde/config/cf/linux.cf index 6d22a79a..22ba1a31 100644 --- a/cde/config/cf/linux.cf +++ b/cde/config/cf/linux.cf @@ -140,6 +140,9 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion) #define DefaultCCOptions -ansi +XCOMM Lets try XdmAuth instead of the ancient MIT/DES auth +#define HasXdmAuth YES + XCOMM If you have the tirpc library on your system, and you have the XCOMM libtirpc-dev installed, then define HasTIRPCLib to YES in either XCOMM your host.def or site.def file. Using the tirpc lib should diff --git a/cde/programs/dtlogin/Imakefile b/cde/programs/dtlogin/Imakefile index b0b7911a..7a4887fb 100644 --- a/cde/programs/dtlogin/Imakefile +++ b/cde/programs/dtlogin/Imakefile @@ -240,6 +240,8 @@ INCLUDES = -I$(XPROJECTROOT)/include/freetype2 -D__NetBSD__ -DENABLE_DYNAMIC_LANGLIST #elif defined (AlphaArchitecture) DEFINES = $(DTDEFINES) -DXDMCP -DSIA +#elif defined (LinuxArchitecture) + DEFINES = $(DTDEFINES) -DXDMCP #else DEFINES = $(DTDEFINES) -D_NO_PROTO #endif