summaryrefslogtreecommitdiffstats
path: root/polkit
diff options
context:
space:
mode:
Diffstat (limited to 'polkit')
-rw-r--r--polkit/.footprint.i6862
-rw-r--r--polkit/.footprint.x86_642
-rw-r--r--polkit/.md5sum.i6861
-rw-r--r--polkit/.md5sum.x86_641
-rwxr-xr-xpolkit/Pkgfile11
-rw-r--r--polkit/polkit.pam7
6 files changed, 17 insertions, 7 deletions
diff --git a/polkit/.footprint.i686 b/polkit/.footprint.i686
index 528f14b09..d9880950f 100644
--- a/polkit/.footprint.i686
+++ b/polkit/.footprint.i686
@@ -3,7 +3,7 @@ drwxr-xr-x root/root etc/dbus-1/
drwxr-xr-x root/root etc/dbus-1/system.d/
-rw-r--r-- root/root etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
drwxr-xr-x root/root etc/pam.d/
--rw-r--r-- root/root etc/pam.d/polkit
+-rw-r--r-- root/root etc/pam.d/polkit-1
drwxr-xr-x root/root etc/polkit-1/
drwxr-xr-x root/root etc/polkit-1/localauthority.conf.d/
-rw-r--r-- root/root etc/polkit-1/localauthority.conf.d/50-localauthority.conf
diff --git a/polkit/.footprint.x86_64 b/polkit/.footprint.x86_64
index 528f14b09..d9880950f 100644
--- a/polkit/.footprint.x86_64
+++ b/polkit/.footprint.x86_64
@@ -3,7 +3,7 @@ drwxr-xr-x root/root etc/dbus-1/
drwxr-xr-x root/root etc/dbus-1/system.d/
-rw-r--r-- root/root etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
drwxr-xr-x root/root etc/pam.d/
--rw-r--r-- root/root etc/pam.d/polkit
+-rw-r--r-- root/root etc/pam.d/polkit-1
drwxr-xr-x root/root etc/polkit-1/
drwxr-xr-x root/root etc/polkit-1/localauthority.conf.d/
-rw-r--r-- root/root etc/polkit-1/localauthority.conf.d/50-localauthority.conf
diff --git a/polkit/.md5sum.i686 b/polkit/.md5sum.i686
index e405c6d73..44ea70452 100644
--- a/polkit/.md5sum.i686
+++ b/polkit/.md5sum.i686
@@ -1 +1,2 @@
a3726bdb9728c103e58f62131e26693a polkit-0.102.tar.gz
+6564f95878297b954f0572bc1610dd15 polkit.pam
diff --git a/polkit/.md5sum.x86_64 b/polkit/.md5sum.x86_64
index e405c6d73..44ea70452 100644
--- a/polkit/.md5sum.x86_64
+++ b/polkit/.md5sum.x86_64
@@ -1 +1,2 @@
a3726bdb9728c103e58f62131e26693a polkit-0.102.tar.gz
+6564f95878297b954f0572bc1610dd15 polkit.pam
diff --git a/polkit/Pkgfile b/polkit/Pkgfile
index 324fbbbc9..088ca7ced 100755
--- a/polkit/Pkgfile
+++ b/polkit/Pkgfile
@@ -2,13 +2,14 @@
# URL: http://hal.freedesktop.org/docs/polkit
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: expat, linux-pam, gobject-introspection, intltool
-# Run on: expat,linux-pam
+# Depends on: glib, expat, linux-pam, gobject-introspection, intltool
+# Run on: glib,expat,linux-pam
name=polkit
version=0.102
-release=3
-source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz)
+release=1
+source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz
+ polkit.pam)
build() {
cd $name-$version
@@ -21,5 +22,5 @@ build() {
make
make DESTDIR=$PKG install
mkdir -p $PKG/var/{lib,run}/polkit-1
- mv $PKG/etc/pam.d/polkit{-1,}
+ install -m644 $SRC/polkit.pam $PKG/etc/pam.d/polkit-1
}
diff --git a/polkit/polkit.pam b/polkit/polkit.pam
new file mode 100644
index 000000000..04f53e0db
--- /dev/null
+++ b/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