2009-03-22 04:33:42 +01:00
|
|
|
# Template file for 'ConsoleKit'
|
|
|
|
pkgname=ConsoleKit
|
2011-05-04 15:09:45 +02:00
|
|
|
version=0.4.5
|
2012-07-09 22:47:06 +02:00
|
|
|
revision=9
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-11-30 06:09:17 +01:00
|
|
|
configure_args="--enable-docbook-docs --enable-pam-module
|
2012-07-09 22:47:06 +02:00
|
|
|
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
|
|
|
--with-pam-module-dir=/usr/lib/security"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="pkg-config xmlto libX11-devel dbus-devel glib-devel dbus-glib-devel pam-devel polkit-devel zlib-devel"
|
2009-03-22 04:33:42 +01:00
|
|
|
short_desc="Framework for defining and tracking users, login sessions and seats"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-29 15:32:52 +02:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/ConsoleKit"
|
|
|
|
license="GPL-2"
|
2012-07-09 22:47:06 +02:00
|
|
|
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
|
2011-05-04 15:09:45 +02:00
|
|
|
checksum=43e0780c53078e125efcec3f847e484dc3533e49b408ce6a0ab1b223686b9c38
|
2009-03-22 04:33:42 +01:00
|
|
|
long_desc="
|
|
|
|
ConsoleKit is a framework for keeping track of the various users, sessions,
|
|
|
|
and seats present on a system. It provides a mechanism for software to react
|
2009-11-30 06:09:17 +01:00
|
|
|
to changes of any of these items or of any of the metadata associated with
|
2009-03-22 04:33:42 +01:00
|
|
|
them."
|
|
|
|
|
2011-11-10 13:04:12 +01:00
|
|
|
systemd_services="console-kit-daemon.service on"
|
2010-12-04 10:04:50 +01:00
|
|
|
conf_files="/etc/logrotate.d/ConsoleKit"
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="$pkgname-devel $pkgname-x11"
|
2011-11-09 19:50:39 +01:00
|
|
|
make_dirs="/var/log/${pkgname} 0755 root root"
|
2010-01-08 18:46:47 +01:00
|
|
|
|
2012-07-09 12:41:28 +02:00
|
|
|
post_install() {
|
2011-11-09 16:59:19 +01:00
|
|
|
vinstall ${FILESDIR}/pam-foreground-compat.ck 755 \
|
|
|
|
usr/lib/${pkgname}/run-session.d
|
|
|
|
for f in seat session; do
|
|
|
|
vmkdir etc/${pkgname}/run-${f}.d
|
|
|
|
touch ${DESTDIR}/etc/${pkgname}/run-${f}.d/.owned
|
|
|
|
done
|
|
|
|
vmkdir usr/lib/${pkgname}/run-seat.d
|
|
|
|
touch ${DESTDIR}/usr/lib/${pkgname}/run-seat.d/.owned
|
|
|
|
vinstall ${FILESDIR}/ck.logrotate 644 etc/logrotate.d ConsoleKit
|
2009-11-30 06:09:17 +01:00
|
|
|
}
|