sys-auth/consolekit: remove pacakge

We use systemd, not consolekit. This is only included if the systemd use
flag is unset or the consolekit use flag is set.
This commit is contained in:
Andrew Jeddeloh 2017-11-02 15:49:48 -07:00
parent 9017f09c56
commit a26714a1e2
14 changed files with 0 additions and 985 deletions

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=configure install postinst prepare setup
DEPEND=>=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 ) dev-util/pkgconfig dev-libs/libxslt doc? ( app-text/xmlto ) test? ( app-text/docbook-xml-dtd:4.1.2 ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Framework for defining and tracking users, login sessions and seats.
EAPI=3
HOMEPAGE=http://www.freedesktop.org/wiki/Software/ConsoleKit
IUSE=debug doc kernel_linux pam policykit test
KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux
LICENSE=GPL-2
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 )
SLOT=0
SRC_URI=http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-0.4.4.tar.bz2
_eclasses_=autotools dc412f38566b91012efd58b9c203e6c3 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 libtool 0081a71a261724730ec4c248494f044d linux-info ca370deef9d44125d829f2eb6ebc83e0 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e pam 3e788d86170dfcd5b06824d898315e18 toolchain-funcs 185a06792159ca143528e7010368e8af versionator c80ccf29e90adea7c5cae94b42eb76d0
_md5_=2788f63c5effa67871f8d4606f66d259

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=configure install postinst prepare setup
DEPEND=>=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 ) dev-util/pkgconfig dev-libs/libxslt doc? ( app-text/xmlto ) test? ( app-text/docbook-xml-dtd:4.1.2 ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
DESCRIPTION=Framework for defining and tracking users, login sessions and seats.
EAPI=4
HOMEPAGE=http://www.freedesktop.org/wiki/Software/ConsoleKit
IUSE=debug doc kernel_linux pam policykit test
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux
LICENSE=GPL-2
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 )
SLOT=0
SRC_URI=http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-0.4.5.tar.bz2
_eclasses_=autotools dc412f38566b91012efd58b9c203e6c3 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 libtool 0081a71a261724730ec4c248494f044d linux-info ca370deef9d44125d829f2eb6ebc83e0 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e pam 3e788d86170dfcd5b06824d898315e18 systemd 34815d3b76e745c5ca33eec9f95074c2 toolchain-funcs 185a06792159ca143528e7010368e8af versionator c80ccf29e90adea7c5cae94b42eb76d0
_md5_=7a4f082e3a9db77fea6abd6c709b1020

View File

@ -1,434 +0,0 @@
# ChangeLog for sys-auth/consolekit
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.104 2011/05/15 07:14:20 ssuominen Exp $
*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 Michal 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

View File

@ -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

View File

@ -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="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
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"
}

View File

@ -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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
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"
}

View File

@ -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

View File

@ -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 $?
}

View File

@ -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 ();

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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>