2009-11-28 23:08:14 +00:00
|
|
|
# Template file for 'polkit'
|
|
|
|
pkgname=polkit
|
2012-10-06 13:32:40 +00:00
|
|
|
version=0.107
|
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-06 13:32:40 +00:00
|
|
|
configure_args="--disable-static --enable-systemd=yes --with-authfw=pam
|
|
|
|
--with-systemdsystemunitdir=/usr/lib/systemd/system"
|
2012-07-09 16:19:40 +00:00
|
|
|
makedepends="pkg-config intltool libxslt docbook-xsl glib-devel
|
2012-10-06 13:32:40 +00:00
|
|
|
expat-devel pam-devel systemd-devel gobject-introspection js-devel"
|
2012-05-27 18:04:01 +00:00
|
|
|
replaces="PolicyKit>=0"
|
|
|
|
subpackages="polkit-devel"
|
2009-11-28 23:08:14 +00:00
|
|
|
short_desc="Authorization Toolkit"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-18 07:14:31 +00:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/PolicyKit"
|
|
|
|
license="GPL-2"
|
2012-07-09 16:19:40 +00:00
|
|
|
distfiles="http://www.freedesktop.org/software/polkit/releases/$pkgname-$version.tar.gz"
|
2012-10-06 13:32:40 +00:00
|
|
|
checksum=c826973db2b226dc8f807af5143f7b8be5d0270f46c0c1241a83b067db9d8311
|
2009-11-28 23:08:14 +00:00
|
|
|
long_desc="
|
|
|
|
PolicyKit is an application-level toolkit for defining and handling the
|
|
|
|
policy that allows unprivileged processes to speak to privileged processes.
|
|
|
|
|
|
|
|
It is a framework for centralizing the decision making process with respect
|
|
|
|
to granting access to privileged operations (like calling the HAL Mount()
|
|
|
|
method) for unprivileged (desktop) applications."
|
|
|
|
|
2012-10-06 13:32:40 +00:00
|
|
|
system_accounts="polkitd"
|
2011-10-11 01:30:56 +00:00
|
|
|
|
2011-11-10 11:27:27 +00:00
|
|
|
post_install() {
|
2011-10-13 23:24:03 +00:00
|
|
|
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
|
2012-10-06 13:32:40 +00:00
|
|
|
vinstall ${FILESDIR}/polkit.tmpfiles 644 usr/lib/tmpfiles.d polkit.conf
|
2009-11-28 23:08:14 +00:00
|
|
|
}
|