Remove ConsoleKit; obsolete and unmaintained.

This commit is contained in:
Juan RP 2013-04-11 14:46:53 +02:00
parent e77543b336
commit 30b6eee12b
8 changed files with 0 additions and 98 deletions

View File

@ -1 +0,0 @@
ConsoleKit

View File

@ -1 +0,0 @@
ConsoleKit

View File

@ -1,16 +0,0 @@
# Template file for 'ConsoleKit-devel'.
#
depends="libX11-devel dbus-devel glib-devel pam-devel polkit-devel zlib-devel ConsoleKit"
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

View File

@ -1,14 +0,0 @@
# Template file for 'ConsoleKit-x11'.
#
depends="dbus-x11 ConsoleKit"
short_desc="${sourcepkg} X11-requiring add-ons"
long_desc="${long_desc}
This package contains some tools that require X libraries."
do_install()
{
vmove "usr/libexec/ck*" usr/libexec
}

View File

@ -1,8 +0,0 @@
#
# This script removes leftovers dirs at purge time.
#
case "${ACTION}" in
purge)
[ -d var/log/ConsoleKit ] && rm -rf var/log/ConsoleKit
;;
esac

View File

@ -1,5 +0,0 @@
/var/log/ConsoleKit/history {
missingok
notifempty
delaycompress
}

View File

@ -1,16 +0,0 @@
#!/bin/sh
TAGDIR=/var/run/console
[ -n "$CK_SESSION_USER_UID" ] || exit 1
TAGFILE="$TAGDIR/`getent passwd $CK_SESSION_USER_UID | cut -f 1 -d:`"
if [ "$1" = "session_added" ]; then
mkdir -p "$TAGDIR"
echo "$CK_SESSION_ID" >> "$TAGFILE"
fi
if [ "$1" = "session_removed" ] && [ -e "$TAGFILE" ]; then
sed -i "\%^$CK_SESSION_ID\$%d" "$TAGFILE"
[ -s "$TAGFILE" ] || rm -f "$TAGFILE"
fi

View File

@ -1,37 +0,0 @@
# Template file for 'ConsoleKit'
pkgname=ConsoleKit
version=0.4.5
revision=9
build_style=gnu-configure
configure_args="--enable-docbook-docs --enable-pam-module
--with-systemdsystemunitdir=/usr/lib/systemd/system
--with-pam-module-dir=/usr/lib/security"
makedepends="pkg-config xmlto libX11-devel dbus-devel glib-devel dbus-glib-devel pam-devel polkit-devel zlib-devel"
short_desc="Framework for defining and tracking users, login sessions and seats"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/ConsoleKit"
license="GPL-2"
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
checksum=43e0780c53078e125efcec3f847e484dc3533e49b408ce6a0ab1b223686b9c38
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
to changes of any of these items or of any of the metadata associated with
them."
systemd_services="console-kit-daemon.service on"
conf_files="/etc/logrotate.d/ConsoleKit"
subpackages="$pkgname-devel $pkgname-x11"
make_dirs="/var/log/${pkgname} 0755 root root"
post_install() {
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
}