diff --git a/srcpkgs/polkit/polkit.rshlibs b/srcpkgs/polkit/polkit.rshlibs index 7e1452dbd62..3d8972189a2 100644 --- a/srcpkgs/polkit/polkit.rshlibs +++ b/srcpkgs/polkit/polkit.rshlibs @@ -1,4 +1,4 @@ -libmozjs185.so.1.0 +libgmodule-2.0.so.0 libgobject-2.0.so.0 libglib-2.0.so.0 libpthread.so.0 diff --git a/srcpkgs/polkit/template b/srcpkgs/polkit/template index 65f7c9b9cd1..23a99e6d62f 100644 --- a/srcpkgs/polkit/template +++ b/srcpkgs/polkit/template @@ -1,20 +1,16 @@ # Template file for 'polkit' pkgname=polkit -version=0.107 +version=0.108 revision=1 build_style=gnu-configure configure_args="--disable-static --enable-systemd=yes --with-authfw=pam ---with-systemdsystemunitdir=/usr/lib/systemd/system" -makedepends="pkg-config intltool libxslt docbook-xsl glib-devel -expat-devel pam-devel systemd-devel gobject-introspection js-devel" -replaces="PolicyKit>=0" -subpackages="polkit-devel" + --with-systemdsystemunitdir=/usr/lib/systemd/system" short_desc="Authorization Toolkit" maintainer="Juan RP " homepage="http://www.freedesktop.org/wiki/Software/PolicyKit" license="GPL-2" distfiles="http://www.freedesktop.org/software/polkit/releases/$pkgname-$version.tar.gz" -checksum=c826973db2b226dc8f807af5143f7b8be5d0270f46c0c1241a83b067db9d8311 +checksum=2877c15f56abe43609f6ece54ee0bfea169ca6d7b271b17296b14d751eab23a6 long_desc=" PolicyKit is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes. @@ -23,7 +19,12 @@ long_desc=" to granting access to privileged operations (like calling the HAL Mount() method) for unprivileged (desktop) applications." +LDFLAGS="-lgmodule-2.0" + system_accounts="polkitd" +subpackages="polkit-devel" +makedepends="pkg-config intltool libxslt docbook-xsl glib-devel + expat-devel pam-devel systemd-devel gobject-introspection js-devel" post_install() { vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1