From 04be73b641afcc88334cc30091d84f30d5a1d5e4 Mon Sep 17 00:00:00 2001 From: piernov Date: Mon, 2 Jul 2012 20:05:31 +0200 Subject: polkit 0.106-1 màj port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- polkit/Pkgfile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'polkit/Pkgfile') 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 } -- cgit v1.2.3-70-g09d2