summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/polkit/.footprint.x86_645
-rwxr-xr-xextra/polkit/Pkgfile19
2 files changed, 17 insertions, 7 deletions
diff --git a/extra/polkit/.footprint.x86_64 b/extra/polkit/.footprint.x86_64
index 6afaa253f..dd6821290 100644
--- a/extra/polkit/.footprint.x86_64
+++ b/extra/polkit/.footprint.x86_64
@@ -3,7 +3,8 @@ 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-1
+drwxr-xr-x root/root etc/pam.d/polkit-1/
+-rw-r--r-- root/root etc/pam.d/polkit-1/polkit.pam
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
@@ -115,3 +116,5 @@ 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/run/
+drwxr-xr-x root/root var/run/polkit-1/
diff --git a/extra/polkit/Pkgfile b/extra/polkit/Pkgfile
index 7fc5cd551..80a2165b9 100755
--- a/extra/polkit/Pkgfile
+++ b/extra/polkit/Pkgfile
@@ -7,20 +7,27 @@
name=polkit
version=0.101
-release=2
+release=3
source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz
polkit.pam)
build() {
cd $name-$version
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/polkit-1 \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --disable-static
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/polkit-1 \
+ --with-authfw=pam \
+ --with-authfw=shadow \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-nls \
+ --with-os-type=lfs
make
make DESTDIR=$PKG install
+ mkdir -p $PKG/etc/pam.d/polkit-1
install -m644 $SRC/polkit.pam $PKG/etc/pam.d/polkit-1
+ mkdir -p $PKG/var/run/polkit-1
+ mkdir -p $PKG/var/lib/polkit-1
}