summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-04-21 16:19:43 +0200
committersibel <lesibel@free.fr>2011-04-21 16:19:43 +0200
commit867ef9269c79f513ff5b9dde358324a2ee83d584 (patch)
tree4e51fa87450c4e4868c7bb2885fb184d03f8db47
parentb1cb2685e0106a78b9f8cae2392083c4bd390d98 (diff)
downloadnutyx-pakxe-867ef9269c79f513ff5b9dde358324a2ee83d584.tar.gz
nutyx-pakxe-867ef9269c79f513ff5b9dde358324a2ee83d584.tar.bz2
nutyx-pakxe-867ef9269c79f513ff5b9dde358324a2ee83d584.tar.xz
nutyx-pakxe-867ef9269c79f513ff5b9dde358324a2ee83d584.zip
polkit, correction
-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
}