From e1ded0e52ff8573769501cdd0074bac8ad17aec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Wed, 25 Feb 2015 23:41:08 +0100 Subject: [PATCH] xdm: add pam support. --- srcpkgs/xdm/files/xdm.pam | 8 ++++++++ srcpkgs/xdm/template | 9 ++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/xdm/files/xdm.pam diff --git a/srcpkgs/xdm/files/xdm.pam b/srcpkgs/xdm/files/xdm.pam new file mode 100644 index 0000000000..06f88746d3 --- /dev/null +++ b/srcpkgs/xdm/files/xdm.pam @@ -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 diff --git a/srcpkgs/xdm/template b/srcpkgs/xdm/template index 90ac5cf6f4..d41c75ec9b 100644 --- a/srcpkgs/xdm/template +++ b/srcpkgs/xdm/template @@ -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 }