summaryrefslogtreecommitdiff
path: root/x11-servers
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1999-12-24 16:42:18 +0000
committerMark Murray <markm@FreeBSD.org>1999-12-24 16:42:18 +0000
commit9740f4f2a2937848763617cab19467f5846aaceb (patch)
tree0881dc709705fc84e33483d7eca44bafad05ee4b /x11-servers
parenttell the user to use rc.conf.local, to start zebra ... (diff)
Remove the old KerberosIV stuff and PAM-ize.
OK'ed by: jmz
Notes
Notes: svn path=/head/; revision=23998
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/XFree86-4-Server-snap/Makefile2
-rw-r--r--x11-servers/XFree86-4-Server-snap/scripts/configure50
-rw-r--r--x11-servers/XFree86-4-Server/Makefile2
-rw-r--r--x11-servers/XFree86-4-Server/scripts/configure50
4 files changed, 12 insertions, 92 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile
index 0ee98864689e..c450f394a9dd 100644
--- a/x11-servers/XFree86-4-Server-snap/Makefile
+++ b/x11-servers/XFree86-4-Server-snap/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-servers/XFree86-4-Server-snap/scripts/configure b/x11-servers/XFree86-4-Server-snap/scripts/configure
index f45e2e3b0ceb..e9d18f564837 100644
--- a/x11-servers/XFree86-4-Server-snap/scripts/configure
+++ b/x11-servers/XFree86-4-Server-snap/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
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile
index 0ee98864689e..c450f394a9dd 100644
--- a/x11-servers/XFree86-4-Server/Makefile
+++ b/x11-servers/XFree86-4-Server/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-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure
index f45e2e3b0ceb..e9d18f564837 100644
--- a/x11-servers/XFree86-4-Server/scripts/configure
+++ b/x11-servers/XFree86-4-Server/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