1 |
ssuominen 11/07/05 19:45:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: consolekit-0.4.5-r1.ebuild |
5 |
Log: |
6 |
keepdir missing run-seat.d directory wrt #372537 by Duncan |
7 |
|
8 |
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.105 sys-auth/consolekit/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/ChangeLog?rev=1.105&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/ChangeLog?rev=1.105&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/ChangeLog?r1=1.104&r2=1.105 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v |
20 |
retrieving revision 1.104 |
21 |
retrieving revision 1.105 |
22 |
diff -u -r1.104 -r1.105 |
23 |
--- ChangeLog 15 May 2011 07:14:20 -0000 1.104 |
24 |
+++ ChangeLog 5 Jul 2011 19:45:23 -0000 1.105 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-auth/consolekit |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.104 2011/05/15 07:14:20 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.105 2011/07/05 19:45:23 ssuominen Exp $ |
30 |
+ |
31 |
+*consolekit-0.4.5-r1 (05 Jul 2011) |
32 |
+ |
33 |
+ 05 Jul 2011; Samuli Suominen <ssuominen@g.o> |
34 |
+ +consolekit-0.4.5-r1.ebuild: |
35 |
+ keepdir missing run-seat.d directory wrt #372537 by Duncan |
36 |
|
37 |
*consolekit-0.4.5 (15 May 2011) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-auth/consolekit/consolekit-0.4.5-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/consolekit-0.4.5-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/consolekit-0.4.5-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: consolekit-0.4.5-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 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.5-r1.ebuild,v 1.1 2011/07/05 19:45:23 ssuominen Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
inherit autotools eutils linux-info multilib pam systemd |
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 kernel_linux pam policykit test" |
67 |
|
68 |
RDEPEND=">=dev-libs/dbus-glib-0.88 |
69 |
>=dev-libs/glib-2.20:2 |
70 |
sys-libs/zlib |
71 |
x11-libs/libX11 |
72 |
pam? ( virtual/pam ) |
73 |
policykit? ( >=sys-auth/polkit-0.101-r1 )" |
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 |
pkg_setup() { |
83 |
# This is required to get login-session-id string with pam_ck_connector.so |
84 |
if use pam && 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 |
"$(systemd_with_unitdir)" |
111 |
} |
112 |
|
113 |
src_install() { |
114 |
emake \ |
115 |
DESTDIR="${D}" \ |
116 |
htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
117 |
install |
118 |
|
119 |
dodoc AUTHORS ChangeLog HACKING NEWS README TODO |
120 |
|
121 |
newinitd "${FILESDIR}"/${PN}-0.1.rc consolekit |
122 |
|
123 |
keepdir /usr/$(get_libdir)/ConsoleKit/run-seat.d |
124 |
keepdir /usr/$(get_libdir)/ConsoleKit/run-session.d |
125 |
keepdir /etc/ConsoleKit/run-session.d |
126 |
keepdir /var/run/ConsoleKit |
127 |
keepdir /var/log/ConsoleKit |
128 |
|
129 |
exeinto /etc/X11/xinit/xinitrc.d |
130 |
newexe "${FILESDIR}"/90-consolekit-3 90-consolekit |
131 |
|
132 |
exeinto /usr/$(get_libdir)/ConsoleKit/run-session.d |
133 |
doexe "${FILESDIR}"/pam-foreground-compat.ck |
134 |
|
135 |
find "${ED}" -name '*.la' -exec rm -f {} + |
136 |
} |
137 |
|
138 |
pkg_postinst() { |
139 |
ewarn "You need to restart ConsoleKit to get the new features." |
140 |
ewarn "This can be done with /etc/init.d/consolekit restart" |
141 |
ewarn "but make sure you do this and then restart your session" |
142 |
ewarn "otherwise you will get access denied for certain actions" |
143 |
} |