Merge pull request #1027 from nmeum/master

xdm: add pam support.
This commit is contained in:
Juan RP 2015-02-26 06:40:40 +01:00
commit e3b8e74d7b
2 changed files with 14 additions and 3 deletions

View File

@ -0,0 +1,8 @@
auth required pam_unix.so
auth required pam_nologin.so
auth required pam_env.so
account required pam_unix.so
password required pam_unix.so
session required pam_unix.so
session required pam_limits.so
session required pam_loginuid.so

View File

@ -1,14 +1,16 @@
# Template build file for 'xdm'.
pkgname=xdm
version=1.1.11
revision=4
revision=5
build_style=gnu-configure
configure_args="--with-random-device=/dev/urandom
--with-utmp-file=/var/run/utmp
--with-wtmp-file=/var/log/wtmp
--with-xdmconfigdir=/etc/X11/xdm"
--with-xdmconfigdir=/etc/X11/xdm
--with-pam"
conf_files="/etc/pam.d/xdm"
hostmakedepends="pkg-config"
makedepends="libXaw-devel"
makedepends="pam-devel libXaw-devel"
depends="sessreg xconsole"
short_desc="X Display Manager"
homepage="http://xorg.freedesktop.org"
@ -19,4 +21,5 @@ checksum=d4da426ddea0124279a3f2e00a26db61944690628ee818a64df9d27352081c47
post_install() {
vsv xdm
vinstall ${FILESDIR}/xdm.pam 644 etc/pam.d xdm
}