aboutsummaryrefslogtreecommitdiffstats
path: root/x11/XFree86
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1999-12-25 00:42:18 +0800
committermarkm <markm@FreeBSD.org>1999-12-25 00:42:18 +0800
commita1aa7c31fe5eb626a0a93e1418b4a01dcef37e17 (patch)
tree29d5df8e768741ccdcc9105d3d28336f8158fe13 /x11/XFree86
parent088f068f0bed208913836965c59fb3e6c4916f0c (diff)
downloadfreebsd-ports-gnome-a1aa7c31fe5eb626a0a93e1418b4a01dcef37e17.tar.gz
freebsd-ports-gnome-a1aa7c31fe5eb626a0a93e1418b4a01dcef37e17.tar.zst
freebsd-ports-gnome-a1aa7c31fe5eb626a0a93e1418b4a01dcef37e17.zip
Remove the old KerberosIV stuff and PAM-ize.
OK'ed by: jmz
Diffstat (limited to 'x11/XFree86')
-rw-r--r--x11/XFree86/Makefile2
-rw-r--r--x11/XFree86/files/patch-aa11
-rw-r--r--x11/XFree86/scripts/configure50
3 files changed, 17 insertions, 46 deletions
diff --git a/x11/XFree86/Makefile b/x11/XFree86/Makefile
index 0ee98864689e..c450f394a9dd 100644
--- a/x11/XFree86/Makefile
+++ b/x11/XFree86/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/files/patch-aa b/x11/XFree86/files/patch-aa
new file mode 100644
index 000000000000..def1d4dd3fb6
--- /dev/null
+++ b/x11/XFree86/files/patch-aa
@@ -0,0 +1,11 @@
+--- programs/Xserver/Imakefile.ORIG Sun Nov 14 18:16:17 1999
++++ programs/Xserver/Imakefile Sun Nov 14 18:17:24 1999
+@@ -161,7 +161,7 @@
+ SYSLIBS = $(ZLIB) MathLibrary Krb5Libraries DBMLibrary $(EXTRASYSLIBS)
+ #endif
+ #if HasPam
+- PAMLIBS = -lpam -lpam_misc -ldl
++ PAMLIBS = -lpam
+ #endif
+ CBRT = mi/LibraryTargetName(cbrt)
+ STDDIRS = include dix os mi $(XPDDXDIR) $(EXTDIRS)
diff --git a/x11/XFree86/scripts/configure b/x11/XFree86/scripts/configure
index f45e2e3b0ceb..e9d18f564837 100644
--- a/x11/XFree86/scripts/configure
+++ b/x11/XFree86/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