diff options
Diffstat (limited to 'extra')
-rwxr-xr-x | extra/polkit/Pkgfile | 8 | ||||
-rw-r--r-- | extra/polkit/polkit.pam | 7 |
2 files changed, 12 insertions, 3 deletions
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 |