Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/consolekit: ChangeLog consolekit-0.4.2.ebuild
Date: Tue, 07 Sep 2010 14:22:42
Message-Id: 20100907142236.CFA4020051@flycatcher.gentoo.org
1 ssuominen 10/09/07 14:22:36
2
3 Modified: ChangeLog
4 Added: consolekit-0.4.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2_rc75/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.75 sys-auth/consolekit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/ChangeLog?rev=1.75&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/ChangeLog?rev=1.75&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/ChangeLog?r1=1.74&r2=1.75
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v
20 retrieving revision 1.74
21 retrieving revision 1.75
22 diff -u -r1.74 -r1.75
23 --- ChangeLog 21 Aug 2010 09:35:16 -0000 1.74
24 +++ ChangeLog 7 Sep 2010 14:22:36 -0000 1.75
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-auth/consolekit
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.74 2010/08/21 09:35:16 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.75 2010/09/07 14:22:36 ssuominen Exp $
30 +
31 +*consolekit-0.4.2 (07 Sep 2010)
32 +
33 + 07 Sep 2010; Samuli Suominen <ssuominen@g.o>
34 + +consolekit-0.4.2.ebuild:
35 + Version bump.
36
37 *consolekit-0.4.1-r1 (21 Aug 2010)
38
39
40
41
42 1.1 sys-auth/consolekit/consolekit-0.4.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/consolekit-0.4.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/consolekit-0.4.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: consolekit-0.4.2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/consolekit-0.4.2.ebuild,v 1.1 2010/09/07 14:22:36 ssuominen Exp $
52
53 EAPI=3
54 inherit autotools eutils multilib pam
55
56 MY_PN=ConsoleKit
57 MY_P=${MY_PN}-${PV}
58
59 DESCRIPTION="Framework for defining and tracking users, login sessions and seats."
60 HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
61 SRC_URI="http://www.freedesktop.org/software/${MY_PN}/dist/${MY_P}.tar.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
66 IUSE="debug doc pam policykit test"
67
68 RDEPEND=">=dev-libs/dbus-glib-0.80
69 >=dev-libs/glib-2.20
70 sys-libs/zlib
71 x11-libs/libX11
72 pam? ( virtual/pam )
73 policykit? ( >=sys-auth/polkit-0.96 )"
74 DEPEND="${RDEPEND}
75 dev-util/pkgconfig
76 dev-libs/libxslt
77 doc? ( app-text/xmlto )
78 test? ( app-text/docbook-xml-dtd:4.1.2 )"
79
80 S=${WORKDIR}/${MY_P}
81
82 src_prepare() {
83 epatch \
84 "${FILESDIR}"/${PN}-0.2.10-cleanup_console_tags.patch \
85 "${FILESDIR}"/${PN}-0.4.0-polkit-automagic.patch \
86 "${FILESDIR}"/${PN}-0.4.0-multilib.patch \
87 "${FILESDIR}"/${PN}-0.4.1-shutdown-reboot-without-policies.patch
88
89 eautoreconf
90 }
91
92 src_configure() {
93 econf \
94 XMLTO_FLAGS="--skip-validation" \
95 --localstatedir="${EPREFIX}"/var \
96 $(use_enable pam pam-module) \
97 $(use_enable doc docbook-docs) \
98 $(use_enable debug) \
99 $(use_enable policykit polkit) \
100 --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \
101 --with-pam-module-dir=$(getpam_mod_dir)
102 }
103
104 src_install() {
105 emake DESTDIR="${D}" install || die
106 dodoc AUTHORS ChangeLog HACKING NEWS README TODO
107
108 newinitd "${FILESDIR}"/${PN}-0.1.rc consolekit
109
110 keepdir /usr/$(get_libdir)/ConsoleKit/run-session.d
111 keepdir /etc/ConsoleKit/run-session.d
112 keepdir /var/run/ConsoleKit
113 keepdir /var/log/ConsoleKit
114
115 exeinto /etc/X11/xinit/xinitrc.d
116 doexe "${FILESDIR}"/90-consolekit || die
117
118 exeinto /usr/$(get_libdir)/ConsoleKit/run-session.d
119 doexe "${FILESDIR}"/pam-foreground-compat.ck || die
120
121 find "${ED}" -name '*.la' -exec rm -f '{}' +
122 }
123
124 pkg_postinst() {
125 ewarn
126 ewarn "You need to restart ConsoleKit to get the new features."
127 ewarn "This can be done with /etc/init.d/consolekit restart"
128 ewarn "but make sure you do this and then restart your session"
129 ewarn "otherwise you will get access denied for certain actions"
130 }