summaryrefslogtreecommitdiffstats
path: root/polkit
diff options
context:
space:
mode:
Diffstat (limited to 'polkit')
-rw-r--r--polkit/.footprint.i68640
-rw-r--r--polkit/.footprint.x86_6440
-rw-r--r--polkit/.md5sum.i6863
-rw-r--r--polkit/.md5sum.x86_642
-rwxr-xr-xpolkit/Pkgfile18
-rw-r--r--polkit/polkit.pam7
-rw-r--r--polkit/pre-install3
7 files changed, 26 insertions, 87 deletions
diff --git a/polkit/.footprint.i686 b/polkit/.footprint.i686
index 10039a412..bb7808bae 100644
--- a/polkit/.footprint.i686
+++ b/polkit/.footprint.i686
@@ -3,18 +3,10 @@ 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
-drwx------ root/root etc/polkit-1/localauthority/
-drwxr-xr-x root/root etc/polkit-1/localauthority/10-vendor.d/
-drwxr-xr-x root/root etc/polkit-1/localauthority/20-org.d/
-drwxr-xr-x root/root etc/polkit-1/localauthority/30-site.d/
-drwxr-xr-x root/root etc/polkit-1/localauthority/50-local.d/
-drwxr-xr-x root/root etc/polkit-1/localauthority/90-mandatory.d/
-drwxr-xr-x root/root etc/polkit-1/nullbackend.conf.d/
--rw-r--r-- root/root etc/polkit-1/nullbackend.conf.d/50-nullbackend.conf
+drwx------ polkitd/polkitd etc/polkit-1/rules.d/
+-rwx------ polkitd/polkitd etc/polkit-1/rules.d/50-default.rules
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/pk-example-frobnicate
@@ -54,13 +46,6 @@ drwxr-xr-x root/root usr/include/polkit-1/polkitagent/
-rw-r--r-- root/root usr/include/polkit-1/polkitagent/polkitagentsession.h
-rw-r--r-- root/root usr/include/polkit-1/polkitagent/polkitagenttextlistener.h
-rw-r--r-- root/root usr/include/polkit-1/polkitagent/polkitagenttypes.h
-drwxr-xr-x root/root usr/include/polkit-1/polkitbackend/
--rw-r--r-- root/root usr/include/polkit-1/polkitbackend/polkitbackend.h
--rw-r--r-- root/root usr/include/polkit-1/polkitbackend/polkitbackendactionlookup.h
--rw-r--r-- root/root usr/include/polkit-1/polkitbackend/polkitbackendauthority.h
--rw-r--r-- root/root usr/include/polkit-1/polkitbackend/polkitbackendinteractiveauthority.h
--rw-r--r-- root/root usr/include/polkit-1/polkitbackend/polkitbackendlocalauthority.h
--rw-r--r-- root/root usr/include/polkit-1/polkitbackend/polkitbackendtypes.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/girepository-1.0/
-rw-r--r-- root/root usr/lib/girepository-1.0/Polkit-1.0.typelib
@@ -70,11 +55,6 @@ drwxr-xr-x root/root usr/lib/girepository-1.0/
lrwxrwxrwx root/root usr/lib/libpolkit-agent-1.so -> libpolkit-agent-1.so.0.0.0
lrwxrwxrwx root/root usr/lib/libpolkit-agent-1.so.0 -> libpolkit-agent-1.so.0.0.0
-rwxr-xr-x root/root usr/lib/libpolkit-agent-1.so.0.0.0
--rw-r--r-- root/root usr/lib/libpolkit-backend-1.a
--rwxr-xr-x root/root usr/lib/libpolkit-backend-1.la
-lrwxrwxrwx root/root usr/lib/libpolkit-backend-1.so -> libpolkit-backend-1.so.0.0.0
-lrwxrwxrwx root/root usr/lib/libpolkit-backend-1.so.0 -> libpolkit-backend-1.so.0.0.0
--rwxr-xr-x root/root usr/lib/libpolkit-backend-1.so.0.0.0
-rw-r--r-- root/root usr/lib/libpolkit-gobject-1.a
-rwxr-xr-x root/root usr/lib/libpolkit-gobject-1.la
lrwxrwxrwx root/root usr/lib/libpolkit-gobject-1.so -> libpolkit-gobject-1.so.0.0.0
@@ -85,10 +65,6 @@ drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/polkit-backend-1.pc
-rw-r--r-- root/root usr/lib/pkgconfig/polkit-gobject-1.pc
drwxr-xr-x root/root usr/lib/polkit-1/
-drwxr-xr-x root/root usr/lib/polkit-1/extensions/
--rw-r--r-- root/root usr/lib/polkit-1/extensions/libnullbackend.a
--rwxr-xr-x root/root usr/lib/polkit-1/extensions/libnullbackend.la
--rwxr-xr-x root/root usr/lib/polkit-1/extensions/libnullbackend.so
-rwsr-xr-x root/root usr/lib/polkit-1/polkit-agent-helper-1
-rwxr-xr-x root/root usr/lib/polkit-1/polkitd
drwxr-xr-x root/root usr/share/
@@ -106,21 +82,15 @@ drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/pkexec.1.gz
-rw-r--r-- root/root usr/share/man/man1/pkttyagent.1.gz
drwxr-xr-x root/root usr/share/man/man8/
--rw-r--r-- root/root usr/share/man/man8/pklocalauthority.8.gz
-rw-r--r-- root/root usr/share/man/man8/polkit.8.gz
-rw-r--r-- root/root usr/share/man/man8/polkitd.8.gz
drwxr-xr-x root/root usr/share/polkit-1/
drwxr-xr-x root/root usr/share/polkit-1/actions/
-rw-r--r-- root/root usr/share/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy
-rw-r--r-- root/root usr/share/polkit-1/actions/org.freedesktop.policykit.policy
+drwx------ polkitd/polkitd usr/share/polkit-1/rules.d/
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/lib/
-drwx------ root/root var/lib/polkit-1/
-drwxr-xr-x root/root var/lib/polkit-1/localauthority/
-drwxr-xr-x root/root var/lib/polkit-1/localauthority/10-vendor.d/
-drwxr-xr-x root/root var/lib/polkit-1/localauthority/20-org.d/
-drwxr-xr-x root/root var/lib/polkit-1/localauthority/30-site.d/
-drwxr-xr-x root/root var/lib/polkit-1/localauthority/50-local.d/
-drwxr-xr-x root/root var/lib/polkit-1/localauthority/90-mandatory.d/
+drwxr-xr-x root/root var/lib/polkit-1/
drwxr-xr-x root/root var/run/
drwxr-xr-x root/root var/run/polkit-1/
diff --git a/polkit/.footprint.x86_64 b/polkit/.footprint.x86_64
index 10039a412..bb7808bae 100644
--- a/polkit/.footprint.x86_64
+++ b/polkit/.footprint.x86_64
@@ -3,18 +3,10 @@ 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
-drwx------ root/root etc/polkit-1/localauthority/
-drwxr-xr-x root/root etc/polkit-1/localauthority/10-vendor.d/
-drwxr-xr-x root/root etc/polkit-1/localauthority/20-org.d/
-drwxr-xr-x root/root etc/polkit-1/localauthority/30-site.d/
-drwxr-xr-x root/root etc/polkit-1/localauthority/50-local.d/
-drwxr-xr-x root/root etc/polkit-1/localauthority/90-mandatory.d/
-drwxr-xr-x root/root etc/polkit-1/nullbackend.conf.d/
--rw-r--r-- root/root etc/polkit-1/nullbackend.conf.d/50-nullbackend.conf
+drwx------ polkitd/polkitd etc/polkit-1/rules.d/
+-rwx------ polkitd/polkitd etc/polkit-1/rules.d/50-default.rules
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/pk-example-frobnicate
@@ -54,13 +46,6 @@ drwxr-xr-x root/root usr/include/polkit-1/polkitagent/
-rw-r--r-- root/root usr/include/polkit-1/polkitagent/polkitagentsession.h
-rw-r--r-- root/root usr/include/polkit-1/polkitagent/polkitagenttextlistener.h
-rw-r--r-- root/root usr/include/polkit-1/polkitagent/polkitagenttypes.h
-drwxr-xr-x root/root usr/include/polkit-1/polkitbackend/
--rw-r--r-- root/root usr/include/polkit-1/polkitbackend/polkitbackend.h
--rw-r--r-- root/root usr/include/polkit-1/polkitbackend/polkitbackendactionlookup.h
--rw-r--r-- root/root usr/include/polkit-1/polkitbackend/polkitbackendauthority.h
--rw-r--r-- root/root usr/include/polkit-1/polkitbackend/polkitbackendinteractiveauthority.h
--rw-r--r-- root/root usr/include/polkit-1/polkitbackend/polkitbackendlocalauthority.h
--rw-r--r-- root/root usr/include/polkit-1/polkitbackend/polkitbackendtypes.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/girepository-1.0/
-rw-r--r-- root/root usr/lib/girepository-1.0/Polkit-1.0.typelib
@@ -70,11 +55,6 @@ drwxr-xr-x root/root usr/lib/girepository-1.0/
lrwxrwxrwx root/root usr/lib/libpolkit-agent-1.so -> libpolkit-agent-1.so.0.0.0
lrwxrwxrwx root/root usr/lib/libpolkit-agent-1.so.0 -> libpolkit-agent-1.so.0.0.0
-rwxr-xr-x root/root usr/lib/libpolkit-agent-1.so.0.0.0
--rw-r--r-- root/root usr/lib/libpolkit-backend-1.a
--rwxr-xr-x root/root usr/lib/libpolkit-backend-1.la
-lrwxrwxrwx root/root usr/lib/libpolkit-backend-1.so -> libpolkit-backend-1.so.0.0.0
-lrwxrwxrwx root/root usr/lib/libpolkit-backend-1.so.0 -> libpolkit-backend-1.so.0.0.0
--rwxr-xr-x root/root usr/lib/libpolkit-backend-1.so.0.0.0
-rw-r--r-- root/root usr/lib/libpolkit-gobject-1.a
-rwxr-xr-x root/root usr/lib/libpolkit-gobject-1.la
lrwxrwxrwx root/root usr/lib/libpolkit-gobject-1.so -> libpolkit-gobject-1.so.0.0.0
@@ -85,10 +65,6 @@ drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/polkit-backend-1.pc
-rw-r--r-- root/root usr/lib/pkgconfig/polkit-gobject-1.pc
drwxr-xr-x root/root usr/lib/polkit-1/
-drwxr-xr-x root/root usr/lib/polkit-1/extensions/
--rw-r--r-- root/root usr/lib/polkit-1/extensions/libnullbackend.a
--rwxr-xr-x root/root usr/lib/polkit-1/extensions/libnullbackend.la
--rwxr-xr-x root/root usr/lib/polkit-1/extensions/libnullbackend.so
-rwsr-xr-x root/root usr/lib/polkit-1/polkit-agent-helper-1
-rwxr-xr-x root/root usr/lib/polkit-1/polkitd
drwxr-xr-x root/root usr/share/
@@ -106,21 +82,15 @@ drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/pkexec.1.gz
-rw-r--r-- root/root usr/share/man/man1/pkttyagent.1.gz
drwxr-xr-x root/root usr/share/man/man8/
--rw-r--r-- root/root usr/share/man/man8/pklocalauthority.8.gz
-rw-r--r-- root/root usr/share/man/man8/polkit.8.gz
-rw-r--r-- root/root usr/share/man/man8/polkitd.8.gz
drwxr-xr-x root/root usr/share/polkit-1/
drwxr-xr-x root/root usr/share/polkit-1/actions/
-rw-r--r-- root/root usr/share/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy
-rw-r--r-- root/root usr/share/polkit-1/actions/org.freedesktop.policykit.policy
+drwx------ polkitd/polkitd usr/share/polkit-1/rules.d/
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/lib/
-drwx------ root/root var/lib/polkit-1/
-drwxr-xr-x root/root var/lib/polkit-1/localauthority/
-drwxr-xr-x root/root var/lib/polkit-1/localauthority/10-vendor.d/
-drwxr-xr-x root/root var/lib/polkit-1/localauthority/20-org.d/
-drwxr-xr-x root/root var/lib/polkit-1/localauthority/30-site.d/
-drwxr-xr-x root/root var/lib/polkit-1/localauthority/50-local.d/
-drwxr-xr-x root/root var/lib/polkit-1/localauthority/90-mandatory.d/
+drwxr-xr-x root/root var/lib/polkit-1/
drwxr-xr-x root/root var/run/
drwxr-xr-x root/root var/run/polkit-1/
diff --git a/polkit/.md5sum.i686 b/polkit/.md5sum.i686
index 9ef039196..11a7067b2 100644
--- a/polkit/.md5sum.i686
+++ b/polkit/.md5sum.i686
@@ -1,2 +1 @@
-9c29e1b6c214f0bd6f1d4ee303dfaed9 polkit-0.105.tar.gz
-6564f95878297b954f0572bc1610dd15 polkit.pam
+739d1ca4bf3462175030ce3d7771d7fa polkit-0.106.tar.gz
diff --git a/polkit/.md5sum.x86_64 b/polkit/.md5sum.x86_64
index 9ef039196..04dc4a7ee 100644
--- a/polkit/.md5sum.x86_64
+++ b/polkit/.md5sum.x86_64
@@ -1,2 +1,2 @@
-9c29e1b6c214f0bd6f1d4ee303dfaed9 polkit-0.105.tar.gz
+739d1ca4bf3462175030ce3d7771d7fa polkit-0.106.tar.gz
6564f95878297b954f0572bc1610dd15 polkit.pam
diff --git a/polkit/Pkgfile b/polkit/Pkgfile
index 69e9d0ab3..ab01777fe 100755
--- a/polkit/Pkgfile
+++ b/polkit/Pkgfile
@@ -2,26 +2,30 @@
# 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: expat, linux-pam, pambase, js, gobject-introspection, intltool
+# Run on: expat,linux-pam,pambase
name=polkit
-version=0.105
+version=0.106
release=1
-source=(http://www.freedesktop.org/software/polkit/releases/polkit-0.105.tar.gz
- polkit.pam)
+source=(http://www.freedesktop.org/software/polkit/releases/polkit-$version.tar.gz)
build() {
cd $name-$version
- unset MAKEFLAGS
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/polkit-1 \
--mandir=/usr/share/man \
--localstatedir=/var \
+ --enable-examples \
+ --enable-libsystemd-login=no \
+ --with-polkitd-user=polkitd \
--with-os-type=NuTyX
make
make DESTDIR=$PKG install
mkdir -p $PKG/var/{lib,run}/polkit-1
- mv $PKG/etc/pam.d/polkit{-1,}
+
+ chmod 4755 $PKG/usr/lib/polkit-1/polkit-agent-helper-1 $PKG/usr/bin/pkexec
+ chown -R polkitd:polkitd $PKG/etc/polkit-1/rules.d $PKG/usr/share/polkit-1/rules.d
+ chmod -R 700 $PKG/etc/polkit-1/rules.d $PKG/usr/share/polkit-1/rules.d
}
diff --git a/polkit/polkit.pam b/polkit/polkit.pam
deleted file mode 100644
index 04f53e0db..000000000
--- a/polkit/polkit.pam
+++ /dev/null
@@ -1,7 +0,0 @@
-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
diff --git a/polkit/pre-install b/polkit/pre-install
new file mode 100644
index 000000000..d144c682a
--- /dev/null
+++ b/polkit/pre-install
@@ -0,0 +1,3 @@
+#!/bin/sh
+getent group polkitd > /dev/null || /usr/sbin/groupadd -g 73 polkitd
+getent passwd polkitd > /dev/null || /usr/sbin/useradd -c "Polkit Daemon User" -g polkitd -d /usr/lib/polkit-1 -u 73 -s /sbin/nologin polkitd