consolkit: drop old unused package
Nothing depends on this, so punt it.
BUG=None
TEST=CQ passes
Change-Id: I5129385be93b7fff40b45f99c5ec769c658a07ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/portage-stable/+/2939125
Reviewed-by: Mengqi Guo <mqg@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/sys-auth/consolekit/Manifest b/sys-auth/consolekit/Manifest
deleted file mode 100644
index c4c5335..0000000
--- a/sys-auth/consolekit/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST ConsoleKit-0.4.4.tar.bz2 424699 RMD160 e9a37d8c71a9c8d09646be5d105ed9ecf45e9b5a SHA1 163ee0e6308b94dd4712cc64d5a34e8c9007d5d4 SHA256 f0c00969fb6fe7d628071f0f43ac0d411982a5e798d7dc31747caa772c9716ae
-DIST ConsoleKit-0.4.5.tar.bz2 425423 RMD160 2eba158e321778a4c17bf765d0106d214b93fe53 SHA1 6f090c1ce0d459dd6904854532554323755bdeca SHA256 43e0780c53078e125efcec3f847e484dc3533e49b408ce6a0ab1b223686b9c38
diff --git a/sys-auth/consolekit/consolekit-0.4.4.ebuild b/sys-auth/consolekit/consolekit-0.4.4.ebuild
deleted file mode 100644
index 1dc65c7..0000000
--- a/sys-auth/consolekit/consolekit-0.4.4.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/consolekit-0.4.4.ebuild,v 1.8 2011/04/23 16:58:35 ssuominen Exp $
-
-EAPI=3
-inherit autotools eutils linux-info multilib pam
-
-MY_PN=ConsoleKit
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="Framework for defining and tracking users, login sessions and seats."
-HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
-SRC_URI="http://www.freedesktop.org/software/${MY_PN}/dist/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="*"
-IUSE="debug doc kernel_linux pam policykit test"
-
-RDEPEND=">=dev-libs/dbus-glib-0.88
- >=dev-libs/glib-2.20:2
- sys-libs/zlib
- x11-libs/libX11
- pam? ( virtual/pam )
- policykit? ( >=sys-auth/polkit-0.96-r1 )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- dev-libs/libxslt
- doc? ( app-text/xmlto )
- test? ( app-text/docbook-xml-dtd:4.1.2 )"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- # This is required to get login-session-id string with pam_ck_connector.so
- if use pam && use kernel_linux; then
- CONFIG_CHECK="~AUDITSYSCALL"
- linux-info_pkg_setup
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-0.2.10-cleanup_console_tags.patch \
- "${FILESDIR}"/${PN}-0.4.0-polkit-automagic.patch \
- "${FILESDIR}"/${PN}-0.4.0-multilib.patch \
- "${FILESDIR}"/${PN}-0.4.1-shutdown-reboot-without-policies.patch
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- XMLTO_FLAGS="--skip-validation" \
- --localstatedir="${EPREFIX}"/var \
- $(use_enable pam pam-module) \
- $(use_enable doc docbook-docs) \
- $(use_enable debug) \
- $(use_enable policykit polkit) \
- --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \
- --with-pam-module-dir=$(getpam_mod_dir)
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \
- install || die
-
- dodoc AUTHORS ChangeLog HACKING NEWS README TODO
-
- newinitd "${FILESDIR}"/${PN}-0.1.rc consolekit
-
- keepdir /usr/$(get_libdir)/ConsoleKit/run-session.d
- keepdir /etc/ConsoleKit/run-session.d
- keepdir /var/run/ConsoleKit
- keepdir /var/log/ConsoleKit
-
- exeinto /etc/X11/xinit/xinitrc.d
- newexe "${FILESDIR}"/90-consolekit-3 90-consolekit || die
-
- exeinto /usr/$(get_libdir)/ConsoleKit/run-session.d
- doexe "${FILESDIR}"/pam-foreground-compat.ck || die
-
- find "${ED}" -name '*.la' -exec rm -f {} +
-}
-
-pkg_postinst() {
- ewarn "You need to restart ConsoleKit to get the new features."
- ewarn "This can be done with /etc/init.d/consolekit restart"
- ewarn "but make sure you do this and then restart your session"
- ewarn "otherwise you will get access denied for certain actions"
-}
diff --git a/sys-auth/consolekit/consolekit-0.4.5.ebuild b/sys-auth/consolekit/consolekit-0.4.5.ebuild
deleted file mode 100644
index d28c3d8..0000000
--- a/sys-auth/consolekit/consolekit-0.4.5.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/consolekit-0.4.5.ebuild,v 1.1 2011/05/15 07:14:20 ssuominen Exp $
-
-EAPI=4
-inherit autotools eutils linux-info multilib pam systemd
-
-MY_PN=ConsoleKit
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="Framework for defining and tracking users, login sessions and seats."
-HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
-SRC_URI="http://www.freedesktop.org/software/${MY_PN}/dist/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="*"
-IUSE="debug doc kernel_linux pam policykit test"
-
-RDEPEND=">=dev-libs/dbus-glib-0.88
- >=dev-libs/glib-2.20:2
- sys-libs/zlib
- x11-libs/libX11
- pam? ( virtual/pam )
- policykit? ( >=sys-auth/polkit-0.101-r1 )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- dev-libs/libxslt
- doc? ( app-text/xmlto )
- test? ( app-text/docbook-xml-dtd:4.1.2 )"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- # This is required to get login-session-id string with pam_ck_connector.so
- if use pam && use kernel_linux; then
- CONFIG_CHECK="~AUDITSYSCALL"
- linux-info_pkg_setup
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-0.2.10-cleanup_console_tags.patch \
- "${FILESDIR}"/${PN}-0.4.0-polkit-automagic.patch \
- "${FILESDIR}"/${PN}-0.4.0-multilib.patch \
- "${FILESDIR}"/${PN}-0.4.1-shutdown-reboot-without-policies.patch
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- XMLTO_FLAGS="--skip-validation" \
- --localstatedir="${EPREFIX}"/var \
- $(use_enable pam pam-module) \
- $(use_enable doc docbook-docs) \
- $(use_enable debug) \
- $(use_enable policykit polkit) \
- --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \
- --with-pam-module-dir=$(getpam_mod_dir) \
- "$(systemd_with_unitdir)"
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \
- install
-
- dodoc AUTHORS ChangeLog HACKING NEWS README TODO
-
- newinitd "${FILESDIR}"/${PN}-0.1.rc consolekit
-
- keepdir /usr/$(get_libdir)/ConsoleKit/run-session.d
- keepdir /etc/ConsoleKit/run-session.d
- keepdir /var/run/ConsoleKit
- keepdir /var/log/ConsoleKit
-
- exeinto /etc/X11/xinit/xinitrc.d
- newexe "${FILESDIR}"/90-consolekit-3 90-consolekit
-
- exeinto /usr/$(get_libdir)/ConsoleKit/run-session.d
- doexe "${FILESDIR}"/pam-foreground-compat.ck
-
- find "${ED}" -name '*.la' -exec rm -f {} +
-}
-
-pkg_postinst() {
- ewarn "You need to restart ConsoleKit to get the new features."
- ewarn "This can be done with /etc/init.d/consolekit restart"
- ewarn "but make sure you do this and then restart your session"
- ewarn "otherwise you will get access denied for certain actions"
-}
diff --git a/sys-auth/consolekit/files/90-consolekit-3 b/sys-auth/consolekit/files/90-consolekit-3
deleted file mode 100644
index 358fc24..0000000
--- a/sys-auth/consolekit/files/90-consolekit-3
+++ /dev/null
@@ -1,32 +0,0 @@
-# -*- sh -*-
-# Xsession.d script for ck-launch-session.
-#
-#
-# This file is sourced by Xsession(5), not executed.
-
-CK_LAUNCH_SESSION=/usr/bin/ck-launch-session
-
-is_on_console() {
- session=$(dbus-send --system --dest=org.freedesktop.ConsoleKit \
- --type=method_call --print-reply --reply-timeout=2000 \
- /org/freedesktop/ConsoleKit/Manager \
- org.freedesktop.ConsoleKit.Manager.GetCurrentSession \
- | grep path | awk '{print $3}' | sed s/\"//g)
- x11_display=$(dbus-send --system --dest=org.freedesktop.ConsoleKit \
- --type=method_call --print-reply --reply-timeout=2000 \
- $session org.freedesktop.ConsoleKit.Session.GetX11Display \
- | grep string | awk '{print $2}' | sed s/\"//g)
-
- if [ -z "$x11_display" ] ; then
- return 0
- else
- return 1
- fi
-}
-
-# gdm already creates a CK session for us, so do not run the expensive D-Bus
-# calls if we have $GDMSESSION
-if [ -z "$GDMSESSION" ] && [ -x "$CK_LAUNCH_SESSION" ] && \
- ( [ -z "$XDG_SESSION_COOKIE" ] || is_on_console ) ; then
- command="$CK_LAUNCH_SESSION $command"
-fi
diff --git a/sys-auth/consolekit/files/consolekit-0.1.rc b/sys-auth/consolekit/files/consolekit-0.1.rc
deleted file mode 100644
index d469b46..0000000
--- a/sys-auth/consolekit/files/consolekit-0.1.rc
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/files/consolekit-0.1.rc,v 1.2 2009/09/12 19:46:19 nirbheek Exp $
-
-depend() {
- need dbus
- use logger
-}
-
-start() {
- ebegin "Starting ConsoleKit daemon"
-
- start-stop-daemon --start -q \
- --pidfile /var/run/ConsoleKit/pid \
- --exec /usr/sbin/console-kit-daemon --
- eend $?
-}
-
-stop() {
- ebegin "Stopping ConsoleKit daemon"
- start-stop-daemon --stop -q --pidfile /var/run/ConsoleKit/pid
- eend $?
-}
diff --git a/sys-auth/consolekit/files/consolekit-0.2.10-cleanup_console_tags.patch b/sys-auth/consolekit/files/consolekit-0.2.10-cleanup_console_tags.patch
deleted file mode 100644
index 4dbd625..0000000
--- a/sys-auth/consolekit/files/consolekit-0.2.10-cleanup_console_tags.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-# Clean up at_console compat files, bug #257761
-# http://patches.ubuntu.com/by-release/extracted/ubuntu/c/consolekit/0.2.10-1ubuntu9/
---- a/src/main.c 2008-07-25 03:19:34.000000000 +0200
-+++ b/src/main.c 2008-07-26 00:25:13.000000000 +0200
-@@ -149,6 +149,43 @@
- unlink (CONSOLE_KIT_PID_FILE);
- }
-
-+#define CONSOLE_TAGS_DIR "/var/run/console"
-+
-+static void
-+delete_console_tags (void)
-+{
-+ GDir *dir;
-+ GError *error = NULL;
-+ const gchar *name;
-+
-+ g_debug ("Cleaning up %s", CONSOLE_TAGS_DIR);
-+
-+ dir = g_dir_open (CONSOLE_TAGS_DIR, 0, &error);
-+ if (dir == NULL) {
-+ g_debug ("Couldn't open directory %s: %s", CONSOLE_TAGS_DIR,
-+ error->message);
-+ g_error_free (error);
-+ return;
-+ }
-+ while ((name = g_dir_read_name (dir)) != NULL) {
-+ gchar *file;
-+ file = g_build_filename (CONSOLE_TAGS_DIR, name, NULL);
-+
-+ g_debug ("Removing tag file: %s", file);
-+ if (unlink (file) == -1) {
-+ g_warning ("Couldn't delete tag file: %s", file);
-+ }
-+ g_free (file);
-+ }
-+}
-+
-+static void
-+cleanup (void)
-+{
-+ delete_console_tags ();
-+ delete_pid ();
-+}
-+
- /* copied from nautilus */
- static int debug_log_pipes[2];
-
-@@ -229,7 +266,7 @@
- snprintf (pid, sizeof (pid), "%lu\n", (long unsigned) getpid ());
- written = write (pf, pid, strlen (pid));
- close (pf);
-- g_atexit (delete_pid);
-+ g_atexit (cleanup);
- } else {
- g_warning ("Unable to write pid file %s: %s",
- CONSOLE_KIT_PID_FILE,
-@@ -312,6 +349,8 @@
-
- g_debug ("initializing console-kit-daemon %s", VERSION);
-
-+ delete_console_tags ();
-+
- create_pid_file ();
-
- manager = ck_manager_new ();
diff --git a/sys-auth/consolekit/files/consolekit-0.4.0-multilib.patch b/sys-auth/consolekit/files/consolekit-0.4.0-multilib.patch
deleted file mode 100644
index b898353..0000000
--- a/sys-auth/consolekit/files/consolekit-0.4.0-multilib.patch
+++ /dev/null
@@ -1,120 +0,0 @@
-From c4ba8b276bf95faf2f643e42988709ed6cb0b2f0 Mon Sep 17 00:00:00 2001
-From: Gilles Dartiguelongue <eva@gentoo.org>
-Date: Sun, 18 Oct 2009 23:30:36 +0200
-Subject: [PATCH] respect multilib
-
----
- src/Makefile.am | 4 ++--
- src/ck-manager.c | 4 ++--
- src/ck-seat.c | 2 +-
- src/ck-session.c | 2 +-
- tools/freebsd/Makefile.am | 2 +-
- tools/linux/Makefile.am | 2 +-
- tools/solaris/Makefile.am | 2 +-
- 7 files changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 6ab05c8..d6fb810 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -204,8 +204,8 @@ MAINTAINERCLEANFILES = \
-
- install-data-local:
- -mkdir -p $(DESTDIR)$(sysconfdir)/ConsoleKit/run-session.d
-- -mkdir -p $(DESTDIR)$(prefix)/lib/ConsoleKit/run-session.d
-+ -mkdir -p $(DESTDIR)$(libdir)/ConsoleKit/run-session.d
- -mkdir -p $(DESTDIR)$(sysconfdir)/ConsoleKit/run-seat.d
-- -mkdir -p $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d
-+ -mkdir -p $(DESTDIR)$(libdir)/ConsoleKit/run-seat.d
- -mkdir -p $(DESTDIR)$(localstatedir)/run/ConsoleKit
- -mkdir -p $(DESTDIR)$(localstatedir)/log/ConsoleKit
-diff --git a/src/ck-manager.c b/src/ck-manager.c
-index 99693a3..e65e25b 100644
---- a/src/ck-manager.c
-+++ b/src/ck-manager.c
-@@ -1083,7 +1083,7 @@ do_restart (CkManager *manager,
- log_system_restart_event (manager);
-
- error = NULL;
-- res = g_spawn_command_line_async (PREFIX "/lib/ConsoleKit/scripts/ck-system-restart",
-+ res = g_spawn_command_line_async (LIBDIR "/ConsoleKit/scripts/ck-system-restart",
- &error);
- if (! res) {
- GError *new_error;
-@@ -1164,7 +1164,7 @@ do_stop (CkManager *manager,
- log_system_stop_event (manager);
-
- error = NULL;
-- res = g_spawn_command_line_async (PREFIX "/lib/ConsoleKit/scripts/ck-system-stop",
-+ res = g_spawn_command_line_async (LIBDIR "/ConsoleKit/scripts/ck-system-stop",
- &error);
- if (! res) {
- GError *new_error;
-diff --git a/src/ck-seat.c b/src/ck-seat.c
-index af7db59..d089f29 100644
---- a/src/ck-seat.c
-+++ b/src/ck-seat.c
-@@ -1278,7 +1278,7 @@ ck_seat_run_programs (CkSeat *seat,
- g_assert(n <= G_N_ELEMENTS(extra_env));
-
- ck_run_programs (SYSCONFDIR "/ConsoleKit/run-seat.d", action, extra_env);
-- ck_run_programs (PREFIX "/lib/ConsoleKit/run-seat.d", action, extra_env);
-+ ck_run_programs (LIBDIR "/ConsoleKit/run-seat.d", action, extra_env);
-
- for (n = 0; extra_env[n] != NULL; n++) {
- g_free (extra_env[n]);
-diff --git a/src/ck-session.c b/src/ck-session.c
-index d8db9dd..c2fc320 100644
---- a/src/ck-session.c
-+++ b/src/ck-session.c
-@@ -1287,7 +1287,7 @@ ck_session_run_programs (CkSession *session,
- g_assert(n <= G_N_ELEMENTS(extra_env));
-
- ck_run_programs (SYSCONFDIR "/ConsoleKit/run-session.d", action, extra_env);
-- ck_run_programs (PREFIX "/lib/ConsoleKit/run-session.d", action, extra_env);
-+ ck_run_programs (LIBDIR "/ConsoleKit/run-session.d", action, extra_env);
-
- for (n = 0; extra_env[n] != NULL; n++) {
- g_free (extra_env[n]);
-diff --git a/tools/freebsd/Makefile.am b/tools/freebsd/Makefile.am
-index f668722..d25930e 100644
---- a/tools/freebsd/Makefile.am
-+++ b/tools/freebsd/Makefile.am
-@@ -6,7 +6,7 @@ NULL =
- SUBDIRS = \
- $(NULL)
-
--scriptdir = $(prefix)/lib/ConsoleKit/scripts
-+scriptdir = $(libdir)/ConsoleKit/scripts
- script_SCRIPTS = \
- ck-system-stop \
- ck-system-restart \
-diff --git a/tools/linux/Makefile.am b/tools/linux/Makefile.am
-index 5a95942..51196c0 100644
---- a/tools/linux/Makefile.am
-+++ b/tools/linux/Makefile.am
-@@ -6,7 +6,7 @@ NULL =
- SUBDIRS = \
- $(NULL)
-
--scriptdir = $(prefix)/lib/ConsoleKit/scripts
-+scriptdir = $(libdir)/ConsoleKit/scripts
- script_SCRIPTS = \
- ck-system-stop \
- ck-system-restart \
-diff --git a/tools/solaris/Makefile.am b/tools/solaris/Makefile.am
-index f668722..d25930e 100644
---- a/tools/solaris/Makefile.am
-+++ b/tools/solaris/Makefile.am
-@@ -6,7 +6,7 @@ NULL =
- SUBDIRS = \
- $(NULL)
-
--scriptdir = $(prefix)/lib/ConsoleKit/scripts
-+scriptdir = $(libdir)/ConsoleKit/scripts
- script_SCRIPTS = \
- ck-system-stop \
- ck-system-restart \
---
-1.6.5.rc1
-
diff --git a/sys-auth/consolekit/files/consolekit-0.4.0-polkit-automagic.patch b/sys-auth/consolekit/files/consolekit-0.4.0-polkit-automagic.patch
deleted file mode 100644
index d068ca2..0000000
--- a/sys-auth/consolekit/files/consolekit-0.4.0-polkit-automagic.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Automagic polkit
-
----
---- configure.ac
-+++ configure.ac
-@@ -55,10 +55,21 @@
- gthread-2.0 >= $GLIB_REQUIRED_VERSION
- )
-
--PKG_CHECK_MODULES(POLKIT,
-- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION,
-- have_polkit=yes,
-- have_polkit=no)
-+AC_ARG_ENABLE([polkit],
-+ AC_HELP_STRING([--enable-polkit], [Enable PolicyKit support (default auto)]),
-+ enable_polkit=$enableval,
-+ enable_polkit=auto)
-+
-+if test "x$enable_polkit" != "xno"; then
-+ PKG_CHECK_MODULES(POLKIT,
-+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION,
-+ have_polkit=yes,
-+ have_polkit=no)
-+ if test "x$enable_polkit" = "xyes" -a "x$have_polkit" = "xno"; then
-+ AC_MSG_ERROR([PolicyKit support explicitly requested but dependencies not found])
-+ fi
-+fi
-+
- if test "x$have_polkit" = "xyes" ; then
- AC_DEFINE(HAVE_POLKIT, [], [Define if we have polkit])
- fi
diff --git a/sys-auth/consolekit/files/consolekit-0.4.1-shutdown-reboot-without-policies.patch b/sys-auth/consolekit/files/consolekit-0.4.1-shutdown-reboot-without-policies.patch
deleted file mode 100644
index 3183f11..0000000
--- a/sys-auth/consolekit/files/consolekit-0.4.1-shutdown-reboot-without-policies.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Romain Perier <mrpouet@gentoo.org>
-Date: Sat, 24 Oct 2009 18:43:43 +0200
-Subject: [PATCH] Be able to shutdown or reboot even without polkit or RBAC supports
-
-Ck does NOTHING at the origin if its built without polkit or RBAC supports, except
-display a warning using g_warning() (which does not make sense).
-The trick is to to call do_stop()/do_restart() in the #else directive :)
-
----
- src/ck-manager.c | 2 ++
- 1 files changed, 2 insertions(+), 0 deletions(-)
-
-diff --git a/src/ck-manager.c b/src/ck-manager.c
-index 99693a3..181df0d 100644
---- a/src/ck-manager.c
-+++ b/src/ck-manager.c
-@@ -1129,6 +1129,7 @@ ck_manager_restart (CkManager *manager,
- check_rbac_permissions (manager, context, do_restart);
- #else
- g_warning ("Compiled without PolicyKit or RBAC support!");
-+ do_restart(manager, context);
- #endif
-
- return TRUE;
-@@ -1200,6 +1201,7 @@ ck_manager_stop (CkManager *manager,
- check_rbac_permissions (manager, context, do_stop);
- #else
- g_warning ("Compiled without PolicyKit or RBAC support!");
-+ do_stop(manager, context);
- #endif
-
- return TRUE;
---
-1.6.5.1
-
diff --git a/sys-auth/consolekit/files/pam-foreground-compat.ck b/sys-auth/consolekit/files/pam-foreground-compat.ck
deleted file mode 100644
index 0697ca8..0000000
--- a/sys-auth/consolekit/files/pam-foreground-compat.ck
+++ /dev/null
@@ -1,17 +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
-
diff --git a/sys-auth/consolekit/metadata.xml b/sys-auth/consolekit/metadata.xml
deleted file mode 100644
index 0271f0b..0000000
--- a/sys-auth/consolekit/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>freedesktop</herd>
-<use>
- <flag name="policykit">
- Use the PolicyKit framework (<pkg>sys-auth/polkit</pkg>) to get
- authorization for suspend/shutdown.
- </flag>
-</use>
-</pkgmetadata>