From 0dc963fb878d9c3c48bd98d1875ce66e4b62626e Mon Sep 17 00:00:00 2001 From: sibel Date: Fri, 4 Feb 2011 21:40:51 +0100 Subject: polkit, correction 0.99-2 --- extra/polkit/Pkgfile | 8 +++++--- extra/polkit/polkit.pam | 7 +++++++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 extra/polkit/polkit.pam (limited to 'extra/polkit') diff --git a/extra/polkit/Pkgfile b/extra/polkit/Pkgfile index 6375469a7..b1a2066a5 100755 --- a/extra/polkit/Pkgfile +++ b/extra/polkit/Pkgfile @@ -7,8 +7,10 @@ name=polkit version=0.99 -release=1 -source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz) +release=2 +source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz + polkit.pam) + build() { unset MAKEFLAGS cd $name-$version @@ -17,9 +19,9 @@ build() { --libexecdir=/usr/lib/polkit \ --mandir=/usr/share/man \ --localstatedir=/var \ - --libexecdir=/usr/lib/polkit-1 \ --disable-static make make DESTDIR=$PKG install + install -m644 $SRC/polkit.pam $PKG/etc/pam.d/polkit-1 } diff --git a/extra/polkit/polkit.pam b/extra/polkit/polkit.pam new file mode 100644 index 000000000..04f53e0db --- /dev/null +++ b/extra/polkit/polkit.pam @@ -0,0 +1,7 @@ +auth requisite pam_nologin.so +auth required pam_env.so +auth required pam_unix.so +account required pam_unix.so +session required pam_limits.so +session required pam_unix.so +password required pam_unix.so -- cgit v1.2.3-70-g09d2