From 867ef9269c79f513ff5b9dde358324a2ee83d584 Mon Sep 17 00:00:00 2001 From: sibel Date: Thu, 21 Apr 2011 16:19:43 +0200 Subject: polkit, correction --- extra/polkit/.footprint.x86_64 | 5 ++++- extra/polkit/Pkgfile | 19 +++++++++++++------ 2 files changed, 17 insertions(+), 7 deletions(-) (limited to 'extra/polkit') 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 } -- cgit v1.2.3-70-g09d2