aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/consolekit/ChangeLog705
-rw-r--r--sys-auth/consolekit/Manifest11
-rw-r--r--sys-auth/consolekit/consolekit-0.4.6-r1.ebuild119
-rw-r--r--sys-auth/consolekit/files/90-consolekit-332
-rw-r--r--sys-auth/consolekit/files/consolekit-0.2.rc26
-rw-r--r--sys-auth/consolekit/files/consolekit-0.4.5-polkit-automagic.patch30
-rw-r--r--sys-auth/consolekit/files/consolekit-cleanup_console_tags.patch67
-rw-r--r--sys-auth/consolekit/files/consolekit-shutdown-reboot-without-policies.patch26
-rw-r--r--sys-auth/consolekit/files/consolekit-udev-acl-install_to_usr.patch28
-rw-r--r--sys-auth/consolekit/files/pam-foreground-compat.ck17
-rw-r--r--sys-auth/consolekit/metadata.xml15
11 files changed, 1076 insertions, 0 deletions
diff --git a/sys-auth/consolekit/ChangeLog b/sys-auth/consolekit/ChangeLog
new file mode 100644
index 0000000..b110162
--- /dev/null
+++ b/sys-auth/consolekit/ChangeLog
@@ -0,0 +1,705 @@
+# ChangeLog for sys-auth/consolekit
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.166 2013/09/06 18:33:32 ago Exp $
+
+ 06 Sep 2013; Agostino Sarubbo <ago@gentoo.org> consolekit-0.4.6.ebuild:
+ Stable for sparc, wrt bug #480028
+
+ 29 Aug 2013; Agostino Sarubbo <ago@gentoo.org> consolekit-0.4.6.ebuild:
+ Stable for ia64, wrt bug #480028
+
+ 21 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> consolekit-0.4.6.ebuild,
+ metadata.xml:
+ Rename USE="systemd" by USE="systemd-units" to avoid conflict with systemd vs.
+ -systemd, package.use.mask and profiles.
+
+ 21 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> consolekit-0.4.6.ebuild,
+ metadata.xml:
+ Introduce USE="systemd" to force installation of systemd unit files despite of
+ systemd-logind making it more or less obsolete (and remove SystemdService=
+ line from the .service file when required) wrt #478258
+
+ 18 Aug 2013; Agostino Sarubbo <ago@gentoo.org> consolekit-0.4.6.ebuild:
+ Stable for x86, wrt bug #480028
+
+ 13 Aug 2013; Agostino Sarubbo <ago@gentoo.org> consolekit-0.4.6.ebuild:
+ Stable for alpha, wrt bug #480028
+
+ 10 Aug 2013; Agostino Sarubbo <ago@gentoo.org> consolekit-0.4.6.ebuild:
+ Stable for ppc64, wrt bug #480028
+
+ 10 Aug 2013; Agostino Sarubbo <ago@gentoo.org> consolekit-0.4.6.ebuild:
+ Stable for arm, wrt bug #480028
+
+ 10 Aug 2013; Agostino Sarubbo <ago@gentoo.org> consolekit-0.4.6.ebuild:
+ Stable for ppc, wrt bug #480028
+
+ 07 Aug 2013; Agostino Sarubbo <ago@gentoo.org> consolekit-0.4.6.ebuild:
+ Stable for amd64, wrt bug #480028
+
+ 07 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> consolekit-0.4.6.ebuild:
+ Stop blocking sys-apps/systemd (to let users switch between OpenRC and
+ ConsoleKit vs. systemd and systemd-logind without uninstalling one or the
+ another) wrt #478258 by Pacho Ramos
+
+*consolekit-0.4.6 (20 Jul 2013)
+
+ 20 Jul 2013; Samuli Suominen <ssuominen@gentoo.org> +consolekit-0.4.6.ebuild:
+ Version bump. This time conflict with sys-apps/systemd in favour of systemd-logind,
+ the correct configuration is USE="-consolekit systemd" if you want systemd.
+
+*consolekit-0.4.5_p20120320-r2 (16 Mar 2013)
+
+ 16 Mar 2013; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild, +consolekit-0.4.5_p20120320-r2.ebuild:
+ Fix use of QA_MULTILIB_PATHS and revision bump because the helpers are also
+ used by gnome-base/gdm wrt #461866 by Alphat-PC
+
+ 14 Mar 2013; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild:
+ Move udev-acl and other binaries out from /usr/libexec and move them over to
+ /usr/lib/ConsoleKit and set QA_MULTILIB_PATHS.
+
+ 03 Mar 2013; Mike Frysinger <vapier@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild:
+ Add s390 keywords #457078 by Michael Palimaka.
+
+ 17 Jan 2013; Samuli Suominen <ssuominen@gentoo.org>
+ -consolekit-0.4.5_p20120320.ebuild:
+ old
+
+ 17 Jan 2013; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild:
+ sh stable wrt #436666
+
+ 30 Dec 2012; Agostino Sarubbo <ago@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild:
+ Stable for sparc, wrt bug #436666
+
+ 29 Dec 2012; Agostino Sarubbo <ago@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild:
+ Stable for alpha, wrt bug #436666
+
+ 18 Dec 2012; Agostino Sarubbo <ago@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild:
+ Stable for ia64, wrt bug #436666
+
+ 28 Nov 2012; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild, consolekit-0.4.5_p20120320-r1.ebuild:
+ Use virtual/udev instead of sys-fs/udev wrt #444398
+
+ 22 Nov 2012; Anthony G. Basile <blueness@gentoo.org> ChangeLog:
+ Fix failed gpg signing of manifest
+
+ 22 Nov 2012; Anthony G. Basile <blueness@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild:
+ stable arm, bug #436666
+
+ 22 Nov 2012; Anthony G. Basile <blueness@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild:
+ stable ppc64, bug #436666
+
+ 22 Nov 2012; Agostino Sarubbo <ago@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild:
+ Stable for x86, tested by Vincent Olivert Riera <peratu@carrosses.com>, wrt
+ bug #436666
+
+ 21 Nov 2012; Anthony G. Basile <blueness@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild:
+ stable ppc, bug #436666, thanks peratu
+
+ 22 Oct 2012; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild, consolekit-0.4.5_p20120320-r1.ebuild:
+ Revert last commit. We really don't want anyone using =sys-fs/udev-171* to
+ enable USE="extras" since it's obsolete for a long time now.
+
+ 22 Oct 2012; William Hubbs <williamh@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild, consolekit-0.4.5_p20120320.ebuild:
+ Emergency fix: I was told that the revision number 99 in the udev blockers
+ makes it impossible to install consolekit with stable udev when using the
+ desktop profiles. I have dropped the udev revision number in the blocker to
+ 8, which is the last valid stable udev revision instead of 99.
+
+ 21 Oct 2012; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild, consolekit-0.4.5_p20120320-r1.ebuild:
+ Update sys-fs/udev dependency because stable udev was revision bumped.
+
+ 15 Oct 2012; Jeroen Roovers <jer@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild, consolekit-0.4.5_p20120320-r1.ebuild:
+ Drop HPPA keywording (bug #438368).
+
+ 07 Oct 2012; Agostino Sarubbo <ago@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild:
+ Stable for amd64, wrt bug #436666
+
+ 05 Oct 2012; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.5_p20120320-r1.ebuild:
+ Use prune_libtool_files and call it with the --all argument for libtool files
+ in /lib/security.
+
+*consolekit-0.4.5_p20120320-r1 (08 Aug 2012)
+
+ 08 Aug 2012; Samuli Suominen <ssuominen@gentoo.org>
+ +consolekit-0.4.5_p20120320-r1.ebuild:
+ Dummy revision bump to let upstream ./configure determine udevdir from
+ udev.pc pkg-config file.
+
+ 30 Jul 2012; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild:
+ Use temporary COMMON_DEPEND variable to move strictly runtime dependencies
+ out from DEPEND.
+
+ 27 Jul 2012; Samuli Suominen <ssuominen@gentoo.org> -files/consolekit-0.1.rc,
+ -files/consolekit-0.2.10-cleanup_console_tags.patch,
+ -files/consolekit-0.4.0-multilib.patch,
+ -files/consolekit-0.4.0-polkit-automagic.patch,
+ -files/consolekit-0.4.1-shutdown-reboot-without-policies.patch,
+ -consolekit-0.4.5-r1.ebuild:
+ old
+
+ 15 Jul 2012; Raúl Porcel <armin76@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild:
+ alpha/ia64/sh/sparc stable wrt #416653
+
+ 03 Jul 2012; Jeroen Roovers <jer@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild:
+ Stable for HPPA (bug #416653).
+
+ 30 Jun 2012; <swift@gentoo.org> consolekit-0.4.5-r1.ebuild,
+ consolekit-0.4.5_p20120320.ebuild:
+ Add SELinux consolekit dependency when USE=selinux is set
+
+ 28 May 2012; Markus Meier <maekke@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild:
+ arm stable, bug #416653
+
+ 22 May 2012; Jeff Horelick <jdhore@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild:
+ marked x86 per bug 416653
+
+ 20 May 2012; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild:
+ Regenerate docbook documentation for testsuite wrt #416721
+
+ 20 May 2012; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild:
+ Keyword ~alpha/~ia64/~sparc wrt #408967
+
+ 20 May 2012; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild:
+ ppc/ppc64 stable wrt #416653
+
+ 20 May 2012; Agostino Sarubbo <ago@gentoo.org>
+ consolekit-0.4.5_p20120320.ebuild:
+ Stable for amd64, wrt bug #416653
+
+ 14 May 2012; Samuli Suominen <ssuominen@gentoo.org>
+ -consolekit-0.4.5-r2.ebuild, -consolekit-0.4.5-r3.ebuild,
+ -files/consolekit-0.4.5-udev-acl.patch,
+ -files/consolekit-0.4.5-udev-acl-install_to_usr_and_missing_seat_d_symlink.pa
+ tch, -files/consolekit-0.4.5-udev-acl-missing-AC_SUBST.patch:
+ old
+
+*consolekit-0.4.5_p20120320 (14 May 2012)
+
+ 14 May 2012; Samuli Suominen <ssuominen@gentoo.org>
+ +consolekit-0.4.5_p20120320.ebuild,
+ +files/consolekit-0.4.5-polkit-automagic.patch,
+ +files/consolekit-cleanup_console_tags.patch,
+ +files/consolekit-shutdown-reboot-without-policies.patch,
+ +files/consolekit-udev-acl-install_to_usr.patch:
+ Use snapshot from upstream git to clean up patchset.
+
+ 09 May 2012; Alexis Ballier <aballier@gentoo.org> consolekit-0.4.5-r3.ebuild:
+ keyword ~amd64-fbsd
+
+ 04 May 2012; Jeff Horelick <jdhore@gentoo.org> consolekit-0.4.5-r1.ebuild,
+ consolekit-0.4.5-r2.ebuild, consolekit-0.4.5-r3.ebuild:
+ dev-util/pkgconfig -> virtual/pkgconfig
+
+ 20 Mar 2012; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.5-r3.ebuild:
+ Check for kernel option TMPFS_POSIX_ACL with USE="acl" and ensure
+ sys-apps/coreutils is emerged with same wrt #376939 by Arne Stäcker
+
+ 20 Mar 2012; Samuli Suominen <ssuominen@gentoo.org>
+ files/consolekit-0.4.5-udev-acl-install_to_usr_and_missing_seat_d_symlink.pat
+ ch:
+ Missing mkdir -p for $(DESTDIR)$(UDEVDIR) wrt #408973 by Richard Grenville
+
+*consolekit-0.4.5-r3 (20 Mar 2012)
+
+ 20 Mar 2012; Samuli Suominen <ssuominen@gentoo.org>
+ +consolekit-0.4.5-r3.ebuild, +files/consolekit-0.4.5-udev-acl.patch,
+ +files/consolekit-0.4.5-udev-acl-install_to_usr_and_missing_seat_d_symlink.pa
+ tch, +files/consolekit-0.4.5-udev-acl-missing-AC_SUBST.patch:
+ Move udev-acl from sys-fs/udev to here wrt #408713 by Rafał Mużyło
+
+*consolekit-0.4.5-r2 (20 Oct 2011)
+
+ 20 Oct 2011; Ian Stakenvicius <axs@gentoo.org> +files/consolekit-0.2.rc,
+ +consolekit-0.4.5-r2.ebuild:
+ Removed keepdir on /var/run/ConsoleKit as per bug 387901
+
+ 14 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> -consolekit-0.4.4.ebuild,
+ -consolekit-0.4.5.ebuild:
+ old
+
+ 20 Sep 2011; Jeroen Roovers <jer@gentoo.org> consolekit-0.4.5-r1.ebuild:
+ Stable for HPPA (bug #374687).
+
+ 24 Jul 2011; Raúl Porcel <armin76@gentoo.org> consolekit-0.4.5-r1.ebuild:
+ alpha/ia64/sh/sparc stable wrt #374687
+
+ 23 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org>
+ consolekit-0.4.5-r1.ebuild:
+ ppc/ppc64 stable wrt #374687
+
+ 17 Jul 2011; Markus Meier <maekke@gentoo.org> consolekit-0.4.5-r1.ebuild:
+ arm stable, bug #374687
+
+ 17 Jul 2011; Markus Meier <maekke@gentoo.org> consolekit-0.4.5-r1.ebuild:
+ x86 stable, bug #374687
+
+ 16 Jul 2011; Markos Chandras <hwoarang@gentoo.org>
+ consolekit-0.4.5-r1.ebuild:
+ Stable on amd64 wrt bug #374687
+
+ 10 Jul 2011; Matt Turner <mattst88@gentoo.org> consolekit-0.4.5-r1.ebuild:
+ Added ~mips, bug 296548
+
+*consolekit-0.4.5-r1 (05 Jul 2011)
+
+ 05 Jul 2011; Samuli Suominen <ssuominen@gentoo.org>
+ +consolekit-0.4.5-r1.ebuild:
+ keepdir missing run-seat.d directory wrt #372537 by Duncan
+
+*consolekit-0.4.5 (15 May 2011)
+
+ 15 May 2011; Samuli Suominen <ssuominen@gentoo.org> +consolekit-0.4.5.ebuild:
+ Version bump.
+
+*consolekit-0.4.4-r1 (05 May 2011)
+
+ 05 May 2011; Samuli Suominen <ssuominen@gentoo.org>
+ +consolekit-0.4.4-r1.ebuild:
+ Use systemd.eclass to get path for unit files wrt #366111 by Michał Górny.
+
+ 23 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> consolekit-0.4.4.ebuild:
+ ppc64 stable wrt #360769
+
+ 23 Apr 2011; Raúl Porcel <armin76@gentoo.org> consolekit-0.4.4.ebuild:
+ alpha/ia64/sh/sparc stable wrt #360769
+
+ 15 Apr 2011; Christian Faulhammer <fauli@gentoo.org>
+ consolekit-0.4.4.ebuild:
+ stable x86, bug 360769
+
+ 12 Apr 2011; Jeroen Roovers <jer@gentoo.org> consolekit-0.4.4.ebuild:
+ Stable for HPPA (bug #360769).
+
+ 10 Apr 2011; Markus Meier <maekke@gentoo.org> consolekit-0.4.4.ebuild:
+ arm stable, bug #360769
+
+ 27 Mar 2011; Christoph Mende <angelos@gentoo.org> consolekit-0.4.4.ebuild:
+ Stable on amd64 wrt bug #360769
+
+ 27 Mar 2011; Brent Baude <ranger@gentoo.org> consolekit-0.4.4.ebuild:
+ Marking consolekit-0.4.4 ppc for bug 360769
+
+*consolekit-0.4.4 (26 Feb 2011)
+
+ 26 Feb 2011; Samuli Suominen <ssuominen@gentoo.org> +consolekit-0.4.4.ebuild:
+ Version bump.
+
+ 13 Jan 2011; Jeroen Roovers <jer@gentoo.org> consolekit-0.4.3.ebuild:
+ Stable for HPPA (bug #349052).
+
+ 11 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org>
+ consolekit-0.4.3.ebuild:
+ ppc stable wrt #349052
+
+ 08 Jan 2011; Raúl Porcel <armin76@gentoo.org> consolekit-0.4.3.ebuild:
+ alpha/ia64/sh/sparc stable wrt #349052
+
+ 27 Dec 2010; Markus Meier <maekke@gentoo.org> consolekit-0.4.3.ebuild:
+ arm stable, bug #349052
+
+ 22 Dec 2010; Samuli Suominen <ssuominen@gentoo.org> consolekit-0.4.3.ebuild:
+ amd64/x86 stable wrt #349052
+
+ 19 Dec 2010; Samuli Suominen <ssuominen@gentoo.org> consolekit-0.4.3.ebuild:
+ ppc64 stable wrt #349052
+
+ 27 Nov 2010; Raúl Porcel <armin76@gentoo.org> consolekit-0.4.2-r4.ebuild:
+ alpha/ia64/sh/sparc stable wrt #343097
+
+*consolekit-0.4.3 (25 Nov 2010)
+
+ 25 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> +consolekit-0.4.3.ebuild:
+ Version bump.
+
+ 04 Nov 2010; Markus Meier <maekke@gentoo.org> consolekit-0.4.2-r4.ebuild:
+ arm stable, bug #343097
+
+ 01 Nov 2010; Jeroen Roovers <jer@gentoo.org> consolekit-0.4.2-r4.ebuild:
+ Stable for HPPA PPC (bug #343097).
+
+ 01 Nov 2010; Christian Faulhammer <fauli@gentoo.org>
+ consolekit-0.4.2-r4.ebuild:
+ stable x86, bug 343097
+
+ 30 Oct 2010; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.2-r4.ebuild:
+ ppc64 stable wrt #343097
+
+ 29 Oct 2010; Markos Chandras <hwoarang@gentoo.org>
+ consolekit-0.4.2-r4.ebuild:
+ Stable on amd64 wrt bug #343097
+
+ 28 Oct 2010; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.2-r4.ebuild:
+ Block <pambase-20101024 because of missing pam_loginuid.so.
+
+*consolekit-0.4.2-r4 (28 Oct 2010)
+
+ 28 Oct 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +consolekit-0.4.2-r4.ebuild, +files/90-consolekit-3:
+ Change variable "STARTUP" to "command" wrt #343033 by Matthew Turnbull.
+
+ 27 Oct 2010; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.4.2-r3.ebuild:
+ Check CONFIG_AUDITSYSCALL for /proc/<pid>/sessionid wrt #342291.
+
+*consolekit-0.4.2-r3 (21 Oct 2010)
+
+ 21 Oct 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +consolekit-0.4.2-r3.ebuild, +files/90-consolekit-2:
+ Update /etc/X11/xinit/xinitrc.d/90-consolekit from Debian. Remove
+ -revert.patch and block broken sys-apps/shadow instead wrt #336634.
+
+*consolekit-0.4.2-r2 (21 Oct 2010)
+
+ 21 Oct 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +consolekit-0.4.2-r2.ebuild,
+ +files/consolekit-0.4.2-check-for-VT_WAITEVENT-ioctl-during-runtime.patch:
+ Check for VT_WAITEVENT ioctl during runtime.
+
+*consolekit-0.4.2-r1 (09 Sep 2010)
+
+ 09 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +consolekit-0.4.2-r1.ebuild, +files/consolekit-0.4.2-revert.patch:
+ Revert upstream "Only set sessions to be is-local=true if set by a trusted
+ party" wrt #336634.
+
+*consolekit-0.4.2 (07 Sep 2010)
+
+ 07 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +consolekit-0.4.2.ebuild:
+ Version bump.
+
+*consolekit-0.4.1-r1 (21 Aug 2010)
+
+ 21 Aug 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +consolekit-0.4.1-r1.ebuild, +files/consolekit-0.4.1-nodaemon.patch,
+ +files/consolekit-0.4.1-reorder-initialization.patch:
+ Don't take bus name until ready wrt #333349. Don't daemonize when
+ activated.
+
+ 18 Aug 2010; Markus Meier <maekke@gentoo.org> consolekit-0.4.1.ebuild:
+ arm stable, bug #314899
+
+ 14 Aug 2010; Raúl Porcel <armin76@gentoo.org> consolekit-0.4.1.ebuild:
+ ia64/sh/sparc stable
+
+ 09 Aug 2010; Joseph Jezak <josejx@gentoo.org> consolekit-0.4.1.ebuild:
+ Marked ppc/ppc64 stable.
+
+ 25 Jul 2010; Tobias Klausmann <klausman@gentoo.org>
+ consolekit-0.4.1.ebuild:
+ Stable on alpha, bug #329621
+
+ 20 Jul 2010; Jeroen Roovers <jer@gentoo.org> consolekit-0.4.1.ebuild:
+ Stable for HPPA (bug #314899).
+
+ 04 Jun 2010; Markus Meier <maekke@gentoo.org> consolekit-0.4.1.ebuild:
+ x86 stable, bug #314899
+
+ 09 May 2010; Raúl Porcel <armin76@gentoo.org> consolekit-0.3.0-r2.ebuild:
+ sh stable
+
+ 03 May 2010; Olivier Crête <tester@gentoo.org> consolekit-0.4.1.ebuild:
+ amd64 stable, bug #314899
+
+ 25 Apr 2010; Raúl Porcel <armin76@gentoo.org> consolekit-0.3.0-r2.ebuild,
+ consolekit-0.4.1.ebuild:
+ Add ~sh
+
+ 13 Apr 2010; Alexis Ballier <aballier@gentoo.org> consolekit-0.4.1.ebuild:
+ keyword ~x86-fbsd
+
+ 30 Mar 2010; Jonathan Callen <abcd@gentoo.org> consolekit-0.3.0-r2.ebuild,
+ consolekit-0.4.1.ebuild:
+ Bump to EAPI=3, add prefix keywords
+
+ 28 Feb 2010; Raúl Porcel <armin76@gentoo.org> consolekit-0.4.1.ebuild:
+ Add ~alpha/~arm/~ia64/~sparc
+
+ 17 Feb 2010; Gilles Dartiguelongue <eva@gentoo.org>
+ consolekit-0.4.1.ebuild:
+ Raise dbus-glib dependency, bug #298924.
+
+ 16 Feb 2010; Joseph Jezak <josejx@gentoo.org> consolekit-0.4.1.ebuild:
+ Marked ~ppc/~ppc64 for bug #296548.
+
+ 06 Jan 2010; Jeroen Roovers <jer@gentoo.org> consolekit-0.4.1.ebuild:
+ Marked ~hppa (bug #296548).
+
+*consolekit-0.4.1 (29 Oct 2009)
+
+ 29 Oct 2009; Gilles Dartiguelongue <eva@gentoo.org> files/90-consolekit,
+ -consolekit-0.2.3.ebuild, -files/consolekit-0.2.3-freebsd.patch,
+ -consolekit-0.2.10.ebuild, -consolekit-0.2.10-r1.ebuild,
+ -consolekit-0.3.0.ebuild, +files/consolekit-0.4.0-multilib.patch,
+ +files/consolekit-0.4.0-polkit-automagic.patch, +consolekit-0.4.1.ebuild,
+ +files/consolekit-0.4.1-shutdown-reboot-without-policies.patch:
+ New version for GNOME 2.28. Clean up old revision. Fix xinitrc script.
+
+ 28 Oct 2009; Raúl Porcel <armin76@gentoo.org> consolekit-0.3.0-r2.ebuild:
+ ia64/m68k/s390/sh/sparc stable wrt #278181
+
+ 03 Oct 2009; Markus Meier <maekke@gentoo.org> consolekit-0.3.0-r2.ebuild:
+ arm stable, bug #278181
+
+ 29 Sep 2009; Tobias Klausmann <klausman@gentoo.org>
+ consolekit-0.3.0-r2.ebuild:
+ Stable on alpha, bug #278181
+
+ 27 Sep 2009; nixnut <nixnut@gentoo.org> consolekit-0.3.0-r2.ebuild:
+ ppc stable #278181
+
+ 22 Sep 2009; Jeroen Roovers <jer@gentoo.org> consolekit-0.3.0-r2.ebuild:
+ Stable for HPPA (bug #278181).
+
+ 19 Sep 2009; Romain Perier <mrpouet@gentoo.org>
+ consolekit-0.3.0-r2.ebuild:
+ Stable for amd64 per bug #278181.
+
+ 16 Sep 2009; Christian Faulhammer <fauli@gentoo.org>
+ consolekit-0.3.0-r2.ebuild:
+ stable x86, bug 278181
+
+ 14 Sep 2009; Tom Gall <tgall@gentoo.org> consolekit-0.3.0-r2:
+ stable on ppc64, bug #278181
+
+*consolekit-0.3.0-r2 (12 Sep 2009)
+
+ 12 Sep 2009; Nirbheek Chauhan <nirbheek@gentoo.org>
+ files/consolekit-0.1.rc, -consolekit-0.3.0-r1.ebuild,
+ +consolekit-0.3.0-r2.ebuild:
+ Use the (correct) pid file to control ConsoleKit start/stop. Also, do a
+ blank -r2 bump so users get the new init script.
+
+ 12 Jun 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ consolekit-0.3.0-r1.ebuild:
+ Make consolekit init script executable by default, closes: #260842.
+
+ 09 Jun 2009; Samuli Suominen <ssuominen@gentoo.org>
+ consolekit-0.3.0-r1.ebuild,
+ +files/consolekit-0.3.0-skip_xmlto_validation.patch:
+ Skip xmlto validation because 0.0.22 adds --noent to xmllint options and
+ documentation doesn't validate anymore wrt #271678, thanks to Darren Dale
+ for reporting.
+
+*consolekit-0.3.0-r1 (27 Apr 2009)
+
+ 27 Apr 2009; Daniel Gryniewicz <dang@gentoo.org>
+ +files/consolekit-0.3.0-allow-setidle.patch, +consolekit-0.3.0-r1.ebuild:
+ Bump to consolekit-0.3.0-r1
+
+ - Add SetIdleHint to the dbus policy to handle the new default-deny on
+ dbus
+
+ 17 Mar 2009; Peter Alfredsen <loki_val@gentoo.org>
+ consolekit-0.2.10.ebuild, consolekit-0.2.10-r1.ebuild,
+ consolekit-0.3.0.ebuild:
+ Bump dev-libs/glib dependency, since GRegex (added in glib-2.14) is used
+ by consolekit. Choose 2.16 so we don't have to bump it for a while. Bug
+ 262853.
+
+ 06 Mar 2009; Jeroen Roovers <jer@gentoo.org> consolekit-0.2.10.ebuild:
+ Stable for HPPA (bug #242270).
+
+ 25 Feb 2009; Joseph Jezak <josejx@gentoo.org> consolekit-0.2.10.ebuild:
+ Marked ppc stable for bug #242270.
+
+*consolekit-0.3.0 (18 Feb 2009)
+
+ 18 Feb 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ +files/consolekit-0.3.0-shutdown.patch, metadata.xml,
+ +consolekit-0.3.0.ebuild:
+ Bump to 0.3.
+
+ 17 Feb 2009; Raúl Porcel <armin76@gentoo.org> consolekit-0.2.10.ebuild:
+ arm/ia64/s390/sh/sparc stable wrt #242270
+
+*consolekit-0.2.10-r1 (15 Feb 2009)
+
+ 15 Feb 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ +files/consolekit-0.2.10-directory-leak.patch, +files/90-consolekit,
+ +files/consolekit-0.2.10-cleanup_console_tags.patch,
+ +files/consolekit-0.2.10-pam-add-nox11.patch,
+ +files/consolekit-0.2.10-polkit-automagic.patch,
+ +files/pam-foreground-compat.ck, -consolekit-0.2.1.ebuild,
+ +consolekit-0.2.10-r1.ebuild:
+ Bump to 0.2.10-r1.
+ * Add compatibility script for at_console dependant programs, bug #257761.
+ * Remove unneeded rm, bug #259096.
+ * Add a Xsession script for people not using gdm, bug #257763.
+ * Plug a leak, bug #258685.
+ * Add keepdirs and fix localstatedir, bug #257164.
+
+ 15 Feb 2009; Markus Meier <maekke@gentoo.org> consolekit-0.2.10.ebuild:
+ x86 stable, bug #242270
+
+ 12 Feb 2009; Brent Baude <ranger@gentoo.org> consolekit-0.2.10.ebuild:
+ stable ppc64, bug 242270
+
+ 12 Feb 2009; Jeremy Olexa <darkside@gentoo.org> consolekit-0.2.10.ebuild:
+ amd64 stable, bug 242270
+
+ 09 Feb 2009; Tobias Klausmann <klausman@gentoo.org>
+ consolekit-0.2.10.ebuild:
+ Stable on alpha, bug #242270
+
+ 13 Jan 2009; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
+ gentopia is becoming freedesktop
+
+ 09 Dec 2008; Alexis Ballier <aballier@gentoo.org>
+ consolekit-0.2.10.ebuild:
+ drop bsd patch that doesnt apply anymore, bug #231910
+
+*consolekit-0.2.10 (21 Jun 2008)
+
+ 21 Jun 2008; Ben de Groot <yngwin@gentoo.org> +consolekit-0.2.10.ebuild:
+ Version bump. Fixes compilation with glibc-2.8, bug 225405.
+
+ 06 Dec 2007; Steve Dibb <beandog@gentoo.org> consolekit-0.2.3.ebuild:
+ amd64 stable, bug 201103
+
+ 06 Dec 2007; Raúl Porcel <armin76@gentoo.org> consolekit-0.2.3.ebuild:
+ alpha/ia64/sparc stable wrt #201103
+
+ 05 Dec 2007; Jeroen Roovers <jer@gentoo.org> consolekit-0.2.3.ebuild:
+ Stable for HPPA (bug #201103).
+
+ 04 Dec 2007; Markus Rothe <corsair@gentoo.org> consolekit-0.2.3.ebuild:
+ Stable on ppc64; bug #201103
+
+ 04 Dec 2007; nixnut <nixnut@gentoo.org> consolekit-0.2.3.ebuild:
+ Stable on ppc wrt bug 201103
+
+ 04 Dec 2007; Christian Faulhammer <opfer@gentoo.org>
+ consolekit-0.2.3.ebuild:
+ stable x86, bug 201103
+
+ 19 Nov 2007; Joshua Kinard <kumba@gentoo.org> consolekit-0.2.1.ebuild:
+ Stable on mips.
+
+ 31 Oct 2007; Roy Marples <uberlord@gentoo.org>
+ +files/consolekit-0.2.3-freebsd.patch, consolekit-0.2.3.ebuild:
+ Add a workaround for a FreeBSD kernel bug so consolekit stops when in use.
+
+ 18 Oct 2007; Roy Marples <uberlord@gentoo.org> consolekit-0.2.3.ebuild:
+ Keyworded ~x86-fbsd
+
+ 15 Oct 2007; Doug Goldstein <cardoe@gentoo.org> consolekit-0.2.1.ebuild,
+ consolekit-0.2.3.ebuild:
+ if we're using glibc, we can't use version 2.4 because of missing defines
+ bug #195537
+
+ 22 Sep 2007; Tom Gall <tgall@gentoo.org> consolekit-0.2.1.ebuild:
+ stable on ppc64
+
+*consolekit-0.2.3 (19 Sep 2007)
+
+ 19 Sep 2007; Doug Goldstein <cardoe@gentoo.org> +consolekit-0.2.3.ebuild:
+ add latest ConsoleKit from Gentopia
+
+ 06 Sep 2007; Doug Goldstein <cardoe@gentoo.org>
+ -files/consolekit-0.2.0-gdk-to-x11.patch,
+ -files/consolekit-0.2.0-pam-lib-fix.patch, -consolekit-0.2.0-r1.ebuild,
+ consolekit-0.2.1.ebuild:
+ remove old version. got Jon to make a website for it.
+
+ 28 Aug 2007; Jeroen Roovers <jer@gentoo.org> consolekit-0.2.1.ebuild:
+ Stable for HPPA (bug #185823).
+
+ 11 Aug 2007; Andrej Kacian <ticho@gentoo.org> consolekit-0.2.1.ebuild:
+ Stable on x86, bug #185823.
+
+ 10 Aug 2007; Christoph Mende <angelos@gentoo.org> consolekit-0.2.1.ebuild:
+ Stable on amd64 wrt bug #185823
+
+ 08 Aug 2007; Raúl Porcel <armin76@gentoo.org> consolekit-0.2.1.ebuild:
+ alpha/ia64 stable wrt #185823
+
+ 07 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ consolekit-0.2.1.ebuild:
+ Stable on ppc wrt bug #185823.
+
+ 07 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+ consolekit-0.2.1.ebuild:
+ Stable on sparc wrt #185823
+
+ 06 Aug 2007; Joshua Kinard <kumba@gentoo.org> consolekit-0.2.1.ebuild:
+ Marked unstable on mips.
+
+ 19 May 2007; Raúl Porcel <armin76@gentoo.org> consolekit-0.2.1.ebuild:
+ Add ~alpha wrt #176517
+
+ 11 Apr 2007; Doug Goldstein <cardoe@gentoo.org> consolekit-0.2.1.ebuild:
+ oops. left in some patches
+
+ 11 Apr 2007; Doug Goldstein <cardoe@gentoo.org> consolekit-0.2.1.ebuild:
+ multilib fix for pam module
+
+*consolekit-0.2.1 (11 Apr 2007)
+
+ 11 Apr 2007; Doug Goldstein <cardoe@gentoo.org> +consolekit-0.2.1.ebuild:
+ rev bump
+
+ 10 Apr 2007; Doug Goldstein <cardoe@gentoo.org> -consolekit-0.2.0.ebuild,
+ consolekit-0.2.0-r1.ebuild:
+ sys-libs/pam -> virtual/pam for FreeBSD.
+
+ 02 Apr 2007; Raúl Porcel <armin76@gentoo.org> consolekit-0.2.0-r1.ebuild:
+ Add ~ia64 wrt bug 172097
+
+ 02 Apr 2007; Jeroen Roovers <jer@gentoo.org> consolekit-0.2.0-r1.ebuild:
+ Marked ~hppa (bug #172097).
+
+*consolekit-0.2.0-r1 (29 Mar 2007)
+
+ 29 Mar 2007; Doug Goldstein <cardoe@gentoo.org>
+ +files/consolekit-0.2.0-gdk-to-x11.patch,
+ +files/consolekit-0.2.0-pam-lib-fix.patch, +consolekit-0.2.0-r1.ebuild:
+ Change GTK+ depend to X11. Fix /lib/ issues.
+
+ 26 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+ consolekit-0.2.0.ebuild:
+ Keyworded ~sparc wrt #172097
+
+ 25 Mar 2007; Markus Rothe <corsair@gentoo.org> consolekit-0.2.0.ebuild:
+ Added ~ppc64; bug #172097
+
+ 24 Mar 2007; Steev Klimaszewski <steev@gentoo.org>
+ consolekit-0.2.0.ebuild:
+ Add ~ppc (builds and works on my Efika) and add MAKEOPTS="$MAKEOPTS -j1" as it
+ doesn't appear to be parallel make safe.
+
+*consolekit-0.2.0 (24 Mar 2007)
+
+ 24 Mar 2007; Steev Klimaszewski <steev@gentoo.org>
+ +files/consolekit-0.1.rc, +metadata.xml, +consolekit-0.2.0.ebuild:
+ New package, needed for GDM, but will hopefully soon replace pam_console
diff --git a/sys-auth/consolekit/Manifest b/sys-auth/consolekit/Manifest
new file mode 100644
index 0000000..f3d7b7a
--- /dev/null
+++ b/sys-auth/consolekit/Manifest
@@ -0,0 +1,11 @@
+AUX 90-consolekit-3 1027 SHA256 91e0900995f7db536220065959d236fb75ec2c77096981a142e2e948518d9761 SHA512 2a1273d775aeb69a3e0873d6a82868d909cdbc3d5003b7625ab12e76ef44f115b464514e7890f7e562c44a92383475e698c3679f6c9f1bf42b5199d03d8c604a WHIRLPOOL 85fd88509ab68a8cdc069e078f4f944c87688fc26b9414ca5556057c90c9ef96382e88f4df3ad1415547cb1abd1f2b4b50518984a314fe1430d4de5d3d63dbd2
+AUX consolekit-0.2.rc 627 SHA256 da849bae527a7a5c257301a99ac3fb5ec2ded48103ec114552ca7d2a24b12e49 SHA512 06e7469b379036255833cc9f411cc096013b236042abeae8acaf3c26f4b39f7537779014ab9751ec089bef34420b463553581e022ebf7c291015b509d1d4475c WHIRLPOOL 54d3a4b7eabf9fb35411739936b42d7f681bcaf5fa65f5540750d66f5ee6f07f7e2f0cdfa533d1574a9d5d4aea47dc5ef9c9dcf38b4d535d9c33d2269aea7309
+AUX consolekit-0.4.5-polkit-automagic.patch 870 SHA256 7cd8e4ecc868b0d2566cc0d0b7b3d13a006fe55ff425314d15ecff83e550d184 SHA512 50c2bafe2bf995bd5ef863557a1783211e172d77d819c8001c9007b4833b4e6b3ccfa7c04bf6811086dff6371be488411fdd23a49cecec3f545c388a0bbd61ab WHIRLPOOL 5611fdb8f17afd662ce0f745334dcbbb606fb8247ae18f914ae233cb7c024f418b94b4e353d6513c67c4346475af98d02d5551b4cb88e511df21eb765cbd1cb7
+AUX consolekit-cleanup_console_tags.patch 1596 SHA256 178d25a93bc04b070840650b6f847b018796186d2a54a3be7b0a6df75e8f501c SHA512 8639c45baefc5fa4751654345225029b455e9a5ee5be5835c69ff0d6bf3532fc1ccf606fdb0cd29849071a26ab3defff8f7e31d19e83117dfe467b6209a37a77 WHIRLPOOL 2bf35176a05687402b333d74497dd3d2340ede2d55fe068926d3267d921adeef7f5333435f34d9eec1813c1fc0f8fcdc0b0ee979439f6f27ef86aeae620e96fb
+AUX consolekit-shutdown-reboot-without-policies.patch 924 SHA256 cd9a2aa582644ad50fb98e4580b9cf889c71a40f637eb0beb0eaab96d3ad9a47 SHA512 7bca0a448329cabbaa42028e212edc4ae242dcef9947cc2d49e66280cfae1193aedcac9921be90b9dd24265c17c3c53876bbea1ca223906a20252d94c4d65a9c WHIRLPOOL 56aa6327a226255ae01cc2c0298b658daf1f21dc8d54269b105aa6b490f815df0aac02604a82c01c2c4fd3d3f7899482df1596dffa10b6aa7b13b136fa3fcb3c
+AUX consolekit-udev-acl-install_to_usr.patch 750 SHA256 823316f6898eaab0744e42fa11b1631f64187aebca35baa5aeab09279820bedd SHA512 d2d6fcedea5e72f5a1b387f411ac62a59fd3c9e90a318bd85c35d210b89b18f01511f6b05352c1a4a9508622f0b9242c1b9c15d5ae4f8adf2819b6c3a0ff5ac9 WHIRLPOOL a9b8f48c5dddabfa28c2a65ac99c10dd7cba41d8bdcdc1fac4a0932391a81d9ed87f34115d7a43611d2cd126d10a5378edb8e734c888d529eca4b0d20dd15ac1
+AUX pam-foreground-compat.ck 389 SHA256 0b5b22641e2b138f4e9dfff9790df9fedaf2f760cc3d878ee1e94c2fd52edea9 SHA512 3cabd23ff7dc5de0a86284c3a3d3ff923228969cc954a1036290d4f7f6d58646ea6ea1445f472476b6f319df4dcd22f71e5e0f5cc8c845cd7e0b148af689ce5a WHIRLPOOL a8e36292dc094e107492e65efd147b35e217c652c8bcc52c768942b15660ff7d251e55ee038ce326905f5dc8f17857b62725768d60c3d5c93927550c8ff47db2
+DIST ConsoleKit-0.4.6.tar.xz 366572 SHA256 b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c SHA512 54955e3e83778a9216846104da8762fd50a37190e209127dd5d211e2227da617e14f6f5c1359905396d299656e526d14e1187b28eaff7d0ae1d7563dc8d9b46d WHIRLPOOL ebf36b109b4c646d0b874f6b8e2ae9e2d190022ee9b6feff6cbb6b9203c80401c538cc3ca674fa7bde4f07e658d5460864e9784c1e0249d49b4784725a4e05c7
+EBUILD consolekit-0.4.6-r1.ebuild 3159 SHA256 bcb889f54191274defa092c9cef6605b2556b97346ea394b5fa9030fb067ec66 SHA512 0b831d80904a182c1b56605d59e3cc8dc02989dbaeb8cba829c82f0325dfead582318799044042606c65a17e5664ab5b6998096fc3d428362f2770b3a6149b58 WHIRLPOOL a339dac4f40a10b6b171aa7738de9bdefa02f3f21fc1566c43dfa52172794fe2f4ddf2afd0f106dd940361c66a2c3af035ecd30ab224a8b4eb9d089f80703ac5
+MISC ChangeLog 25632 SHA256 18c28087373b8af4ff74a4f34054af75df37e196359d7579deff616c445fb5b9 SHA512 963e88c24fb3dbbcd7230e54f69d99a4edfdf8c1d4703d8d1cffee14f48246b724ddad2521011d6067b4306a53f99fbc53c25b6d9fdea5166e43033a45640456 WHIRLPOOL 2b5608fda6352386e42ae36f5fa8352249e95c974e82841d771e58bf9e9b6bedd2fdcda34b00a01a4d477408a0afcc21617417c8236dc43cec189a9e23b2ed7f
+MISC metadata.xml 453 SHA256 f182dc5500ee9068f6ad0bfb82dbc1fdee940e554e48f7bbfc749664397d37eb SHA512 9e28b7ee7e9156d5b3f36890b48cadd692428acf271320d96c5c62af34f1792e4fba8c8334cac6d33524cfc5dad9a293862ff3711251de4359ddaedb7cfe8b87 WHIRLPOOL dd6e9d7fb59367161ccb27ee2f97adafddadf03f67dd4581ff29cd51deb0e9f4483af062e1c58677a5752f9b56bbc98ae773fdacde18764568b8d4d3033d00ee
diff --git a/sys-auth/consolekit/consolekit-0.4.6-r1.ebuild b/sys-auth/consolekit/consolekit-0.4.6-r1.ebuild
new file mode 100644
index 0000000..f999d29
--- /dev/null
+++ b/sys-auth/consolekit/consolekit-0.4.6-r1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit autotools eutils linux-info 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.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
+IUSE="acl debug doc kernel_linux pam policykit selinux systemd-units test"
+
+COMMON_DEPEND=">=dev-libs/dbus-glib-0.100:=
+ >=dev-libs/glib-2.22:2=
+ sys-libs/zlib:=
+ x11-libs/libX11:=
+ acl? (
+ sys-apps/acl:=
+ >=virtual/udev-200
+ )
+ pam? ( virtual/pam )
+ policykit? ( >=sys-auth/polkit-0.110 )"
+RDEPEND="${COMMON_DEPEND}
+ kernel_linux? ( sys-apps/coreutils[acl?] )
+ selinux? ( sec-policy/selinux-consolekit )"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxslt
+ virtual/pkgconfig
+ doc? ( app-text/xmlto )
+ test? (
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/xmlto
+ )"
+
+S=${WORKDIR}/${MY_P}
+
+QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*"
+
+pkg_setup() {
+ if use kernel_linux; then
+ # This is from http://bugs.gentoo.org/376939
+ use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL"
+ # This is required to get login-session-id string with pam_ck_connector.so
+ use pam && CONFIG_CHECK+=" ~AUDITSYSCALL"
+ linux-info_pkg_setup
+ fi
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-cleanup_console_tags.patch \
+ "${FILESDIR}"/${PN}-shutdown-reboot-without-policies.patch \
+ "${FILESDIR}"/${PN}-udev-acl-install_to_usr.patch \
+ "${FILESDIR}"/${PN}-0.4.5-polkit-automagic.patch
+
+ if ! use systemd-units; then
+ sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+ if use systemd-units; then
+ myconf="$(systemd_with_unitdir)"
+ else
+ myconf="--with-systemdsystemunitdir=/tmp"
+ fi
+
+ econf \
+ XMLTO_FLAGS='--skip-validation' \
+ --libexecdir="${EPREFIX}"/usr/lib/${MY_PN} \
+ --localstatedir="${EPREFIX}"/var \
+ $(use_enable pam pam-module) \
+ $(use_enable doc docbook-docs) \
+ $(use_enable test docbook-docs) \
+ $(use_enable debug) \
+ $(use_enable policykit polkit) \
+ $(use_enable acl udev-acl) \
+ --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \
+ --with-pam-module-dir="$(getpam_mod_dir)" \
+ ${myconf}
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \
+ install
+
+ dosym /usr/lib/${MY_PN} /usr/lib/${PN}
+
+ dodoc AUTHORS HACKING NEWS README TODO
+
+ newinitd "${FILESDIR}"/${PN}-0.2.rc consolekit
+
+ keepdir /usr/lib/ConsoleKit/run-seat.d
+ keepdir /usr/lib/ConsoleKit/run-session.d
+ keepdir /etc/ConsoleKit/run-session.d
+ keepdir /var/log/ConsoleKit
+
+ exeinto /etc/X11/xinit/xinitrc.d
+ newexe "${FILESDIR}"/90-consolekit-3 90-consolekit
+
+ exeinto /usr/lib/ConsoleKit/run-session.d
+ doexe "${FILESDIR}"/pam-foreground-compat.ck
+
+ prune_libtool_files --all # --all for pam_ck_connector.la
+
+ use systemd-units || rm -rf "${ED}"/tmp
+}
diff --git a/sys-auth/consolekit/files/90-consolekit-3 b/sys-auth/consolekit/files/90-consolekit-3
new file mode 100644
index 0000000..358fc24
--- /dev/null
+++ b/sys-auth/consolekit/files/90-consolekit-3
@@ -0,0 +1,32 @@
+# -*- 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.2.rc b/sys-auth/consolekit/files/consolekit-0.2.rc
new file mode 100644
index 0000000..b202267
--- /dev/null
+++ b/sys-auth/consolekit/files/consolekit-0.2.rc
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2011 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.2.rc,v 1.1 2011/10/20 19:14:47 axs Exp $
+
+depend() {
+ need dbus
+ use logger
+}
+
+start() {
+ ebegin "Starting ConsoleKit daemon"
+
+ checkpath -q -d -m 0755 /var/run/ConsoleKit
+
+ 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.4.5-polkit-automagic.patch b/sys-auth/consolekit/files/consolekit-0.4.5-polkit-automagic.patch
new file mode 100644
index 0000000..b896089
--- /dev/null
+++ b/sys-auth/consolekit/files/consolekit-0.4.5-polkit-automagic.patch
@@ -0,0 +1,30 @@
+http://bugs.freedesktop.org/show_bug.cgi?id=47587
+
+--- configure.ac
++++ configure.ac
+@@ -56,10 +56,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-cleanup_console_tags.patch b/sys-auth/consolekit/files/consolekit-cleanup_console_tags.patch
new file mode 100644
index 0000000..c02411e
--- /dev/null
+++ b/sys-auth/consolekit/files/consolekit-cleanup_console_tags.patch
@@ -0,0 +1,67 @@
+http://bugs.gentoo.org/257761
+http://patches.ubuntu.com/by-release/extracted/ubuntu/c/consolekit/
+
+--- src/main.c
++++ src/main.c
+@@ -148,6 +148,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];
+
+@@ -228,7 +265,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,
+@@ -317,6 +354,8 @@
+ goto out;
+ }
+
++ delete_console_tags ();
++
+ create_pid_file ();
+
+ loop = g_main_loop_new (NULL, FALSE);
diff --git a/sys-auth/consolekit/files/consolekit-shutdown-reboot-without-policies.patch b/sys-auth/consolekit/files/consolekit-shutdown-reboot-without-policies.patch
new file mode 100644
index 0000000..6a46649
--- /dev/null
+++ b/sys-auth/consolekit/files/consolekit-shutdown-reboot-without-policies.patch
@@ -0,0 +1,26 @@
+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
++++ src/ck-manager.c
+@@ -1131,6 +1131,7 @@
+ check_rbac_permissions (manager, context, RBAC_SHUTDOWN_KEY, do_restart);
+ #else
+ g_warning ("Compiled without PolicyKit or RBAC support!");
++ do_restart(manager, context);
+ #endif
+
+ return TRUE;
+@@ -1207,6 +1208,7 @@
+ check_rbac_permissions (manager, context, RBAC_SHUTDOWN_KEY, do_stop);
+ #else
+ g_warning ("Compiled without PolicyKit or RBAC support!");
++ do_stop(manager, context);
+ #endif
+
+ return TRUE;
diff --git a/sys-auth/consolekit/files/consolekit-udev-acl-install_to_usr.patch b/sys-auth/consolekit/files/consolekit-udev-acl-install_to_usr.patch
new file mode 100644
index 0000000..3ef3987
--- /dev/null
+++ b/sys-auth/consolekit/files/consolekit-udev-acl-install_to_usr.patch
@@ -0,0 +1,28 @@
+http://bugs.gentoo.org/398049
+
+--- tools/Makefile.am
++++ tools/Makefile.am
+@@ -144,11 +144,10 @@
+ $(NULL)
+
+ if ENABLE_UDEV_ACL
+-udevdir = $(UDEVDIR)
+ udevrulesdir = $(UDEVDIR)/rules.d
+
+ dist_udevrules_DATA = 70-udev-acl.rules
+-udev_PROGRAMS = udev-acl
++libexec_PROGRAMS = udev-acl
+
+ udev_acl_SOURCES = udev-acl.c
+ udev_acl_LDADD = $(UDEV_ACL_LIBS)
+@@ -156,7 +155,9 @@
+
+ install-exec-hook:
+ mkdir -p $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d
+- ln -sf $(UDEVDIR)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d/udev-acl.ck
++ mkdir -p $(DESTDIR)$(UDEVDIR)
++ ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d/udev-acl.ck
++ ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(UDEVDIR)/udev-acl
+ endif
+
+ EXTRA_DIST = \
diff --git a/sys-auth/consolekit/files/pam-foreground-compat.ck b/sys-auth/consolekit/files/pam-foreground-compat.ck
new file mode 100644
index 0000000..0697ca8
--- /dev/null
+++ b/sys-auth/consolekit/files/pam-foreground-compat.ck
@@ -0,0 +1,17 @@
+#!/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
new file mode 100644
index 0000000..328872e
--- /dev/null
+++ b/sys-auth/consolekit/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ <flag name='systemd-units'>
+ Install systemd unit files despite <pkg>sys-apps/systemd</pkg>
+ and systemd-logind. Not recommended.
+ </flag>
+</use>
+</pkgmetadata>