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