#%PAM-1.0
-auth sufficient /lib/security/pam_rootok.so
-auth required /lib/security/pam_console.so
-account required /lib/security/pam_permit.so
+
+auth sufficient /lib/security/pam_rootok.so
+# Next line you need console ownership to be able to start X
+#auth required /lib/security/pam_console.so
+auth required /lib/security/pam_permit.so
+
+account required /lib/security/pam_permit.so
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.2.1-r1.ebuild,v 1.1 2002/11/03 11:41:20 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.2.1-r1.ebuild,v 1.2 2002/11/03 14:19:29 azarah Exp $
IUSE="sse nls mmx truetype 3dnow 3dfx"
fi
eend 0
+ # These are not included anymore as they are obsolete
+ rm -rf ${S}/xc/doc/hardcopy/{XIE,PEX5}
+ for x in ${S}/xc/programs/Xserver/hw/xfree86/{XF98Conf.cpp,XF98Config}
+ do
+ cp ${x} ${x}.orig
+ grep -iv 'Load[[:space:]]*"\(pex5\|xie\)"' ${x}.orig > ${x}
+ rm -f ${x}.orig
+ done
+
# Apply Xft quality patch from http://www.cs.mcgill.ca/~dchest/xfthack/
# einfo "Applying Xft quality hack..."
# cd ${S}/lib/Xft
insinto /etc/pam.d
newins ${FILESDIR}/${PVR}/xdm.pamd xdm
# Need to fix console permissions first
- #newins ${FILESDIR}/${PVR}/xserver.pamd xserver
+ newins ${FILESDIR}/${PVR}/xserver.pamd xserver
exeinto /etc/init.d
newexe ${FILESDIR}/${PVR}/xdm.start xdm
newexe ${FILESDIR}/${PVR}/xfs.start xfs