summaryrefslogtreecommitdiffstats
path: root/polkit/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-07-02 20:05:31 +0200
committerpiernov <piernov@piernov.org>2012-07-02 20:05:31 +0200
commit04be73b641afcc88334cc30091d84f30d5a1d5e4 (patch)
tree4ee5f32758d8369fadf152f479c43ff9b2d5d8ad /polkit/Pkgfile
parente133ccafc162c502a2ae09fd31065b565c3e0f61 (diff)
downloadnutyx-extra-04be73b641afcc88334cc30091d84f30d5a1d5e4.tar.gz
nutyx-extra-04be73b641afcc88334cc30091d84f30d5a1d5e4.tar.bz2
nutyx-extra-04be73b641afcc88334cc30091d84f30d5a1d5e4.tar.xz
nutyx-extra-04be73b641afcc88334cc30091d84f30d5a1d5e4.zip
polkit 0.106-1 màj port
Diffstat (limited to 'polkit/Pkgfile')
-rwxr-xr-xpolkit/Pkgfile18
1 files changed, 11 insertions, 7 deletions
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
}