1 |
ssuominen 10/08/21 09:35:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: consolekit-0.4.1-r1.ebuild |
5 |
Log: |
6 |
Don't take bus name until ready wrt #333349. Don't daemonize when activated. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.74 sys-auth/consolekit/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/ChangeLog?rev=1.74&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/ChangeLog?rev=1.74&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/ChangeLog?r1=1.73&r2=1.74 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v |
19 |
retrieving revision 1.73 |
20 |
retrieving revision 1.74 |
21 |
diff -u -r1.73 -r1.74 |
22 |
--- ChangeLog 18 Aug 2010 21:50:37 -0000 1.73 |
23 |
+++ ChangeLog 21 Aug 2010 09:35:16 -0000 1.74 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for sys-auth/consolekit |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.73 2010/08/18 21:50:37 maekke Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.74 2010/08/21 09:35:16 ssuominen Exp $ |
29 |
+ |
30 |
+*consolekit-0.4.1-r1 (21 Aug 2010) |
31 |
+ |
32 |
+ 21 Aug 2010; Samuli Suominen <ssuominen@g.o> |
33 |
+ +consolekit-0.4.1-r1.ebuild, +files/consolekit-0.4.1-nodaemon.patch, |
34 |
+ +files/consolekit-0.4.1-reorder-initialization.patch: |
35 |
+ Don't take bus name until ready wrt #333349. Don't daemonize when |
36 |
+ activated. |
37 |
|
38 |
18 Aug 2010; Markus Meier <maekke@g.o> consolekit-0.4.1.ebuild: |
39 |
arm stable, bug #314899 |
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-auth/consolekit/consolekit-0.4.1-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/consolekit-0.4.1-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/consolekit/consolekit-0.4.1-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: consolekit-0.4.1-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/consolekit-0.4.1-r1.ebuild,v 1.1 2010/08/21 09:35:16 ssuominen Exp $ |
53 |
|
54 |
EAPI="3" |
55 |
|
56 |
inherit autotools eutils multilib pam |
57 |
|
58 |
MY_PN="ConsoleKit" |
59 |
MY_PV="${PV//_pre*/}" |
60 |
MY_P="${MY_PN}-${MY_PV}" |
61 |
|
62 |
# FIXME: Report on upstream for patch about policies ? (probably upstream devs wanted this behaviour as default...) |
63 |
DESCRIPTION="Framework for defining and tracking users, login sessions and seats." |
64 |
HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit" |
65 |
SRC_URI="http://www.freedesktop.org/software/${MY_PN}/dist/${MY_P}.tar.bz2" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux" |
70 |
IUSE="debug doc pam policykit" |
71 |
|
72 |
RDEPEND=">=dev-libs/glib-2.16 |
73 |
>=dev-libs/dbus-glib-0.76 |
74 |
>=x11-libs/libX11-1.0.0 |
75 |
pam? ( virtual/pam ) |
76 |
policykit? ( >=sys-auth/polkit-0.92 ) |
77 |
elibc_glibc? ( !=sys-libs/glibc-2.4* ) |
78 |
sys-libs/zlib" |
79 |
DEPEND="${RDEPEND} |
80 |
dev-util/pkgconfig |
81 |
dev-libs/libxslt |
82 |
doc? ( app-text/xmlto )" |
83 |
|
84 |
S=${WORKDIR}/${MY_PN}-${MY_PV} |
85 |
|
86 |
src_prepare() { |
87 |
# Clean up at_console compat files, bug #257761 |
88 |
epatch "${FILESDIR}"/${PN}-0.2.10-cleanup_console_tags.patch |
89 |
|
90 |
# Fix automagic dependency on policykit |
91 |
epatch "${FILESDIR}"/${PN}-0.4.0-polkit-automagic.patch |
92 |
|
93 |
# Fix multilib support |
94 |
epatch "${FILESDIR}"/${PN}-0.4.0-multilib.patch |
95 |
|
96 |
# Be able to shutdown or reboot even without polkit or RBAC supports |
97 |
epatch "${FILESDIR}"/${P}-shutdown-reboot-without-policies.patch |
98 |
|
99 |
epatch "${FILESDIR}"/${P}-reorder-initialization.patch #333349 |
100 |
epatch "${FILESDIR}"/${P}-nodaemon.patch |
101 |
|
102 |
eautoreconf |
103 |
} |
104 |
|
105 |
src_configure() { |
106 |
econf \ |
107 |
XMLTO_FLAGS="--skip-validation" \ |
108 |
$(use_enable debug) \ |
109 |
$(use_enable doc docbook-docs) \ |
110 |
$(use_enable pam pam-module) \ |
111 |
$(use_enable policykit polkit) \ |
112 |
--with-pam-module-dir=$(getpam_mod_dir) \ |
113 |
--with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services/ \ |
114 |
--localstatedir="${EPREFIX}"/var |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
emake DESTDIR="${D}" install || die "emake install failed" |
119 |
|
120 |
# crappy Redhat init script |
121 |
rm -f "${ED}/etc/rc.d/init.d/ConsoleKit" |
122 |
|
123 |
# Portage barfs on .la files |
124 |
rm -f "${ED}/$(get_libdir)/security/pam_ck_connector.la" |
125 |
|
126 |
# Gentoo style init script |
127 |
newinitd "${FILESDIR}"/${PN}-0.1.rc consolekit |
128 |
|
129 |
# Some PM drop empty dirs, bug #257164 |
130 |
keepdir /usr/$(get_libdir)/ConsoleKit/run-session.d |
131 |
keepdir /etc/ConsoleKit/run-session.d |
132 |
keepdir /var/run/ConsoleKit |
133 |
keepdir /var/log/ConsoleKit |
134 |
|
135 |
exeinto /etc/X11/xinit/xinitrc.d/ |
136 |
doexe "${FILESDIR}/90-consolekit" || die "doexe failed" |
137 |
|
138 |
exeinto /usr/$(get_libdir)/ConsoleKit/run-session.d/ |
139 |
doexe "${FILESDIR}/pam-foreground-compat.ck" || die "doexe failed" |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
ewarn |
144 |
ewarn "You need to restart ConsoleKit to get the new features." |
145 |
ewarn "This can be done with /etc/init.d/consolekit restart" |
146 |
ewarn "but make sure you do this and then restart your session" |
147 |
ewarn "otherwise you will get access denied for certain actions" |
148 |
} |