diff options
Diffstat (limited to 'polkit/Pkgfile')
-rwxr-xr-x | polkit/Pkgfile | 18 |
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 } |