From a1aa7c31fe5eb626a0a93e1418b4a01dcef37e17 Mon Sep 17 00:00:00 2001 From: markm Date: Fri, 24 Dec 1999 16:42:18 +0000 Subject: Remove the old KerberosIV stuff and PAM-ize. OK'ed by: jmz --- x11/XFree86-4-libraries/Makefile | 2 +- x11/XFree86-4-libraries/scripts/configure | 50 ++++--------------------------- 2 files changed, 6 insertions(+), 46 deletions(-) (limited to 'x11/XFree86-4-libraries') diff --git a/x11/XFree86-4-libraries/Makefile b/x11/XFree86-4-libraries/Makefile index 0ee98864689e..c450f394a9dd 100644 --- a/x11/XFree86-4-libraries/Makefile +++ b/x11/XFree86-4-libraries/Makefile @@ -20,7 +20,7 @@ MAINTAINER= jmz@FreeBSD.org IS_INTERACTIVE= yes # configure script asks questions .if (${MACHINE} != "alpha") -NO_PACKAGE= package available from XFree86 +#NO_PACKAGE= package available from XFree86 .endif ALL_TARGET= World INSTALL_TARGET= install install.man diff --git a/x11/XFree86-4-libraries/scripts/configure b/x11/XFree86-4-libraries/scripts/configure index f45e2e3b0ceb..e9d18f564837 100644 --- a/x11/XFree86-4-libraries/scripts/configure +++ b/x11/XFree86-4-libraries/scripts/configure @@ -354,47 +354,12 @@ if [ $cpwh != NO ]; then echo "#define HasXdmAuth $answ" >> $F fi -cat <<'END' - - XDM can be built so that it will get a KerberosIV TGT for your users - when they log in. This requires that you have Kerberos on your system - when you do this build. - - Source code for this authentication mechanism may not be exported from - the United States, however, there are compatible replacements for this - mechanism available elsewhere. Also, while this scheme is not used for - general purpose encryption, some countries restrict the use of strong - cryptography. - - Even if you answer YES to the following question, KerberosIV support - will not be enabled if the kerberos libraries are unavailable. - -END -yesno "Do you want to enable KerberosIV support?" -cpkb=NO +echo +yesno "Do you want to compile with PAM support?" if [ $answ = YES ]; then - if [ $ELF = yes ]; then - LIBKRB=/usr/lib/libkrb.a - elif [ -d /usr/lib/aout ]; then - LIBKRB=/usr/lib/aout/libkrb.a - else - LIBKRB=/usr/lib/libkrb.a - fi - K4PATCH=$FILESDIR/kerberos4.diffs - K4XDM="$FILESDIR/krb4auth.c $FILESDIR/krb4auth.h" - XDMDIR=$WRKDIR/xc/programs/xdm/ - - if [ -f $LIBKRB ] ; then - echo "==> KerberosIV found in system libraries." - cpkb=YES - else - echo "==> Kerberos libraries not found on system." - echo "==> KerberosIV support NOT enabled." - cpkb=NO - fi -fi -if [ $cpkb != NO ]; then - echo "#define HasKrb4 $answ" >> $F + echo "#define HasPam YES" >> $F +else + echo "#define HasPam NO" >> $F fi echo @@ -415,11 +380,6 @@ if [ X$cpwh != XNO ]; then cp $cpwh $WH fi -if [ X$cpkb != XNO ]; then - cp $K4XDM $XDMDIR - echo "===> Applying KerberosIV patches" - patch -s -d $WRKDIR/xc -E -p0 < $K4PATCH -fi if [ X$THREADS_PATCH != X ]; then echo "===> Applying threads patches" patch -s -d $WRKDIR -E -p0 < $THREADS_PATCH -- cgit