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