summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-02-04 21:40:51 +0100
committersibel <lesibel@free.fr>2011-02-04 21:40:51 +0100
commit0dc963fb878d9c3c48bd98d1875ce66e4b62626e (patch)
tree1a9d91b658716f44c2444a7b849e73ac891f0b0a
parent7a14b0a67d4359b71748b6fce8560ca01dacdbb1 (diff)
downloadnutyx-pakxe-0dc963fb878d9c3c48bd98d1875ce66e4b62626e.tar.gz
nutyx-pakxe-0dc963fb878d9c3c48bd98d1875ce66e4b62626e.tar.bz2
nutyx-pakxe-0dc963fb878d9c3c48bd98d1875ce66e4b62626e.tar.xz
nutyx-pakxe-0dc963fb878d9c3c48bd98d1875ce66e4b62626e.zip
polkit, correction 0.99-2
-rwxr-xr-xextra/polkit/Pkgfile8
-rw-r--r--extra/polkit/polkit.pam7
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